Skip to main content

Javascript SDK

The Javascript SDK can be used by websites to integrate Liveform

Installation#

Below is the code for embedding Liveform into your website. The following code should be added to every page on your site where you want Liveform to be available.

The snippet can be added anywhere on the page, although we recommend putting it just before the closing </body> tag.

<script>
window.Liveform = window.Liveform || function(){(Liveform.q=Liveform.q||[]).push(arguments)};Liveform.l=+new Date;
Liveform('setProject', 'Your Project ID here');
</script>
<script async src="https://sdk.liveform.co/js/shim.js"></script>