Cherry Seed

What's the difference between GA4 MP and UA MP?

GA4 Measurement Protocol server-side GA4 MP events

Quick Answer

GA4 Measurement Protocol uses a different endpoint, authentication, and payload structure than Universal Analytics. GA4 requires an API secret and uses JSON payloads. UA used query parameters and a tracking ID. With UA sunset in July 2024, only GA4 MP is current.

Full Answer

GA4 vs Universal Analytics Measurement Protocol: Endpoint: Authentication:

  • UA: None (public endpoint, tracking ID in payload)
  • GA4: API Secret required (adds security) Payload format: Key differences: | Feature | UA | GA4 | |---------|-----|-----| | Format | Query string | JSON | | Auth | None | API Secret | | Event model | Category/Action/Label | Event/Parameters | | User ID | cid | client_id | | Validation | None | Debug endpoint | Migration: Current status:
  • UA: Sunset July 2024, no longer processing
  • GA4: Current,...

Sources

Programmatic Access

GET https://seresa.io/wp-json/cherry-tree-by-seresa/v1/seeds/515

Cite This Answer

Cherry Tree by Seresa - https://seresa.io/seed/google-ads-ga4/ga4-measurement-protocol-ga4-vs-ua-mp