Same event, three formats. One event ID.
Pick an event and fill in the order details. Get the GA4 dataLayer push, the Meta Pixel call and the server-side Conversions API payload, deduplicated.
Runs in your browser. Nothing you enter is sent or stored.
Event details
Event
Currency
Shared event ID (deduplication)
evt_preview
Runs in the browser. Read by Google Tag Manager or gtag.
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ ecommerce: null }); // clear the previous ecommerce object
window.dataLayer.push({
"event": "purchase",
"event_id": "evt_preview",
"ecommerce": {
"currency": "BDT",
"value": 2450,
"transaction_id": "48219",
"items": [
{
"item_id": "SKU-1029",
"item_name": "Cotton Kurti",
"price": 2450,
"quantity": 1
}
]
}
});The Pixel and Conversions API copies share one event ID, so Meta counts the conversion once. EcomPilot builds and sends the server copy for you.