Skip to content

Commit

Permalink
Install gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
skilldrick committed Oct 5, 2023
1 parent bdf7904 commit bb213ae
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
19 changes: 9 additions & 10 deletions _layouts/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
<!doctype html>
<html>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T24VL5516K"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-T24VL5516K');
</script>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Easy 6502 by skilldrick</title>
Expand Down Expand Up @@ -36,15 +45,5 @@ <h1>Easy 6502</h1>
<script src="simulator/es5-shim.js"></script>
<script src="simulator/assembler.js"></script>
<script src="javascripts/scale.fix.js"></script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-3174668-13");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>
19 changes: 9 additions & 10 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<!doctype html>
<html>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T24VL5516K"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-T24VL5516K');
</script>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta property="twitter:account_id" content="17736965">
Expand Down Expand Up @@ -47,15 +56,5 @@ <h1>Easy 6502</h1>
<script src="simulator/es5-shim.js"></script>
<script src="simulator/assembler.js"></script>
<script src="javascripts/scale.fix.js"></script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-3174668-13");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>

0 comments on commit bb213ae

Please sign in to comment.