SDK Playground
Try the Zeotap browser SDK directly in your browser. This interactive demo lets you configure the SDK, set consent preferences, trigger events, and inspect the payloads the SDK generates — all without needing a workspace or write key.
The demo loads the real SDK from the CDN using the same <script> snippet you would add to your website. In Demo Mode, events are intercepted before they leave your browser so you can explore the full API safely.
Configuration
Consent (TCPA / GDPR / CCPA)
Send Events
SDK State
StatusNot initialized
Write Key—
API Host—
Anonymous ID—
User ID(not set)
Consent(none)
Event Log
No events captured yet. Initialize the SDK and send an event.
What’s Happening Under the Hood
- Initialize loads the SDK from the CDN and creates a real
AnalyticsClient— the same one your website would use - Demo Mode intercepts outbound
fetchcalls so events never leave the browser. Turn it off and provide a real API host to send events to your workspace. - Event Log shows the exact JSON payload the SDK would POST to
{apiHost}/v1/batch - Consent populates
context.consenton every subsequent event — inspect the payload to see it
Next Steps
- Browser SDK — Full API reference and integration guide
- Sending Events — HTTP API for server-side event collection
- Event Contracts — Enforce event schemas
- Consent Management — Configure consent-based forwarding rules
Last updated on