Create a Web JS Source
In the Zeotap CDP, create a Source of category Website Events with data source Web JavaScript. From the IMPLEMENTATION DETAILS tab, copy the snippet and the
write_key.Full walkthrough: Create a Web JS Source.Add the snippet to your site
Paste the snippet between Replace
<head> and </head> on every page you want to track. For single-page apps, add it to the root index.html.YOUR_WRITE_KEY with the value from the Source’s IMPLEMENTATION DETAILS tab.The snippet exposes window.zeotap globally and queues calls until the SDK has loaded — you can start calling methods immediately without waiting for onload.Send your first event
Once the snippet is on the page, call any tracking method. The simplest smoke test:Open your browser DevTools network tab and look for requests to
spl.zeotap.com (or the regional equivalent). A 200 response means events are being accepted.To get console logs of every event as you test, initialize with debug: true:Next steps
Configure init options
Set consent strategy, identity hashing, cookie storage, and other behaviors.
Capture user identities
Stitch events to profiles using email, phone, login ID, or custom identifiers.
Set up consent
Wire up TCF 2.0 or your own custom consent flow.
See examples
AMP support, GA cookie capture, common patterns.