소스 검색

Analytics

nieyuge 2 년 전
부모
커밋
2a1b889082
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      index.html

+ 0 - 2
index.html

@@ -17,13 +17,11 @@
     <!-- Global site tag (gtag.js) - Google Analytics -->
     <script async src="https://www.googletagmanager.com/gtag/js?id=G-YN75PBGW9R"></script>
     <script>
-      if (process.env.NODE_ENV === `production`) {
         window.dataLayer = window.dataLayer || [];
         function gtag(){dataLayer.push(arguments);}
         gtag('js', new Date());
 
         gtag('config', 'G-YN75PBGW9R');
-      }
     </script>
   </body>
 </html>