Skip to content

Instantly share code, notes, and snippets.

@andrei-tofan
Last active May 5, 2017 11:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save andrei-tofan/655e2356e938255012e5c0b4538d1b06 to your computer and use it in GitHub Desktop.
Save andrei-tofan/655e2356e938255012e5c0b4538d1b06 to your computer and use it in GitHub Desktop.
LeadBI Native Forms Integration

LeadBI Native Forms Integration

LeadBI Native Forms allows you to capture data from existing website forms.

Target a specific form

To target a specific form you need to specify an html5 id associated with the form, by not specifying it leadbi will try to capture all forms from the page.

Form Attributes

  • Email - any input with the text 'email' in the name field or any input with the attribute data-leadbi-email="true"
  • Full Name - any input with the text 'full?name' in the name field or any input with the attribute data-leadbi-full-name="true"
  • First Name - any input with the text 'first?name' in the name field or any input with the attribute data-leadbi-first-name="true"
  • Last Name - any input with the text 'last?name' in the name field or any input with the attribute data-leadbi-last-name="true"
  • Company - any input with the text 'company' in the name field or any input with the attribute data-leadbi-company="true"
  • Website - any input with the text 'website' in the name field or any input with the attribute data-leadbi-website="true"
  • Phone - any input with the text 'phone' in the name field or any input with the attribute data-leadbi-phone="true"
  • Role - any input with the text 'role' in the name field or any input with the attribute data-leadbi-role="true"

Note: ? - can be any set of characters or nothing at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment