from
TRY NOW

Leadpages Email Verification Integration

Use JS Widget to quickly and easily integrate DeBounce real-time email validation to your Leadpages fields.


+

JS Widget can easily integrate to your Leadpages forms and validate your emails prior submitting the forms.

What do you need before starting?

  1. DeBounce public API key
  2. Leadpages account
  3. A Leadpages page including a form.

How to Start

Here is the step by step guide how to integrate DeBounce into your Leadpages forms.

Creating public API key

Navigate to https://app.debounce.io/api and create an API key. Then copy the the public API key.

Then, you need to add your domain URL into approved domains list. This is a security factor which enables the widget only on your domain. Click on "CORS Domains" and add your website address. Please note that the CORS URL must follow these rules: 1) It is not sensitive to http and https 2) It is sensitive to www and non www 3) If your webpage is on a subdomain, you must add subdomain too 4) Enter the root URL of your webpage. Some approved examples: example.com, my.example.com, www.example.com.

Adding Public API into JavaScript Code

Add your public API key into the following code. Now, the integration code is ready. You only need to add in on your Leadpages page.

<script type="text/javascript">
DeBounce_APIKEY = 'YOUR_PUBLIC_API_KEY_HERE';
</script>
<script async type="text/javascript" src="https://cdn.debounce.io/widget/DeBounce.js"></script>

Insert the JavaScript Widget into Leadpages

Copy/paste the widget JS code into Leadpages editor. The JS Widget will automatically detect email fields and validate them on real-time.

P.S: The JavaScript widget will only validate emails on the live version of the page, not from the editor screen.