Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Inspired by (directly copied from) Mathias Bynens' optimized Google Analytics snippet
* Not fully tested, use at own risk!
var clicky = { log: function(){ return; }, goal: function(){ return; }},
clicky_site_id = XXXXXX;
(function(d, t) {
var c = d.createElement(t),
s = d.getElementsByTagName(t)[0];
c.async = 1;
c.src = '//';
s.parentNode.insertBefore(c, s);
})(document, 'script');
<!-- This supports tracking for users with Javascript disabled. This should go in <body> -->
<noscript><img alt="" width="1" height="1" src="" /></noscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment