Settings

Can I track multiple domains with HubSpot?

Last updated: November 10, 2016

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A

Yes, it is possible to track multiple domains with HubSpot.

Cross-domain tracking allows HubSpot to merge the visitor profiles of one person as they travel across your multiple domains into a single contact profile. This merging can take place when one of two things happens:

  1. A visitor fills out more than one form with the same email address across multiple domains on which you have your HubSpot tracking code installed.
  2. A visitor clicks on a link that takes them between two different domains, each of which have your HubSpot tracking code installed on them. HubSpot attaches parameters to your links from one domain to another (__hsfp, __hssc, and __hstc) to track visitors as they travel between domains. You must have automatic cross-domain link tracking enabled in Report Settings for this to work. Learn more on setting this up below.

Note: This is only necessary to track traffic between distinct domains. This requirement is a result of a privacy limitation of cookies, where cookies are set at the domain level and cannot be carried from one domain to the next. Traffic between subdomains (i.e. www.hubspot.com to blog.hubspot.com) is automatically tracked using cookies. 

To set up cross-domain tracking:

  1. Install the HubSpot tracking code on all pages of all domains that you want to track. Your tracking code is available at Reports > Reports Settings > Tracking Code.
  2. After installing the tracking code, navigate back to Reports > Reports Settings > Domains > Site Domains.
  3. Add the additional domains to be included as part of your site for cross-domain traffic handling.
  4. Verify that Automatic cross-domain linking is enabled.
  5. Click Save.
external domain tracking

Additional notes about tracking multiple domains with HubSpot: 

  • HubSpot forms can be embedded onto any pages on any domain, but all Contacts will be stored in the same Contacts database.
  • Traffic will also be bucketed together for analytics on your Dashboard and the Sources Report.