Every link in an email sent from HubSpot contains identity tracking parameters so that we attribute visits from links clicked in emails to the correct Contacts. These parameters, _hsenc and _hsmi are unique to HubSpot and are not recognized by Google Analytics. As a result, in your Google Analytics report you may see that each URL clicked from an email is considered a unique, separate page due to these unrecognized tracking parameters.
Filtering traffic in Google Analytics
To filter these query strings out of your report so that all visits to landing pages that contain those tracking parameters are bucketed together:
- In Google Analytics, and in the left sidebar menu click Admin.
- Click View Settings.
- In the Exclude URL Query Parameters section, add the following:
Note: HubSpot also adds additional parameters to links clicked from HubSpot CTAs. To exclude these parameters, also add the following: __hssc,__hstc,hsCtaTracking
- Click Done to save your changes.
Moving forward, Google Analytics will group together all of your visits to your pages from HubSpot emails under a single page URL. Data will not be filtered retroactively.