Public Access
refactor(bf): hold the Google Ads id/label in the page, keep ads-consent.js generic
Tag id + conversion label now live as data-ads-id / data-ads-send-to on the banner element, so the served HTML carries the tag config and the script stays reusable (missing config -> inert). Re-verified: no cookie/request before consent, cookies + tag after Accept, conversion + form submit on click, 700 ms fallback submit with the tag blocked.
This commit is contained in:
1 parent
ae97f4f5eb
commit
6d486ad954
2 files changed
+18
-8
No files matched your search
@@ -1070,6 +1070,8 @@
|
||||
class="ads-consent"
|
||||
role="region"
|
||||
aria-label="Advertising cookie consent"
|
||||
data-ads-id="AW-18065522009"
|
||||
data-ads-send-to="AW-18065522009/vnDUCPDxt7AdENn6p6ZD"
|
||||
hidden
|
||||
>
|
||||
<div class="ads-consent-inner">
|
||||
|
||||
Reference in new issue
Block a user