Skip to content

Commit

Permalink
Remove Google Analytics protocol check
Browse files Browse the repository at this point in the history
Google now serves all Analytics scripts via SSL also so the protocol
check is no longer necessary.

Close #1319
  • Loading branch information
Nettsentrisk authored and necolas committed Apr 8, 2013
1 parent 2a8e582 commit fa7527f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<script>
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
g.src='//www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
Expand Down

0 comments on commit fa7527f

Please sign in to comment.