mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 07:30:12 +01:00
chore: update google analytics to GTM
This commit is contained in:
parent
5a7252b8e2
commit
6dda5bc8eb
1 changed files with 14 additions and 0 deletions
14
docs/templates/layout.jade
vendored
14
docs/templates/layout.jade
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue