Amplitude
Koryla sends experiment assignment events to Amplitude as Experiment Viewed events. Use Amplitude's chart builder or funnel analysis to measure conversion rates per variant.
Setup
- In Amplitude, go to Settings → Projects → your project and copy the API key.
- Enter the API key in Dashboard → Integrations → Amplitude and toggle it on.
What gets sent
{
"api_key": "your-api-key",
"events": [
{
"event_type": "Experiment Viewed",
"user_id": "[session_id]",
"event_properties": {
"experiment_id": "a1b2c3...",
"experiment_name": "Homepage CTA Test",
"variant_id": "x9y8z7...",
"variant_name": "Blue button"
},
"time": 1712793600000
}
]
}
Analyzing results in Amplitude
Funnel chart
- Go to Charts → Funnel Analysis
- Step 1:
Experiment Viewedwith filterexperiment_name = "Your Test" - Step 2: your goal event
- Group by
variant_name
Segmentation chart
Use Event Segmentation to count Experiment Viewed events broken down by variant_name over time — useful for checking that traffic split is evenly distributed.
Notes
- Events fire once per visitor per experiment.
- The
user_idis the Koryla session ID — an anonymous identifier. If your site uses Amplitude's JS SDK and callssetUserId()after the user logs in, the anonymous and identified events won't be merged automatically. For authenticated user attribution, use the custom webhook integration.