Skip to content

Commit

Permalink
adding analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
alefisico committed Dec 13, 2024
1 parent 34841fd commit 86bfd24
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,13 @@ profiles:
# This space below is where custom yaml items (e.g. pinning
# sandpaper and varnish versions) should live


analytics: |
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src='https://www.googletagmanager.com/gtag/js?id=GTM-TB5MSKZZ#' ></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{YOUR TRACKING ID}');
</script>

0 comments on commit 86bfd24

Please sign in to comment.