Skip to content

Commit

Permalink
update google-analytics (jekyll#596)
Browse files Browse the repository at this point in the history
Merge pull request 596
  • Loading branch information
MasterMedo authored Dec 24, 2021
1 parent 7a326eb commit 8fbcefa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/google-analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<script>
window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
function gtag(){window.dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', '{{ site.google_analytics }}');
Expand Down

0 comments on commit 8fbcefa

Please sign in to comment.