Website Forms Integration

Turn your existing website forms into instant lead capture machines. Compatible with any HTML form, WordPress, Webflow, and more.

Web Form Integration

How to Integrate

1

Create a Lucep Account

Sign up for a Lucep account and get your domain-specific keys.

2

Identify Your Form

Find the ID of your form and the names of the fields (Name, Phone, etc.) you want to capture.

3

Configure the Script

Update the field names in the integration script snippet provided below.

4

Deploy to Site

Copy and paste the script before the closing </body> tag of your website.

Integration Script


<script>
    var script = document.createElement("script");
    script.src = "https://cdn.lucep.com/js/lucep-intercept.stable.min.js";
    script.onload = function () {
        new Lucepintercept({
            domain: "YOUR_DOMAIN_HERE",
            form_id: "myform",
            firstname_ref: "fullname",
            phonenumber_ref : "phone_number",
            incl_refs: ["fullname", "phone_number", "email"],
            submit_id: "submit",
            service_name: "Callback request"
        });
    }
    document.getElementsByTagName("head")[0].appendChild(script);
</script>
Note: Replace YOUR_DOMAIN_HERE with the domain registered in your Lucep dashboard. Ensure form_id matches your HTML form's ID attribute.