Skip to main content

What this is

A Web JavaScript source brings data into Zeotap CDP. The zeotap.js client-side library runs on your own website and sends what it tracks — page visits, user logins, user details and any other activity you choose to track — to the source you create here. Data flows one way, into the platform; to send data back out to a partner platform, use a destination.

Implementing the Web JS SDK?

This page covers creating the Source in the Zeotap CDP. For SDK installation, init options, tracking methods, and consent, head to the Web JavaScript SDK docs.
Web JavaScript is one of the Website Events data sources. To track visitors with a pixel or an iframe instead, see Create a Web Pixel/Web iFrame/App Pixel Source. For background on the source itself, see Web JavaScript SDK.

Prerequisites

  • Access to the Sources application under Integrate in the Zeotap CDP App.
  • Someone who can add a script to the <head> of your website. The SDK snippet goes in after the source exists.

Create the Web JavaScript source

1

Open Sources

Navigate to the Sources application under Integrate, in the Zeotap CDP App.
2

Start a new source

Click Create Source.
3

Choose the category

Under Select category, choose Website Events.
The Create Source dialog on the Data Source step, with Website Events selected under Select category alongside App Events, Flat Files, Server to Server, Tag Managers, CRM Data and Data Warehouse.
4

Choose the data source

Under Select data source, choose Web JavaScript.
The Select data source step with Web JavaScript selected, listed above the other two Website Events options, Web Pixel API and IFrame.
5

Name the source

On the Source Details step, enter a short and descriptive Source Name. This field is required.
6

Add the website URL

Add the Website URL. The Website URL is optional, but we recommend that you add it in order to track the websites being onboarded.
7

Select the region

Under Select your Region, choose where this source’s data is stored. This field is required. To check which region a country maps to, see Region of Storage.
The Source Details step with a source name and website URL filled in, and Europe (EU) ticked under Select your Region next to a United Kingdom (UK) option.
8

Create the source

Click CREATE SOURCE. The created source appears on the SOURCES listing page.

Add the SDK to your website

Open the new source from the listing page and go to its IMPLEMENTATION DETAILS tab. The tab holds the snippet code and the authorisation key for this source. The Web JavaScript SDK docs refer to that key as the write key — it is the value you pass when the library initialises. Paste the snippet into the <head> of your website, then set user identities and start tracking events. The Quick Start Guide walks through all three, and the Web JavaScript SDK docs cover configuration options, consent and the full API.

Verify the source is receiving data

Once the source has been taken live based on the implementation steps available, use the PREVIEW DATA tab to see incoming data. Once data starts flowing into the system, the status of the source changes to Integrated. For ingestion health and event counts over time, see the Source Report.

Troubleshoot the source

The snippet is live but no data reaches the source. Check the consent configuration on your site. If you initialised the SDK with useConsent: true, it queues events until a consent signal arrives — so a consent management platform that has not granted consent — or a consent call that never runs — holds the data at the browser. See Consent Strategy. Columns look duplicated, or the preview and mapping are unavailable. Two tracked fields sharing a name produce duplicate columns and can make the preview and the mapping unavailable for the source. Field names are converted to lower case when the schema is generated, so names that differ only by capitalisation count as the same name. Give every field you track a distinct name.

Next steps

Last modified on November 17, 2026