mirror of
https://github.com/chaoticbackup/chaoticbackup.github.io.git
synced 2026-03-21 17:24:14 -05:00
removed analytics
This commit is contained in:
parent
c5ff4e64f7
commit
0d1f283045
20
index.html
20
index.html
|
|
@ -67,26 +67,6 @@
|
|||
}(window.location))
|
||||
</script>
|
||||
<!-- End Single Page Apps for GitHub Pages -->
|
||||
|
||||
<!-- Start Google Analytics
|
||||
<script>
|
||||
if (window.location.hostname === 'spa-github-pages.rafrex.com') {
|
||||
(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','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-75627125-4', 'auto');
|
||||
ga('send', 'pageview');
|
||||
} else {
|
||||
console.warn(
|
||||
'WARNING: The Google analytics function is for a different ' +
|
||||
'domain (http://spa-github-pages.rafrex.com) and did not run, ' +
|
||||
'please remove the script from the index.html file.');
|
||||
}
|
||||
</script>
|
||||
End Google Analytics -->
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user