소스 검색

GTM埋碼

Mike 4 년 전
부모
커밋
3cb2fa9e41
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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" . }}
   </head>
   <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 "sidebar.html" . }}
 	</br>