Browse Source

Analytics

nieyuge 2 năm trước cách đây
mục cha
commit
2a1b889082
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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>