Identifiers and consent in apps
App events carry no cookies. This page covers which identifier to send, what each platform accepts, and how consent affects it.
A web event carries cookies that let a platform recognise the visitor. An app event carries none. Without a deliberate choice, the only thing you send is an IP address, and the platform accepts the event but can barely attribute it.
The options
Hashed email address
The app, as an event parameter, hashed with SHA-256
Strongest option for signups and purchases, works across platforms
madid (IDFA / GAID)
The device, only after tracking permission
Strong for app campaigns, availability on iOS is limited
anon_id
The Meta SDK, when the app has it installed
Meta only
external_id
The app's own user id, or app_instance_id
Always available, useful for repeat recognition
Hashed phone number, first name, last name
The app, as event parameters
Extra matching signal alongside the email address
What this means per platform
Meta expects identifiers in
user_data, and device information inapp_data. It also expects the tracking flags described on the Meta page.TikTok expects identifiers in the user object of the app event.
GA4 does not need any of this. It identifies the app install by itself.
Google Ads does not receive these from the container at all, see the Google Ads page.
Consent
An app needs its own consent mechanism. The website's cookie banner does not cover it, and the consent signals your container already handles do not arrive from the app unless the app sends them.
Two things to settle with the client:
who builds the in-app consent screen, usually the app developer,
what the app sends when the user refuses, so the container can suppress the tags that need consent.
On iOS, the tracking permission prompt (ATT) is a separate question from analytics consent. Only with that permission is the advertising id available, and Meta expects to be told whether it was granted. Never report permission as granted when it was not, also not to make an error message disappear.
Was this helpful?

