Yatra Pro · Personal Marketing

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.

GA4 schema Standard e-commerce

Single payment per year · 14-day refund · One Pro license unlocks every module on this tier.

Google Analytics 4 — illustration

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.

How you turn it on

No engineering. Open Yatra → Modules, toggle, follow the wizard.

  1. 1

    Create GA4 property

    analytics.google.com → Create property. Get Measurement ID (G-XXXXXXX).

  2. 2

    Generate MP API secret

    GA4 → Admin → Data Streams → your stream → Measurement Protocol → Create.

  3. 3

    Paste into Yatra

    Yatra → Modules → Google Analytics → toggle on. Paste both. Click Test event.

  4. 4

    Verify in DebugView

    Take a test booking. Events arrive in GA4 DebugView within seconds.

Actual revenue attribution unlocks paid-channel optimisation.

GA4 e-commerce reports
Populate automatically
No Tag Manager snippets, no Looker Studio.
Yatra Pro · Personal Yearly (sale)
from $99 / year
Includes this + 13 more modules.

Questions before you upgrade

Want to feel Google Analytics 4 in action first? Try Yatra Pro free →

Does this work with Google Tag Manager?
You don't need GTM with this module — Yatra wires gtag.js directly. If you have GTM running for other tags, both can coexist; Yatra's gtag.js loads separately and doesn't conflict.
What about Universal Analytics (UA)?
UA was sunset by Google in July 2023. This module supports GA4 only. If you're still on UA, you're missing data — migrate to GA4.
Will this work with Yoast / Rank Math / AIOSEO?
Yes — fully compatible. SEO plugins don't touch the GA4 layer.

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.

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.