Skip to content

Instantly share code, notes, and snippets.

@tillkruss
Last active July 13, 2021 17:29
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 tillkruss/712f8260ed4f85fddff9ed7c65428e2d to your computer and use it in GitHub Desktop.
Save tillkruss/712f8260ed4f85fddff9ed7c65428e2d to your computer and use it in GitHub Desktop.
Async Lead Dyno script
<script>
(function(key) {
var script = document.createElement('script');
script.src = 'https://static.leaddyno.com/js';
script.async = true;
script.onload = function () {
LeadDyno.key = key;
LeadDyno.recordVisit();
LeadDyno.autoWatch();
};
document.body.appendChild(script);
})('<lead-dyno-key>');
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment