Embedding Forms

Add your lead form to any website with embed code.

Embed your LeadRoute forms on any website with a simple code snippet. Works with WordPress, Wix, Squarespace, and custom sites.

Embed types

  • Inline - Form appears directly on the page
  • Popup - Form opens in a modal
  • Slide-in - Form slides in from the side
  • Full page - Dedicated form page

Inline embed code

<script src="https://leadroute.dev/embed/form.js"></script>
<div data-leadroute-form="form_abc123"></div>
<script src="https://leadroute.dev/embed/form.js"></script>
<button data-leadroute-popup="form_abc123">
  Get a Quote
</button>

WordPress

  1. Install the LeadRoute plugin (optional)
  2. Or paste embed code in a Custom HTML block
  3. Or use the shortcode: [leadroute form="form_abc123"]

Testing your embed

After embedding, submit a test lead to ensure everything works. Check your dashboard to see the test lead appear.