Skip to content

Commit

Permalink
add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Joeycho committed Dec 16, 2024
1 parent ddc0c9d commit e3b35f0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/wowchemy/layouts/partials/site_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,15 @@
{{ if .IsHome | and $use_cms }}
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
{{ end }}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VBXZ4SVDKJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-VBXZ4SVDKJ');
</script>

{{/* RSS Feed */}}
{{ with .OutputFormats.Get "RSS" }}
Expand Down

0 comments on commit e3b35f0

Please sign in to comment.