Skip to content

Commit

Permalink
Fix hardcoded value in GA template (#27)
Browse files Browse the repository at this point in the history
* Update google-analytics.html
* Update _config.yml
  • Loading branch information
mycaule committed Oct 20, 2022
1 parent 27caac0 commit 1469b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ github_repo: "mkdocs-jekyll"
twitter: vsoch
linkedin: vsochat
dockerhub: vanessa
# google-analytics: UA-XXXXXXXXXX
# google-analytics: G-XXXXXXXXXX
# Image and (square) dimension for logo (don't start with /)
# If commented, will use material hat theme
# logo: "assets/img/logo/SRCC-square-red.png"
Expand Down
2 changes: 1 addition & 1 deletion _includes/google-analytics.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if site.google-analytics %}<script async src="https://www.googletagmanager.com/gtag/js?id=UA-143467500-1"></script>
{% if site.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);}
Expand Down

0 comments on commit 1469b87

Please sign in to comment.