Skip to content

Commit

Permalink
add GTM (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkorland committed Jul 16, 2020
1 parent 3aea32d commit 11df701
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/gtm.js
@@ -0,0 +1,5 @@
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MDHLQC4');
3 changes: 3 additions & 0 deletions mkdocs.yml
Expand Up @@ -7,6 +7,9 @@ google_analytics:
- 'UA-92003007-1'
- 'auto'

extra_javascript:
- gtm.js

theme:
name: 'material'
language: 'en'
Expand Down

0 comments on commit 11df701

Please sign in to comment.