Permalink
Browse files

Switch from gaug.es to Google Analytics

  • Loading branch information...
tmcw committed Mar 11, 2017
1 parent 701123d commit 43af91fc3837f2353013752facd2b89cfaae6f4e
Showing with 7 additions and 10 deletions.
  1. +7 −10 index.html
View
@@ -96,16 +96,13 @@
<script type='text/javascript'>
if (/a\.tiles\.mapbox\.com/.test(L.mapbox.config.HTTP_URL)) {
var _gauges = _gauges || [];
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '51eee846108d7b2871000081');
t.src = 'https://secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
(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-12158002-18', 'auto');
ga('send', 'pageview');
}
</script>
</body>

0 comments on commit 43af91f

Please sign in to comment.