Skip to content

Instantly share code, notes, and snippets.

@krohrbaugh
Created January 19, 2011 20:00
Show Gist options
  • Save krohrbaugh/786747 to your computer and use it in GitHub Desktop.
Save krohrbaugh/786747 to your computer and use it in GitHub Desktop.
Google Analytics include code using protocol-relative URLs => http://bit.ly/fomkTv
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'YOUR_ID_HERE']);
_gaq.push(['_trackPageview']);
</script>
<script src="//www.google-analytics.com/ga.js" type="text/javascript" async></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment