Ad tags missing ad_user_data consent
Ad tags have ad_storage but are missing the ad_user_data consent type required by the EU Digital Markets Act. Tags with Built-In ad_user_data coverage (Google Ads Conversion, Remarketing) are excluded from this check.
Summary
- rule_id —
consent-missing-ad-user-data - purpose — Detect ad tags that declare
ad_storageconsent but omit the DMA-requiredad_user_datatype - effect — EEA conversion tracking may silently fail without
ad_user_dataconsent - layer — container
- reversibility — non-destructive
What fires this
The rule filters active tags where consent === 'NEEDED', then excludes analytics-only types (ua, ga, gas, gaawc, gaawe, googtag) because the DMA requirement targets advertising tags, not analytics. It also excludes any tag where hasBuiltInCoverage(t, 'ad_user_data') returns true — native Google Ads Conversion and Remarketing tags carry Built-In coverage and are never flagged. For remaining tags, the rule checks t.consentTypes: if the array contains ad_storage but not ad_user_data, the tag is flagged. Paused tags are excluded.
Why it matters
The EU Digital Markets Act (DMA), effective March 2024, requires explicit ad_user_data consent before sending user identifiers to Google advertising services in the European Economic Area. Without it, enhanced conversions and customer match features stop working for EEA users — even when those users granted ad_storage. The two signals are distinct: ad_storage covers cookie access, while ad_user_data covers permission to use hashed identifiers for attribution. A container configured before March 2024 almost certainly lacks ad_user_data. Regulatory: GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent), EU Digital Markets Act.
Before / after
"consentSettings": {
"consentStatus": "NEEDED",
"consentType": ["ad_storage"]
}
"consentSettings": {
"consentStatus": "NEEDED",
"consentType": ["ad_storage", "ad_user_data"]
}
Remediation
- Open each flagged tag in GTM and navigate to its Advanced Settings → Consent settings.
- Confirm the tag sends user data to a Google advertising service (not analytics only).
- Add
ad_user_datato the consent type list alongsidead_storage. - Verify your consent management platform (CMP) surfaces
ad_user_dataas a distinct consent signal via the Consent Mode API. - If your CMP does not support
ad_user_dataas a separate category, contact your CMP vendor to add it. - Test in GTM Preview mode that both
ad_storageandad_user_dataare granted before the tag fires.
Metadata
- Severity
- high
- Tier
- optimization
- Category
- consent
- Layer
- container
- Version
- 1
- Effort
15min(about 15 minutes)- Reversibility
- non-destructive
- Regulatory
- GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent), EU Digital Markets Act (DMA)
See also
- Consent rules — other rules in this category
- Health score — how this rule contributes to the score
- Rules catalog — browse all rules
Examples
curl https://developer.tagmanifest.com/v1/evaluate-rule \
-H "Authorization: Bearer $TM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rule_id":"consent-missing-ad-user-data","url":"https://example.com"}'
User: Run consent-missing-ad-user-data on https://example.com
# Tool call
{
"tool": "evaluate_rule",
"arguments": {
"rule_id": "consent-missing-ad-user-data",
"url": "https://example.com"
}
}