The Hubspot integration is only built for Survey responses in the CRM.
If you want to do A/B testing with your Hubspot CMS pages, then check out our article on Monitoring A/B testing using Events!
Our HubSpot integration allows HubSpot CRM users to automatically have Hotjar Survey responses appear in their contact timeline. In order to use this integration, you will need:
- An active HubSpot CRM and Hotjar account.
- The HubSpot Tracking Code and Hotjar Tracking Code need to be installed on the site.
Activating the HubSpot integration
Go to the Hotjar integrations page.
Select the site where you want to activate the integration in the drop-down menu.
Click the Hubspot option and Connect With HubSpot button.
Login to Hubspot (if needed) and click the Grant Access button.
This will allow Hotjar to post events to HubSpot as they occur. You will now be returned to the Hotjar interface. At this point, your Hubspot integration should show as active.
Verifying that the Integration Works
To verify that the integration is working properly, we suggest following the steps to create a new On-site Survey and submit a Survey response yourself.
The following steps will only work if your user is already in your contacts list
If they aren't, you can add a HubSpot form to your site and fill in the details to automatically add yourself to your HubSpot contacts list.
Create a Survey in Hotjar.
Visit the page where the On-site Survey is set to display and respond to the Survey.
Find the contact in HubSpot and view their timeline.
Click the Filter timeline button and check Hotjar in the list that appears.
The Survey response should now appear in the Hubspot timeline.
Please keep in mind the following limitations:
The Contact must exist in Hubspot before the Survey response is sent, in order for Hotjar to attach the Survey response to the Contact
The Contact must have been tracked by Hubspot at the same domain where the Hotjar On-site Survey is loaded. This means that if a Contact is added to Hubspot manually or via a Hubspot form on another domain, the Hotjar Survey response will not be attached to the Contact.
If the Contact answers a Survey response from different a different device, browser, or cleared their cookies, we may not be able to link the same Contact with their Survey response.