To report A/B test results on real signups and purchases, Flint needs two events from your Snowflake: when a visitor sees a page, what arm they’re on, and when that visitor converts.
Flint
Experiment Viewed event on each Flint page, with the experiment and variant id.Pickle
Both events must share the same anonymousId.
POST https://app.tryflint.com/api/ingest/sites/e0c1993e-a289-4ddc-be31-de60fca435a7/exposures
Forward every Experiment Viewed event.
| Field | Type | Source | You will get the values from |
|---|---|---|---|
visitor_id |
string | anonymousId |
|
experiment_id |
string | properties.experiment_id |
utm_extra3 |
variation_id |
string | properties.variation_id |
utm_extra4 |
timestamp |
ISO 8601 string | timestamp |
POST https://app.tryflint.com/api/ingest/sites/e0c1993e-a289-4ddc-be31-de60fca435a7/conversions
Forward each booking and purchase event.
| Field | Type | Source |
|---|---|---|
visitor_id |
string | anonymousId |
event_name |
string | Event name, e.g. signup or purchase |
conversion_id |
string | Order ID or signup id. Send numbers as strings |
timestamp |
ISO 8601 string | timestamp |
revenue |
number, optional | Purchase amount |
All fields are required except revenue. Flint ignores any other field.
200: stored. A repeated conversion_id returns duplicate and is counted once.