Skip to content

Commit 0818711

Browse files
000-734: cookie try 2
1 parent 3bb18b8 commit 0818711

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

_includes/head.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,41 @@
1010
<script defer src="https://unpkg.com/alpinejs@3.9.0/dist/cdn.min.js"></script>
1111
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
1212
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="b01c63bd-efa9-4e95-92de-e4ea2340de14" data-blockingmode="auto" type="text/javascript"></script>
13+
<script data-cookieconsent="ignore">
14+
window.dataLayer = window.dataLayer || [];
15+
function gtag() {
16+
dataLayer.push(arguments);
17+
}
18+
// EU-specific settings
19+
gtag('consent', 'default', {
20+
'ad_personalization': 'denied',
21+
'ad_storage': 'denied',
22+
'ad_user_data': 'denied',
23+
'analytics_storage': 'denied',
24+
'functionality_storage': 'denied',
25+
'personalization_storage': 'denied',
26+
'region': [
27+
'GB','AT','BE','BG','CH','CY','DE','DK','EE','ES','FI',
28+
'FR','GG','GR','HR','HU','IE','IM','IT','JE','LT','LU',
29+
'LV','MT','NL','PL','PT','RO','SE','SI','SK'
30+
],
31+
'wait_for_update': 500,
32+
});
33+
// Default settings
34+
gtag('consent', 'default', {
35+
'ad_personalization': 'granted',
36+
'ad_storage': 'granted',
37+
'ad_user_data': 'granted',
38+
'analytics_storage': 'granted',
39+
'functionality_storage': 'granted',
40+
'personalization_storage': 'granted',
41+
'security_storage': 'granted',
42+
'wait_for_update': 500,
43+
});
44+
gtag('set', 'ads_data_redaction', true);
45+
gtag('set', 'url_passthrough', false);
46+
</script>
47+
1348
{% unless site.hide_share_buttons %}
1449
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-social@1/bin/bulma-social.min.css">
1550
{% endunless %}

0 commit comments

Comments
 (0)