Google Analytics 4 — data contract (raw GA4 BigQuery event at ingest; not affiliated with Google)
Raw GA4 BigQuery events row at ingest. Compatible with Google Analytics 4's documented BigQuery export; not affiliated with Google. Root of the GA4 events contract family.
This contract is one boundary in the GA4 events pipeline chain. Validate the payload at that boundary, then follow the neighbors.
Also available: ODCS v3.1.0 YAML. “Use this contract” forks it into your org, then opens the validation playground so you can upload the client file.
Contract family
GA4 events pipeline
GA4 BigQuery events as they move from the raw daily export, through a cleaned event stage, to an audience export. Not affiliated with Google. Sample ids are fake.
- Ingest1ga4_events_rawThis contract
- Between stages
Derived from ga4_events_raw
- Egress
Derived from ga4_events_staged
Fields
| Name | Type | Required | Rule | Description |
|---|---|---|---|---|
| event_date | string | required | pattern /^[0-9]{8}$/ | Date the event was logged, YYYYMMDD in the property's reporting time zone. |
| event_timestamp | integer | required | ≥ 0 | Client time in microseconds UTC. |
| event_name | string | required | — | — |
| user_pseudo_id | string | optional | — | — |
| platform | string | required | one of: WEB, ANDROID, IOS | Data stream platform from the BigQuery export. |
| stream_id | string | optional | — | — |
Sample rows
One synthetic row we wrote. It validates against this contract with zero violations. No real customer data.
[
{
"event_date": "20260115",
"event_name": "page_view",
"event_timestamp": 1768491000000000,
"platform": "WEB",
"stream_id": "1234567",
"user_pseudo_id": "1234567890.0987654321"
}
]Provenance
- Verified against
- https://support.google.com/analytics/answer/7029846
- Checked
- 2026-11-14
- Version
- v1.0
- Author
- DataContractGate
- License
- MIT
Spotted a mismatch with the vendor’s current schema? Report an issue.
Stripe, Shopify, QuickBooks, Xero, HubSpot, Salesforce, Google Analytics and Square are trademarks of their respective owners. DataContractGate is not affiliated with or endorsed by them. These contracts describe data shaped like these vendors’ documented schemas; they are not official and are not certified by any vendor.