Skip to content

Commit

Permalink
Update header-scripts.hbs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinamstutz committed Dec 1, 2021
1 parent bc20352 commit bf63a2c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/partials/header-scripts.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{{!-- Add header scripts here --}}
{{#with site.keys.googleAnalytics}}
<script async src="https://www.googletagmanager.com/gtag/js?id={{this}}"></script>
<script>function gtag(){dataLayer.push(arguments)};window.dataLayer=window.dataLayer||[];gtag('js',new Date());gtag('config','{{this}}')</script>
{{/with}}

0 comments on commit bf63a2c

Please sign in to comment.