Skip to content

Commit

Permalink
Update head-custom.html
Browse files Browse the repository at this point in the history
  • Loading branch information
rgiessmann authored Mar 1, 2024
1 parent 47ce7e7 commit 07d1fa9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _includes/head-custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,28 @@
></script>
-->

<script>
// Define dataLayer and the gtag function.
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}

// Set default consent to 'denied' as a placeholder
// Determine actual values based on your own requirements
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied'
});
</script>


<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M07MFP5GCT"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}

gtag('js', new Date());

gtag('config', 'G-M07MFP5GCT');
Expand Down

0 comments on commit 07d1fa9

Please sign in to comment.