This guide explains how to install your LeadCenter external form JavaScript on a WordPress website.
The script should be placed at the bottom of your website page, just before the closing </body> tag.
<script>
!function(){
let t=document.getElementsByTagName("body").item(0),
e=document.createElement("script");
e.setAttribute("type","text/javascript"),
e.setAttribute("src","https://node.leadcenter.ai/api/external-forms/va973woq"),
t.appendChild(e);
let s=document.getElementsByTagName("body").item(0),
x=document.createElement("script");
x.setAttribute("type","text/javascript"),
x.setAttribute("src","https://node.leadcenter.ai/api/external-forms/iframe/va973woq"),
s.appendChild(x);
}();
</script>
The script will now load on every page of your website.
Warning: If you change your theme, this code may be removed.
footer.php file.</body> tag.The script will now load only on that specific page.
If you can’t find the answers you’re looking for, our support specialists are available to answer your questions and troubleshoot if necessary.