chore: update google analytics to GTM

This commit is contained in:
nixa 2019-01-19 20:28:57 +03:00
parent 5a7252b8e2
commit 6dda5bc8eb

View file

@ -20,7 +20,21 @@ html(lang='en')
link(rel='stylesheet', href=contents.css['main.scss'].url)
link(rel='shortcut icon', href=contents.images['favicon.png'].url)
| <!-- Google Tag Manager -->
| <script>(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-K8MXX5F');</script>
| <!-- End Google Tag Manager -->
body(class=bodyclass)
| <!-- Google Tag Manager (noscript) -->
| <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K8MXX5F"
| height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
| <!-- End Google Tag Manager (noscript) -->
div.container
div.nav-main
div.wrap