GA4 e-commerce events, server-side.
Real revenue attribution in GA4 — view_item, purchase, refund.
GA4 ecommerce events fired automatically (view_item, begin_checkout, purchase, refund). Measurement Protocol server-side mirror for ad-block / cookieless tracking. Standard schema so GA4's built-in e-commerce reports just work.
Single payment per year · 14-day refund · One Pro license unlocks every module on this tier.
Why this matters
Default WordPress + GA4 gives you pageviews. To get actual revenue / conversion / funnel attribution you need the four key ecommerce events firing with the correct schema. Most operators copy-paste a half-broken Tag Manager snippet that fires Purchase twice, misses Refund entirely, and shows nothing in GA4's e-commerce reports. Yatra ships the right events out of the box.
What changes once Google Analytics 4 is on
Concrete operational outcomes — not feature checkboxes.
- Standard GA4 ecommerce events fire automatically — view_item, begin_checkout, add_payment_info, purchase, refund.
- Measurement Protocol mirror — server-side events captured for ad-block / cookieless users.
- Standard item-level schema — item_id, item_name, item_category, item_variant (traveler type), price, quantity.
- GA4's built-in e-commerce reports populate immediately — no Looker Studio dashboard required.
- Refund events flow back to GA4 — spend efficiency reflects net revenue.
What you get
Every surface, every toggle, every audit trail — covered.
GA4 measurement ID
Paste Measurement ID (G-XXXXXXX). Yatra wires gtag.js automatically.
Measurement Protocol secret
Server-side mirror via MP. Captures cookieless / ad-blocked sessions.
Per-event toggles
Turn off view_item if you're flooding GA4 with low-value events; keep purchase + refund on.
Refund event
Yatra refunds trigger GA4 refund events with the original transaction ID. Spend efficiency stays honest.
Debug mode
GA4 DebugView mode toggle — see events arrive in real-time in GA4 admin.
Better together
Other modules that compose naturally with Google Analytics 4. All on the same Pro license — toggle as you need them.
Facebook Pixel
Pro · PersonalDrop the Meta Pixel in three clicks. Fire ViewContent, InitiateCheckout, Purchase, AddPaymentInfo automatically. Server-side Conversions API survives iOS 14.5+…
Custom Landing Pages
Pro · PersonalDefault Yatra archives are functional. The page you actually want to rank — built in Elementor, Gutenberg, or your page builder of choice, with rich copy, hero…
Mailchimp Integration
Pro · PersonalAuto-subscribe customers to a Mailchimp audience the moment a booking completes. Tag automatically by trip name / category / destination. Merge fields for firs…
How you turn it on
No engineering. Open Yatra → Modules, toggle, follow the wizard.
-
1
Create GA4 property
analytics.google.com → Create property. Get Measurement ID (G-XXXXXXX).
-
2
Generate MP API secret
GA4 → Admin → Data Streams → your stream → Measurement Protocol → Create.
-
3
Paste into Yatra
Yatra → Modules → Google Analytics → toggle on. Paste both. Click Test event.
-
4
Verify in DebugView
Take a test booking. Events arrive in GA4 DebugView within seconds.
Actual revenue attribution unlocks paid-channel optimisation.
Questions before you upgrade
Want to feel Google Analytics 4 in action first? Try Yatra Pro free →
Does this work with Google Tag Manager?
What about Universal Analytics (UA)?
Will this work with Yoast / Rank Math / AIOSEO?
Get Google Analytics 4 on your WordPress today.
Yatra Pro · Personal tier · Yearly or Lifetime
14-day refund · One license unlocks every module on your tier.