When you only use the Leadbox URL (and not the entire code) your Leadbox will open in a new tab/window. If you want to have the overlay effect on your page, like this:
… you must embed this entire code:
<script> and ends with
</script>) does not have to be in the exact same spot as the rest of your embed code, but it must be present on the page. This feature comes in handy if you want to use a Leadbox in a WordPress menu.
PLEASE NOTE: In some cases, even if you use the entire code the Leadbox may open in a new window
We typically see Leadboxes (embedded using the entire code) opening in a new window or misplaced on your page if:
- Your embed code has been corrupted by other code on the page.
- You have inserted the embed code in the Visual Editor instead of the HTML editor for your page instead of the Text Editor.
If this happens, please save any changes and re-publish your Leadbox to get a new copy of the code.
Please let us know if you have additional questions.
You can always file a support ticket if you have additional questions by clicking the Support button in your dashboard shown here or clicking here to file a support ticket.
You may also be interested in: