Skip to content

Commit

Permalink
Merge pull request #25 from ZeroarcSoftware/update-ga
Browse files Browse the repository at this point in the history
Update GA tag
  • Loading branch information
jslatts authored Oct 17, 2022
2 parents 03bf935 + afe6655 commit 506141e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
<title>carbondream test page</title>
<link rel="stylesheet" href="../web/css/font-awesome.css">
<link rel="stylesheet" href="../web/css/style.css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-63369739-2', 'auto');
ga('send', 'pageview');
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QCKBQ0XRWR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-QCKBQ0XRWR');
</script>

</head>
<body>
<h1>Fancy Test Page</h1>
Expand Down

0 comments on commit 506141e

Please # to comment.