Conversion Linker missing ad_storage
Conversion Linker has consent configured without ad_storage. Native Conversion Linker tags have Built-In ad_storage coverage and are excluded from this check.
Summary
- rule_id —
consent-linker-missing-ad-storage - purpose — Detect Conversion Linker tags that require consent but omit
ad_storagefrom their consent type list - effect — Click attribution breaks for users who accept ad consent but decline analytics consent
- layer — container
- reversibility — non-destructive
What fires this
The rule targets active tags where t.type === 'gclidw' (Conversion Linker), t.consent === 'NEEDED', and hasBuiltInCoverage(t, 'ad_storage') returns false. Tags that pass all three filters are flagged when t.consentTypes is non-empty but does not include ad_storage. Native GTM Conversion Linker templates already carry Built-In ad_storage coverage and are excluded automatically. Paused tags are excluded.
Why it matters
The Conversion Linker writes GCLID and DCLID parameters to first-party cookies so Google Ads can attribute conversions across page loads. That write is ad-related storage — it requires ad_storage consent, not analytics_storage. A Conversion Linker configured with the wrong consent type fires when a user declines analytics but has accepted ad consent, and stalls when a user has only accepted ad consent. Both outcomes break attribution for users who legitimately consented. Regulatory: GDPR Art. 6 (lawful basis), GDPR Art. 7 (consent).
Before / after
{
"type": "gclidw",
"consent": "NEEDED",
"consentTypes": ["analytics_storage"]
}
{
"type": "gclidw",
"consent": "NEEDED",
"consentTypes": ["ad_storage"]
}
Remediation
- Open the flagged Conversion Linker tag in GTM (Google Tag Manager).
- Confirm it is a custom implementation, not the native GTM template. Native templates carry Built-In
ad_storagecoverage and should not trigger this rule. - Open the tag's Additional Consent settings.
- Add
ad_storageto the consent type list. - Remove any incorrect consent types, such as
analytics_storage. - Confirm your CMP sends the
ad_storagesignal to GTM's Consent Mode API before the tag fires. - Publish the container and verify attribution resumes in Google Ads.
Metadata
- Severity
- medium
- 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)
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-linker-missing-ad-storage","url":"https://example.com"}'
User: Run consent-linker-missing-ad-storage on https://example.com
# Tool call
{
"tool": "evaluate_rule",
"arguments": {
"rule_id": "consent-linker-missing-ad-storage",
"url": "https://example.com"
}
}