Skip to content

Commit

Permalink
update analytics tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote authored Mar 8, 2023
1 parent a0e8fc7 commit c3c85bf
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions theme/ros/index.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,14 @@
}
</script>
<link rel="shortcut icon" href="./images/ros.ico"/>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17821189-12']);
_gaq.push(['_trackPageview']);

(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);
})();
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EVD5Z6G6NH"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-EVD5Z6G6NH');
</script>
</head>
<body>
Expand Down

0 comments on commit c3c85bf

Please sign in to comment.