removed analytics

This commit is contained in:
Daniel 2018-03-20 23:53:51 -04:00
parent c5ff4e64f7
commit 0d1f283045

View File

@ -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>