Skip to content

Instantly share code, notes, and snippets.

@iamchristough
Created February 2, 2016 11:05
Show Gist options
  • Save iamchristough/792a08061de4ecf7f59b to your computer and use it in GitHub Desktop.
Save iamchristough/792a08061de4ecf7f59b to your computer and use it in GitHub Desktop.
<script>
(function (p,h,a,n,t,o,m) {
p['GoogleAnalyticsObject'] = t;
p[t] = p[t] || function () {
(p[t].q = p[t].q || []).push(arguments)
}, p[t].l = 1 * new Date();
o = h.createElement(a),
m = h.getElementsByTagName(a)[0];
o.async = 1;
o.src = n;
m.parentNode.insertBefore(o, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
// Replace the UA code with the your current project's UA code.
ga('create', 'UA-46239936-XX', 'auto');
ga('send', 'pageview');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment