By integrating your Mida account with Hubspot, you will be able to transfer event data from Mida to Hubspot smoothly. This means you can analyze user engagement and website performance in-depth and generate more comprehensive reports within Hubspot.
Mida sends two types of events to Hubspot:
1. mida_pageview
This event is automatically sent whenever a visitor who has been exposed to any Mida A/B test views a page. The event includes the following properties:
id: Your test ID
name: Your experiment profile name
variant: Indicates the variation name (Control / Variant 1 / Variant 2, etc.)
uuid: Mida's unique identifier for the variant
timestamp: Unix timestamp of when the pageview occurred
2. mida_conversion
This event is sent whenever a visitor has converted on their primary Mida goal. The event includes the following properties:
id: Your test ID
name: Your experiment profile name
variant: Indicates the variation name (Control / Variant 1 / Variant 2, etc.)
uuid: Mida's unique identifier for the variant
timestamp: Unix timestamp of when the pageview occurred
Integrating Mida with Hubspot
1. Install Hubspot Tracking Script & Mida Tracking Script
Both the Hubspot JS library (tracking script) and Mida tracking script must be present on the URL.
To install Mida via Hubspot follow our guide here: https://mida.freshdesk.com/a/solutions/articles/154000062541
2. Enable Hubspot Integration within Mida
Enable the Hubspot integration within Mida. You will find this under Integration -> Hubspot:
Once that is enabled, Mida will send two different events to Hubspot:
mida_pageview (e.g., experiment IDs, variant IDs, timestamps)
mida_conversion (e.g., leads)
Mida will also automatically track two events from Hubspot:
hubspot-meeting-booked
hubspot-form-submit
These can be setup as primary or secondary goals within Mida.
3. Enable the Integration within your Experiment
Always ensure your Hubspot integration is activated in the CONFIGURATION settings whenever setting up an experiment.
Viewing Mida data within Hubspot
1. Navigate to Custom Events
Log in to your HubSpot account and go to Data Management > Custom Events in the navigation menu.
2. Locate the Event
Find the Mida events (mida_pageview, mida_conversion) you are looking for in the table of custom events.
3. View Event Details
Click on the name of the event to see its properties and other details.
4. Manage Event Properties
Within the event details, you can click on the "Properties" tab to view and manage the properties associated with that event.
5. Use the Event
Hover over the event in the custom events table, click on the "Actions" menu, and select "Use in" to add it to lists, workflows, or reports.


