1. Introduction: End the Data Chaos


If you've ever felt like your customer data is a bit of a mess, you're not alone.

Your reports don't match up. Your attribution is a black box. You're making five and six-figure bets on data you only half-trust. It's frustrating, and it stops you from doing your best work.

This happens because most tracking was built for a simpler time. Today, a maze of browser restrictions, privacy tools and complex user journeys breaks traditional client-side tracking, leaving you with an incomplete and inconsistent picture.

Datahappy.js is the start of the fix.

It's a lightweight JavaScript SDK, but it's part of a much bigger idea: a server-first customer data platform. Instead of doing all the heavy lifting in the browser, our SDK intelligently captures the complete, raw truth from the client-side. It then hands it over to our server-side platform to be validated, enriched and unified before being sent to all your tools.

This means you can finally trust your data.

The SDK has three main jobs:

  1. Capture what others miss: It grabs crucial ad-click IDs and marketing parameters before they're lost
  2. Unify user identity: It creates a single, secure view of each user's journey
  3. Respect user privacy: It automatically listens to consent choices without any complex setup

This guide will walk you through how to use it. Welcome to happier data.

2. Quickstart Guide


Getting started is simple. Add the following code to the <head> of your website, making sure to replace "YOUR_PROJECT_ID" with your actual Project ID.