Skip to content

Instantly share code, notes, and snippets.

@lifesinger
Created November 17, 2010 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lifesinger/703331 to your computer and use it in GitHub Desktop.
Save lifesinger/703331 to your computer and use it in GitHub Desktop.
<script>
;(function(d, s, c, n, h) {
c = d.getElementsByTagName(s);
c = c[c.length - 1]; c.id = "t-a-{pid}";
n = d.createElement(s);
n.async = 1;
n.src = 'http://{host}/{path}?i={pid}';
h = d.getElementsByTagName('head')[0];
if(h) h.insertBefore(n, h.firstChild);
})(document, 'script');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment