Connect your Webflow site to LeadDuo and send leads securely with ld_key included. You can use the embed.js widget (recommended) or a basic HTML form.
Use this if you want customization, styling, or qualifying questions.
<!-- LeadDuo Embed Form -->
<div id="leadduo-form"></div>
<script src="https://cdn.leadduo.io/embed/v1.js"></script>
<script>
LeadDuo.init('leadduo-form', {
formId: 'YOUR_FORM_ID',
formKey: 'YOUR_LD_KEY'
});
</script>After publishing, visit the page in Webflow and you should see the LeadDuo form rendered, with formKey (ld_key) passed automatically.
Use this if you want a simple form without custom styling from LeadDuo.
<form action="https://api.leadduo.io/api/v1/form/YOUR_FORM_ID" method="POST"> <input type="hidden" name="ld_key" value="YOUR_LD_KEY" /> <input type="email" name="email" placeholder="Email" required /> <input type="text" name="name" placeholder="Name" /> <textarea name="message" placeholder="Message"></textarea> <button type="submit">Submit</button> </form>
The ld_key is sent as a hidden field so LeadDuo can verify the form submission is valid for your account.