Skip to content

Commit

Permalink
Switch to Google Analytics 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mramato committed Jun 22, 2023
1 parent 4cf2973 commit c84c8d0
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -409,17 +409,14 @@ <h1>WebGL Report</h1>
_noJS.parentNode.removeChild(_noJS);
</script>

<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30040272-2']);
_gaq.push(['_trackPageview']);
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J8WBKY4K3W"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
gtag('config', 'G-J8WBKY4K3W');
</script>
</body>
</html>

0 comments on commit c84c8d0

Please sign in to comment.