Learn how to integrate Hum into your website or application using our widget.
Add the Widget Container
Add the Widget Script
Initialize the Widget
campaignId
parameter is optional and allows you to track unique information about the user, session, or campaign. Use this for attribution of widget interactions to specific marketing campaigns or sources. Hum provides session information via monthly CSV reports that include the campaignId
field for easy session and order attribution.resultLayout
field during initialization:
Required Field Validation
Optional Field Validation
Additional Validation Rules
Widget Not Loading
hum.initialize()
.Address Validation Errors
Performance Issues
Integration Problems
Best Practices
Performance Tips
Common Use Cases