Skip to content

Commit

Permalink
add GTM
Browse files Browse the repository at this point in the history
  • Loading branch information
gkorland committed Jul 14, 2020
1 parent be483c0 commit 8cc66d8
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ google_analytics:
- 'UA-92003007-1'
- 'auto'

extra_javascript:
- gtm.js

use_directory_urls: true

theme:
Expand Down

0 comments on commit 8cc66d8

Please sign in to comment.