Reports

Why do I see so many URLs for the same page in Google Analytics for visits from HubSpot emails?

Last updated: May 15, 2018

Applies to:

Marketing Hub: Basic, Pro, Enterprise

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.

GA landing page visits
GA landing page visits


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:
    • _hsenc
    • _hsmi

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.

Was this article helpful?

If you still need help you can get answers from the , or to contact support.