Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Event data reference

Which fields the GA4 App client makes available in the server container, and how to check what actually arrives.

The platform tags build their payload from the event data that the GA4 App client exposes. These are the fields you map, and the fields a tag's auto-mapping looks for.

Fields from the GA4 App client

Field
Contains
Typically used for

x-ga-platform

ios or android

Meta extinfo position 0, TikTok app info

x-ga-os_version

OS version of the device

Meta extinfo position 4, mandatory

x-ga-device_model

Device model

Meta extinfo, device reporting

app_id

Bundle or package name

App identification per platform

app_version

App version

Meta extinfo, debugging per release

language

Device language

Meta extinfo, locale

app_instance_id

Firebase instance id of the install

external_id for the platforms

user_id

The client's own user id, when the app sets it

external_id, cross-device

event_name

The event, for example signup

Triggers and event mapping

ga_session_id

GA4 session id

GA4 reporting

Parameters the app itself sends with an event, such as a hashed email address or a value, appear under their own names alongside these fields.

How to check what arrives

App events do not show up in preview by themselves. A request is only routed to a preview session when it carries the X-Gtm-Server-Preview header, and the Firebase SDK only adds that header after the device has been bound to the session. A container sitting in preview therefore stays empty while the app fires events perfectly well.

Bind the device to the preview session

1

Start preview

Open the server container and click Preview. Not the web container: a preview session on the web container never sees app traffic.

2

Scan the QR code with the device

Use the option to debug an app. The QR code opens the app through the URL scheme tagmanager.sgtm.c.[bundle-id] and stores the preview token, after which the SDK sends the preview header with every upload.

3

Fire the event

The event now appears in the preview session.

4

Read the event data

Select the App tracking client on the incoming event and open the Event Data tab. Look up the fields you intend to map.

Or send a request yourself

The preview screen shows the value of the preview header. Replay a request with that header from curl or Postman and it lands in the same session. Useful for testing a mapping without waiting for an app build.

Or skip preview entirely

The container's outgoing requests show what actually left and what each platform answered, without a device or a preview session. For the question "does anything arrive at all", that is the faster and more reliable route. See Testing and verification.

Identifiers are not in this list by default

The advertising id of the device (IDFA or GAID) is not forwarded by Firebase on its own, and neither is an email address. Those only arrive when the app explicitly sends them. See Identifiers and consent in apps.

Was this helpful?