Tag Manager adds scripts to a page, but it can't choose where on the page something shows. So mark the spot on the page, and let Tag Manager load the script.
1. Mark the spot on your page
Where the form should appear, add this to the page (your site's editor usually has an HTML or code element for it). Use your form's own address name from LeadVault:
<div data-leadvault-form="your-form"></div>
2. Add the tag
- In Tag Manager, Tags, New, Custom HTML.
- Paste:
<script src="https://leadvault.com/embed.js" async></script>
- Trigger: Page View on the pages with the form (for example, Page Path equals
/quote), or All Pages. - Save, then Submit and publish the container.
The form fills the marked spot as soon as the script loads, also on sites that change pages without reloading.
Check it
Open the page once in a browser, then in LeadVault, under On your website, type its address and press Check a page. (The line isn't in the page's HTML, so the check goes by the form having been opened there.) Then fill the form once on the live page.
Didn't answer it? Ask us.