Switching from Simple Analytics
Coming from Simple Analytics? Keep your events.
Your sa_event() calls and data-simple-event clicks keep working, and payments get a source.
Four steps. No rebuild.
- 1
Replace the script.
Remove the Simple Analytics embed and its sa_event stub, and add the Metrivo tracker with your Metrivo site key.
- 2
Keep your event calls and clicks.
sa_event("name") calls and elements with data-simple-event become Metrivo custom events with the same name.
- 3
Pass Metrivo's two fields at checkout.
Add window.Metrivo.getAttributionMetadata() to the metadata your server sends to your billing provider. That is the one line that lets a payment be matched to its visit, with a confidence label.
- 4
Verify the first matched payment.
Open the setup screen. The script, billing connection and visitor-matched payment checks turn green as real events arrive.
What carries over, verified
Checked against Simple Analytics's documentation on 2026-10-28.
sa_event("name")— custom event calls. A metadata object, if you pass one, becomes event properties.data-simple-event="name"— click events on links and buttons.The sa_event queue stub— calls made before the script loaded are replayed.
What does not carry over
- Simple Analytics' inline-event helper beyond the data attribute shown in its docs.
Your history
Simple Analytics exports are aggregate. Import them as historical context with the CSV importer; they are not given per-visitor attribution.
Every payment still gets a confidence label and a recorded reason when it is unknown. Simple Analytics does not publish visitor IDs for checkout, so the one-line Metrivo metadata is what links a payment to its visit. Metrivo is not a feature-for-feature replacement; read the sourced comparison before switching.