How to integrate product usage data on HubSpot
Integrate product usage data into HubSpot by creating custom properties, setting up data sync through HubSpot's API or third-party connectors, and configuring automated workflows. This enables you to track user engagement, trigger targeted campaigns, and improve customer success initiatives based on actual product behavior.
Prerequisites
- HubSpot Professional or Enterprise subscription
- Admin access to HubSpot account
- Access to your product's database or analytics platform
- Basic understanding of APIs and data mapping
Step-by-Step Instructions
Create Custom Properties for Usage Data
- Last login date (Date picker)
- Feature usage count (Number)
- Session duration (Number)
- Product tier/plan (Single-line text)
Set Up Data Source Connection
Configure Data Mapping
- User ID → HubSpot Contact ID or Email
- Usage timestamps → Date properties
- Numeric metrics → Number properties
- Categorical data → Single-line text or dropdown properties
Set Up Automated Data Sync
cron or cloud functions. For third-party tools like Zapier or PieSync, create triggers based on:- Time intervals (daily/hourly sync)
- Specific user actions
- Data threshold changes
Create Usage-Based Contact Lists
- Active users: Last login date is within 30 days
- Power users: Feature usage count is greater than 100
- At-risk users: Last login date is more than 60 days ago
Build Usage-Triggered Workflows
- Property value changes (usage count increases)
- List membership (joins 'at-risk users' list)
- Form submission combined with usage data
Create Usage Analytics Dashboard
- Contact-based reports showing usage trends
- Custom reports filtering by usage properties
- Attribution reports connecting usage to deals
Common Issues & Troubleshooting
Data not syncing or appearing in HubSpot
Check API rate limits and authentication credentials. Verify that contact matching is working correctly by testing with known email addresses. Review error logs in your integration tool and ensure proper field mapping between systems.
Duplicate contacts created during usage data import
Ensure you're using email addresses or HubSpot Contact IDs for matching. Navigate to Settings > Properties > Contact Information and verify that email is set as a unique identifier. Use HubSpot's deduplication tools if duplicates already exist.
Usage data appearing in wrong format or properties
Review your field mapping configuration and ensure data types match between your product and HubSpot properties. Check for timezone differences in date fields and format numeric data consistently before sending to HubSpot.
Workflows not triggering based on usage data updates
Verify that workflow enrollment triggers are set correctly and that re-enrollment is enabled if needed. Check that the contact meets all enrollment criteria and isn't already enrolled. Review workflow history for specific contacts to identify enrollment issues.