Hubspot

Gather email addresses automatically to your hubspot list

Integration with hubspot allows you to gather email addresses automatically to your hubspot list. All you need is an API key from the hubspot platform.

  1. Obtain an API key from your hubspot account.
  2. Navigate to the accounts page in the ironwifi console and under Marketing, find HubSpot API token. Paste your API key to this input field.

hubspot1

  1. In you captive portal settings, enable Add to HubSpot.

hubspot2

  1. If you wish to sign up all your guests, update the Authentication Providers source code and change the opt_in input type from checkbox to hidden and set value to "on"
<input type="checkbox" name="opt_in"/>

change to

<input type="hidden" name="opt_in" value="on"/>
  1. You can create a new contact in Hubspot with the following information. Your registration form should have the following names for input fields:
  • email
  • firstname
  • lastname
  • phone

Contacts can be linked to Hubspot forms by adding the following:

  • formId (enter value from your Hubspot form)
  • portalId (enter value from your Hubspot form)
<input type="hidden" name="formId" value="*********"/>
<input type="hidden" name="portalId" value="*********"/>