To get the Leadbox installed on your site, you'll need to get the embed code.

When you signed up, the embed code was displayed at the end of the signup form. Also, you can find the embed code from Leadferno under Leadbox > Get Embed Code button in the upper right.

The embed code has a unique identifier (data-bid) for your business and looks like this: 

<script src="https://widget.leadferno.com/leadbox.js" data-leadferno data-bid="a3ar2o91-144n-3w17-eich-490ej13o1e4l" data-url="https://api.leadferno.com/v0"></script>

We recommend that the embed code gets placed just before the closing body tag on your site. Placing the embed code in a "sitewide" file like your header or footer file will display the Leadbox on every page of your website. Depending on the website platform you're using, there are a number of options to edit a single element in your template to ensure the embed code appears on every page of your site.

See lower on this page for specific instructions on popular web platforms like Wordpress, Wix, Squarespace, and Shopify. Reach out if you have specific questions on other web platforms as we work with almost all of them.

 

Google Tag Manager Install For Leadbox

If you're using Google Tag Manager (GTM) to install the Leadbox, the embed code will be slightly different. Please ensure to put your unique identifier (data-bid) into the following code below for GTM, swapping out our placeholder data-bid below (line 6): 

<script>
(function() {
var leadboxScript = document.createElement('script');
leadboxScript.setAttribute('src', 'https://widget.leadferno.com/leadbox.js');
leadboxScript.setAttribute('data-leadferno', 'true');
leadboxScript.setAttribute('data-bid', 'a3ar2o91-144n-3w17-eich-490ej13o1e4l');
leadboxScript.setAttribute('data-url', 'https://api.leadferno.com/v0');
leadboxScript.onload=function() {
if (document.readyState === 'complete' && document.getElementById('leadbox-iframe') == null) {
Leadbox.init();
}
}
document.body.appendChild(leadboxScript);
})();
</script>

When adding in GTM, you'll want to select a custom HTML tag and ensure the trigger selected is All Pages (pageviews). 

Content Management Systems Install

Here are Leadbox embed instructions for specific website types and content management systems: