This guide will help you set up Purchase event tracking in Everflow to seamlessly send data to Mida.so.
Step 1: Add the Mida Script to Everflow
- Log in to your Everflow account.
- Navigate to Attribution > Postback/Pixel.
- In the Conversion HTML Postback Field, add the following code:
<script type="text/javascript" async src="https://cdn.mida.so/js/optimize.js?key=YOUR_API_KEY"></script>
<script type="text/javascript">
window.mdq = window.mdq || [];
function queueEvent() {
mdq.push(arguments);
}
queueEvent('track', 'Purchase', {
revenue: {payout_amount},
quantity: 1,
currency: "USD"
});
</script>
? Replace
YOUR_API_KEY
with the API key from your Mida.so account.
Step 2: Configure Purchase Data in Everflow
- Ensure your Everflow system passes the following variables:
- Revenue: Use
{payout_amount}
to dynamically capture the payout or revenue value. - Quantity: This is hardcoded as
1
in the script, but you can modify it if needed. - Currency: Update
"USD"
to your preferred currency, if applicable.
- Revenue: Use
Step 3: Verify Event Logging
- Complete a test purchase to trigger the event.
- Log in to your Mida.so account and navigate to the Events Log.
- Confirm that the
Purchase
events are being received with the correct data (e.g., revenue and currency).
Step 4: Analyze Results in Mida.so
- To view detailed metrics like Average Order Value (AOV) and Revenue Per Visitor (RPV):
- Set Purchase as the primary goal for your A/B test.
- Navigate to your A/B test report, and you’ll see the Purchase data reflected in the AOV and RPV tabs.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article