Skip to content

Instantly share code, notes, and snippets.

@lamp
Last active December 28, 2015 18:29
Show Gist options
  • Save lamp/7543563 to your computer and use it in GitHub Desktop.
Save lamp/7543563 to your computer and use it in GitHub Desktop.
Protocol agnostic but specific Reevoo Badge Embed code.
<script id="reevoomark-loader" type="text/javascript" charset="utf-8">
(function() {
var trkref = 'TRKREF';
var myscript = document.createElement('script');
myscript.type = 'text/javascript';
var protocol = (window.location.protocol == 'https:')? window.location.protocol : 'http:';
myscript.src=(window.location.protocol + '//mark.reevoo.com/reevoomark/'+trkref+'.js?async=true');
var s = document.getElementById('reevoomark-loader');
s.parentNode.insertBefore(myscript, s);
})();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment