Help center
Developer guides
Script attributes, single-page apps, custom events, the server-side API and content security policies.
Articles in Developer guides
Script attributes referenceThe data-* attributes on the script tag — which are on by default, which you switch on, and what each one changes.Single-page apps and hash routingHow pageviews are recorded on React, Vue, Next.js and Nuxt sites, and the one case where you need to change the setup.Custom events: names, properties and three ways to send themHow to record actions a pageview can't capture — sign-ups, add-to-cart, video plays — including a way that needs no code.Server-side events API: orders, payments and refundsSend business events from your server with an API key — how to fill in the idempotency key, time, session and user, and how to debug failures.Content Security Policy and ad blockersWhich domains to allow when your site has a CSP, how much ad blockers skew the numbers, and what we deliberately don't do.
Still stuck?
Talk to a person
Ask in the chat on any page or write to us — we usually answer within one business day.