Install the form
Paste the script tag, and decide where the form renders.
Add the script tag
Paste the code into the HTML of the page where the form belongs — usually a "get a quote" or contact page.
Replace your-slug with the contractor's own slug. It is shown ready to copy in his lead feed under "put the form on your website" — ask him, or ask Kapture Signals.
<!-- Kapture Signals — kvalificerende formular -->
<script src="https://kapturesignals.com/embed.js"
data-kapture-slug="your-slug" async></script>- Paste the code into the page's HTML, where the form should appear. The script inserts the form exactly where the script tag sits in the document.
- Replace your-slug with the real slug.
- Keep async. The script does not block rendering.
- Use one script tag per page. Two copies of the tag on the same page produce two forms.
Where the form renders
By default the form is inserted immediately before the script tag in the document, so placing the tag is placing the form.
If the code has to come in somewhere else — through a tag manager, a global footer, or a CMS block you do not control — point the script at a container instead.
<script src="https://kapturesignals.com/embed.js"
data-kapture-slug="your-slug"
data-kapture-target="#quote-form"
data-kapture-max-width="480px" async></script>- The target element must already exist in the DOM when the script runs. If the selector matches nothing, the script warns in the console and falls back to the default placement.
- Coming from a tag manager: set the trigger to fire once per page view, or you will get one form per firing.