[go: nahoru, domu]

Skip to content

Commit

Permalink
Setup google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
nehemiaharchives committed May 18, 2021
1 parent abf019b commit 95cf992
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
<meta property="og:image" content="">

<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"/>

<script>
(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-2400048-12', 'auto');
</script>

<script src="https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.css" rel="stylesheet"/>
<!--<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-language/v0.10.1/mapbox-gl-language.js'></script>-->
Expand Down Expand Up @@ -445,19 +454,9 @@ <h3>

</script>

<!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
<script>
window.ga = function () {
ga.q.push(arguments)
};
ga.q = [];
ga.l = +new Date;
ga('create', 'UA-XXXXX-Y', 'auto');
ga('set', 'anonymizeIp', true);
ga('set', 'transport', 'beacon');
ga('send', 'pageview')
ga('send', 'pageview');
</script>
<script src="https://www.google-analytics.com/analytics.js" async></script>
</body>

</body>
</html>

0 comments on commit 95cf992

Please sign in to comment.