Skip to content

Commit

Permalink
20231224 - google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
isaactpetersen committed Dec 24, 2023
1 parent 0ff7bfb commit c225593
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ format:
number-sections: true
link-external-icon: true
link-external-newwindow: true
include-in-header:
- "includes/google_analytics.html"
9 changes: 9 additions & 0 deletions includes/google_analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NLF0RWB1CE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

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

0 comments on commit c225593

Please sign in to comment.