Skip to content

Commit

Permalink
Add google tracking code
Browse files Browse the repository at this point in the history
  • Loading branch information
eddymdz committed Jun 8, 2023
1 parent a7edaa7 commit 0bc1007
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,13 @@
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}"
crossorigin="anonymous" media="screen,print" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4TTSN39L6Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-4TTSN39L6Y');
</script>
</head>

0 comments on commit 0bc1007

Please sign in to comment.