Browse Source

GTM埋碼

Mike 4 years ago
parent
commit
3cb2fa9e41
1 changed files with 3 additions and 0 deletions
  1. 3 0
      themes/hugo-lamp/layouts/_default/baseof.html

+ 3 - 0
themes/hugo-lamp/layouts/_default/baseof.html

@@ -20,6 +20,9 @@
     {{ partial "head.html" . }}
     {{ partial "head.html" . }}
   </head>
   </head>
   <body style="background-color: #ffffff; color: #000000">
   <body style="background-color: #ffffff; color: #000000">
+    <!-- Google Tag Manager -->
+    <amp-analytics config="https://www.googletagmanager.com/amp.json?id=GTM-W5PRWTW&gtm.url=https://bhouse.com.tw" data-credentials="include"></amp-analytics>
+    
     {{ partial "header.html" . }} 
     {{ partial "header.html" . }} 
     {{ partial "sidebar.html" . }}
     {{ partial "sidebar.html" . }}
 	</br>
 	</br>