HubSpot Integration
Automatically capture WiFi guest information from your captive portal and sync contacts to HubSpot CRM for lead generation and marketing automation workflows.
Overview
The HubSpot integration enables:
- Contact sync from captive portal signups
- Lead capture from WiFi guests
- Marketing automation triggers
- Customer tracking across touchpoints
Prerequisites
- IronWifi account with captive portal configured
- HubSpot account (Free, Starter, or higher)
- HubSpot API access
HubSpot Setup
Get API Key
- Log in to HubSpot
- Click Settings (gear icon)
- Go to Integrations > Private Apps
- Click Create a private app
- Configure:
- Name: IronWifi Integration
- Scopes: Select required permissions:
crm.objects.contacts.readcrm.objects.contacts.writecrm.lists.readcrm.lists.write
- Create app and copy the Access Token
IronWifi Configuration
Step 1: Add HubSpot Integration
- Log in to IronWifi Console
- Navigate to Networks > Captive Portals
- Select your captive portal
- Go to Integrations tab
- Click Add Integration > HubSpot
Step 2: Configure Connection
Enter HubSpot credentials:
- API Token: Your HubSpot private app token
- Portal ID: Your HubSpot portal ID (found in account settings)
Step 3: Field Mapping
Map captive portal fields to HubSpot contact properties:
| Portal Field | HubSpot Property |
|---|---|
| First Name | firstname |
| Last Name | lastname |
| Phone | phone |
| Company | company |
| Location | wifi_location (custom) |
| Visit Date | last_wifi_visit (custom) |
Step 4: Sync Settings
Options:
- Create Contacts: Create new contacts for new guests
- Update Existing: Update contact if email exists
- Add to List: Automatically add to HubSpot list
- Sync Frequency: Real-time or batched
Data Flow
Guest Signup Flow
- Guest connects to WiFi
- Enters information on captive portal
- Data sent to IronWifi
- IronWifi syncs to HubSpot
- Contact created/updated
- Added to WiFi guests list
- Marketing automation triggers
Captured Data
Standard fields available:
- Email address
- Name
- Phone number
- Company (if collected)
- WiFi location
- Timestamp
- Authentication method used
HubSpot Lists
Create WiFi Guest List
- In HubSpot, go to Contacts > Lists
- Create new list: "WiFi Guests"
- Note the list ID
- Configure IronWifi to add contacts to this list
Segmentation
Create segments for targeted marketing:
- Recent Visitors: Visited in last 30 days
- Repeat Visitors: More than 3 visits
- Location-Based: By WiFi location
- High Engagement: Long session times
Marketing Automation
Workflows
Create HubSpot workflows triggered by WiFi signup:
Welcome Workflow:
- Trigger: Added to WiFi Guests list
- Send welcome email
- Wait 1 day
- Send special offer
- Add to nurture sequence
Re-engagement:
- Trigger: No visit in 30 days
- Send "We miss you" email
- Include return incentive
Email Templates
Welcome Email:
Subject: Welcome to {{location}}!
Hi {{firstname}},
Thanks for visiting! We hope you enjoyed your time.
Here's a special offer for your next visit: [OFFER]
See you soon!
Custom Properties
Create Custom Properties in HubSpot
For WiFi-specific data:
- Go to Settings > Properties
- Click Create property
- Create:
wifi_location(Single-line text)wifi_visits(Number)last_wifi_visit(Date)total_wifi_time(Number - minutes)
Map in IronWifi
Configure field mapping to use custom properties.
Analytics
HubSpot Reports
Track WiFi guest metrics:
- New contacts from WiFi
- Conversion rate to customers
- Email engagement
- Return visit rate
Dashboard
Create HubSpot dashboard:
- WiFi signups over time
- Top locations
- Conversion funnel
- ROI tracking
Troubleshooting
Contacts Not Syncing
- Verify API token is valid
- Check required scopes are enabled
- Review IronWifi sync logs
- Test API connection
Duplicate Contacts
- Enable Update Existing option
- Use email as unique identifier
- Review HubSpot duplicate management
Fields Not Mapping
- Verify HubSpot property exists
- Check property type matches data
- Review field mapping configuration
Privacy Compliance
GDPR Considerations
- Consent: Collect consent on captive portal
- Purpose: Clearly state data usage
- Data Access: Allow users to request data
- Deletion: Process deletion requests
HubSpot GDPR Tools
- Use HubSpot's consent management
- Enable GDPR-compliant forms
- Configure data retention policies
Best Practices
- Collect consent before marketing emails
- Use double opt-in when possible
- Segment carefully for relevant messaging
- Monitor deliverability of emails
- Respect opt-outs promptly