Install the tracking snippet

Add a source and install the snippet to start receiving events.

You'll create a source for your platform and install a tracking snippet on your site so events flow into your account. This is how the product starts collecting data about user behavior.

Once the snippet is live, you'll see events arrive within a minute.

1

Open Sources in the sidebar.

Open Sources in the sidebar.

 

2

Click Add source.

Click Add source.

 

3

Select the Platform; each source gets its own write key for independent rotation.

Pick the platform — each one gets its own write key so you can rotate them independently.

Each platform gets its own write key so you can rotate or revoke access independently without affecting other sources.

4

Click Create source to generate the write key and snippet.

Click Create source to generate the write key and snippet.

The snippet is now ready to embed on your site.

5

Copy the write key into the snippet before the closing </head> tag; events arrive within a minute.

Copy the write key into the snippet and paste it before the closing </head> tag — events start flowing within a minute.

 

If events don't appear within a minute, check that the write key in your snippet matches exactly — even a single character difference will block events.

 

What's next

With events flowing in, you can now explore your data in the dashboard and set up any downstream integrations or custom workflows.