Track impressions, views, clicks, and conversions for experiments. Accepts a single event object or an array of up to 100 events.
Authentication: Use the X-Write-Key header or writeKey field in the request body.
Events are accepted without a write key, but this is strongly discouraged as it
allows anyone to inject events and corrupt experiment data.
Rate limit: 1000 requests/minute per IP. Max batch size: 100 events.
Write key for client-side experiment event tracking. Safe to expose in browser code.
Event type
impression, view, click, conversion Experiment slug
60"homepage-hero-test"
Variant that triggered the event
"variant-a"
Traffic channel
web, email, ad, in-app, social, other mobile, desktop, tablet Custom metadata (max 10KB, max depth 3)
sdk, api Alternative to X-Write-Key header