Cherry Seed

Can I backfill historical data with MP?

GA4 Measurement Protocol server-side GA4 MP events

Quick Answer

Limited. GA4 accepts events with timestamps up to 72 hours in the past. Older events are rejected. For historical data import, use GA4's Data Import feature instead. Measurement Protocol is designed for real-time or near-real-time events, not historical backfilling.

Full Answer

Backfilling data with Measurement Protocol: Timestamp limits:

  • Maximum age: 72 hours
  • Events older than 72 hours: Rejected
  • No exceptions or workarounds How to send timestamped events: timestamp_micros format: Unix timestamp in microseconds (seconds × 1,000,000) What works:
  • Events from past 72 hours
  • Near-real-time delayed events
  • Batch processing with small delays What doesn't work:
  • Last week's data
  • Historical imports
  • Migration from other systems For historical data: Use GA4 Data Import instead: 1. Admin → Data Import 2. Upload CSV files 3. Supports...

Sources

Programmatic Access

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

Cite This Answer

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