Skip to content

Commit

Permalink
chore: add google-analytics.html
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi committed Aug 2, 2024
1 parent bab1aff commit 8d9b545
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _includes/google-analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.google_analytics }}');
</script>

0 comments on commit 8d9b545

Please sign in to comment.