Modify the config file for google_analytics
This commit is contained in:
parent
6dcef01e30
commit
4b7b8cfdcc
|
@ -5,8 +5,8 @@ title = 'Deliciousium'
|
|||
theme = 'lightbi-hugo'
|
||||
#copyright = "All rights reserved"
|
||||
#googleTagManager = ' GTM-WVR9XZSC '
|
||||
googleTagManager = ' G-VRQ9V3YJSJ '
|
||||
|
||||
googleTagManager = ' GTM-WVR9XZSC'
|
||||
googleAnalytics = "G-VRQ9V3YJSJ"
|
||||
metaDataFormat = "yaml"
|
||||
pygmentsStyle = "trac"
|
||||
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WVR9XZSC" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
|
||||
{{ partial "nav.html" . }}
|
||||
{{ block "header" . }}{{ partial "header.html" . }}{{ end }}
|
||||
{{ block "main" . }}{{ end }}
|
||||
|
|
|
@ -25,6 +25,14 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- 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-WVR9XZSC');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
|
||||
<!-- Site Title, Description, Author, and Favicon -->
|
||||
{{ if .IsHome }}
|
||||
<title>{{ $.Site.Title }}</title>
|
||||
|
|
Loading…
Reference in New Issue