Skip to content

Instantly share code, notes, and snippets.

@egm0121
Created September 1, 2012 09:18
Show Gist options
  • Save egm0121/3568015 to your computer and use it in GitHub Desktop.
Save egm0121/3568015 to your computer and use it in GitHub Desktop.
async integration snippet
<script>
(function(g,opts) {
g.upCloo = g.upCloo || {};
g.upCloo.bootStrap = opts;
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true;
s.src = '../../js/upcloo.js';
var n = document.getElementsByTagName('script')[0];
n.parentNode.insertBefore(s,n);
})(this,{"pageId" : "123456","siteKey" : "MYSITEKEY"});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment