Browse Source

完善 添加Google tag

million 1 year ago
parent
commit
883c4a974c
1 changed files with 10 additions and 0 deletions
  1. 10 0
      index.html

+ 10 - 0
index.html

@@ -14,6 +14,16 @@
     <meta name="keywords" content="Web3,zkS,zkSync,Transactions,lnteraction">
 
     <title>Bitflower</title>
+
+    <!-- Google tag (gtag.js) -->
+    <script async src="https://www.googletagmanager.com/gtag/js?id=G-CG3QTL7PXK"></script>
+    <script>
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+
+        gtag('config', 'G-CG3QTL7PXK');
+    </script>
 </head>
 <body>
 <div id="app"></div>