In this article, you’ll learn to setup Address Verification

Before You Begin…

Please review this article on LeadsHook Data Validation & Verification

Address verification will only work with a custom field type: address.

PLEASE ACTIVATE YOUR DECISION TREE BEFORE TESTING

How to Setup Address Verification

For address verification, we provide an integration with Google Places API.

This feature provides the ability for your decision-tree users to simply type their address.  At the moment, LeadsHook reaches out to Google to start providing addresses as shown below…

Users simply start typing their addresses and then SELECT the correct one

STEP 1: Please go to https://accounts.google.com and login with your preferred email address to create your API access at Google.

Or create a new google account.

STEP 2: After login please follow these steps…

  1. Click the “9-dots” icon

  2. Click “More”.

  3. Click “Even more from Google”

And click “Even more from Google”…

STEP 3:  You’ll end up on Google’s Products page…

STEP 4: Scroll down (you might have scroll for a screens-lengths) until you see ‘”For business”

Click the “Google Cloud Platform” as shown below…

STEP 5: A new tab or window will open and you’ll end up on https://cloud.google.com/ as shown below…

Click “Console”…

STEP 6: Create a NEW project

  1. Click the down arrow.

  2. Click “NEW PROJECT”

STEP 7: New Project Details

  1. Enter a name for your project

  2. Click “CREATE”

STEP 8: Click the hyperlinked name of the project you created….

STEP 9: Create APIs

  1. Your project name will appear shown below

  2. Click “Enable APIs and get credentials like keys

STEP 10: Click “Enable APIS AND SERVICES”…

STEP 11:  Under Maps Section, Click “VIEW ALL”

STEP 12: Open Both of These 2 APIs in their own tabs.

  1. PLACES API
  2. MAPS JAVASCRIPT API

STEP 13: Click “ENABLE” for BOTH APIs

Please note:  You’ll be using the Place autocomplete feature (highlighted in yellow).

STEP 14: Create Credentials

  1. Click “Credentials”
  2. Click “Create Credentials”

STEP 15:

  1. Create credential
  2. Click “API key”

STEP 16: Your API key is automatically created.  Copy and paste this API Key or copy/paste it when you need to use it.

  1. You’ll see it in the dialog box and also in the grid in the background.  This is your API key that you’ll use in LeadsHook.
  2. Click “RESTRICT KEY”.  We want to click restrict key as a security precaution.  It’s not necessary but is highly recommended.

STEP 17: Restrict Usage of API Key

  1. Add a Name for this API Key
  2. Select Https referrers
  3. Add http://*.leadshook.io/*
  4. Click “Save”

STEP 18: You should see the restrictions are shown below.

STEP 19:  For all new accounts, Google gives a credit of $500 (or did when this article was created).

Please click “Billing”

STEP 20:  Please click “ADD PAYMENT METHOD” and enter your credit card details.

STEP 21: Set alerts so you are notified of your usage.

  1. Click “Budgets & alerts”
  2. Click “Create budget”

STEP 22: Set your budget

  1. Add a name for your budget
  2. Enter a monthly spend for which you’d like to get notified
  3. Google will automatically send you notifications when you’ve spent 50%, 90% and 100% of the budget figure from step 2.  Add more steps or remove as needed.  You can use percentages over 100% as well.
  4. Press “Save”

Woohoo!  Google part is DONE!

STEP 23: Log into LeadsHook

  1. Click “Admin”
  2. Select “Integrations”
  3. Click “Google Places”

STEP 24:  Your Google API keys…

  1. Click “Add” to add a new API Key
  2. All of your API keys will be listed here.  L

Please Note:  LeadsHook allows you to add as many API keys as you want because the API is assigned at the Decision Tree level.  In case you are managing traffic for numerous clients or want to see costs correctly aligned to your projects.

STEP 25: Add API Key

  1. Add a name (such as a client, project, business or domain)
  2. Add the API key from STEP 16.
  3. Click “Save”

You API key will be displayed as shown in STEP 24

STEP 26: Assign or Use Your API Key in a Decision Tree

You must be in editing your decision tree in the canvas.

  1. Click the ‘Gear’ icon
  2. Select Data Validation

STEP 27: Use Your Google Places Integration

  1. Click “Address” checkbox
  2. From the Dropdown select the API integration you want to use for your decision tree.

STEP 28: Test

ACTIVATE YOUR DECISION TREE

Please ensure your form has an address custom field OR you are using an address node.

You can use the same integration in as many decision trees as you want.