Skip to content

Commit 14cd051

Browse files
authored
Update index.html
1 parent d1e9a82 commit 14cd051

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/index.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,13 @@ <h4><img src="static/ic_support@2x.png" width="19px"> QPython Community</h4>
201201
</body>
202202
</html>
203203

204+
<!-- Google tag (gtag.js) -->
205+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3GZ8CTQYNC"></script>
204206
<script>
205-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
206-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
207-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
208-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
209-
210-
ga('create', 'UA-36070037-1', 'auto');
211-
ga('send', 'pageview');
207+
window.dataLayer = window.dataLayer || [];
208+
function gtag(){dataLayer.push(arguments);}
209+
gtag('js', new Date());
212210

211+
gtag('config', 'G-3GZ8CTQYNC');
213212
</script>
214213

0 commit comments

Comments
 (0)