Skip to content

Commit

Permalink
Added google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmalloy committed Oct 28, 2023
1 parent b2db49f commit f70cca9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
theme: jekyll-theme-minimal
remote_theme: pages-themes/[email protected]
plugins:
- jekyll-remote-theme
9 changes: 9 additions & 0 deletions _includes/head-custom-google-analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VJZWXXL213"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

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

0 comments on commit f70cca9

Please sign in to comment.