ampproject / ampproject/amphtml

Doublick extension creates cookie despite no consent

Open
#39,758 7 comments 0 reactions 1 assignee Assigned to @erwinmombay View on GitHub
estimate: small P1: High Priority Stale Type: Bug WG: analytics
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/ampproject/amphtml/blob/11948477e786ca04b70f35290b4fcecebd19b803/extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js#L974

When no consent is given in Europe, despite the presence of TCF V2.2 and TC String in the ad call, the extension accesses/creates the _ga cookie, which it should not, because of the getOrCreateAdCid function.

![image](https://github.com/ampproject/amphtml/assets/33549554/a3a25e7a-661e-4582-bfe1-10b60f1234e6)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.