-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.eta
25 lines (23 loc) · 1012 Bytes
/
layout.eta
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<script>
window.datalayer = window.datalayer || [];
function gtag(){datalayer.push(arguments);}
if(localStorage.getItem('consentMode') === null){
gtag('consent', 'default', {
'ad_storage': 'denied',
'analytics_storage': 'denied',
'personalization_storage': 'denied',
'security_storage': 'denied',
});
}
else{gtag('consent', 'default', JSON.parse(localStorage.getItem('consentMode')))}
</script>
<!-- Google Tag Manager -->
<script>(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-N8N86K8');</script>
<!-- End Google Tag Manager -->