Skip to content

Instantly share code, notes, and snippets.

@dvogeldev
Created May 30, 2019 21:48
Show Gist options
  • Save dvogeldev/8ad51437151fd59bb0e5c44218223498 to your computer and use it in GitHub Desktop.
Save dvogeldev/8ad51437151fd59bb0e5c44218223498 to your computer and use it in GitHub Desktop.
ConversioBot script
// This file is for executing JavaScript code immediately before the head element is closed.
// Here you can, for example, connect your site to remote services such as booking.com, segment.io, etc.
// Don't forget to whitelist the URLs in the CSP at public/_headersCsp.json.
// Google Analytics and Intercom are already taken care of by the app, so there's no need to add them here.
<script>(function(p,u,s,h){p.botId = "53KaO1";
var a="https://app.conversiobot.com";
s=u.createElement('script');
s.type='text/javascript';
s.id="bot-widget-script";
s.src=a+'/lib/js/gadget.js';
s.setAttribute('bid',"53KaO1");
h=u.getElementsByTagName('script')[0];
h.parentNode.insertBefore(s,h);
})(window,document);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment