Lists, Lead Scoring & Workflows


Identifying Visitors Cross Domain

Hi All, 


We seem to be having issues identifying visitors across two different domains. Here's the scenario:

1) Orders are created both in our bespoke platform (well call this - used for phone and large orders) and Shopify (well call this - mostly for retail orders but these are always pushed to our bespoke platform).

Ultimately, every order exists in the bespoke platform, but only a selection exist in Shopify.

We've disabled the Hubspot - Shopify Bridge as it doesn't offer us great control over what's pushed into Hubspot. We've built our own custom API integration to push company, contact and deal information to HubSpot directly from our bespoke platform.

2)  Whenever an order is placed in Shopify, the user is sent to our bespoke platform (on a different domain) to complete setup. 

3) At this point, we're identifying the visitor with the following JS

<!-- Start of HubSpot Embed Code -->
<script type="text/javascript" id="hs-script-loader" async defer src="//"></script>
<!-- End of HubSpot Embed Code -->

var _hsq = window._hsq = window._hsq || [];
email: ""

4. In settings we've added both the www and non www versions of both domains (the Shopify Domain and our bespoke platform's domain) to the Cross Domain list. 

5. We can see web activity and page views while the user is on our bespoke platform, but nothing from anywhere else. 

The question is, how do we get the information set in that customer's tracking cookie to show on the customer record when they're identified?

For example, they visit, go to several pages and make a purchase. We push the contact and deal data manually to Shopify via the API. 

They then get sent to where they're identified as above through the email address which we now have. 

How do we see all the referal, analytics and page view information from that happened before identification? 


1 Reply 1
Community Manager
Community Manager

Identifying Visitors Cross Domain

Hello @ukhubspot 

It looks like you're looking to track contacts across multiple domains, but are not seeing this carryover, just to confirm is the information sent after they fill out your form? Do you have the option (Automatic cross-domain linking - Modify links on your sites to enable link-tracking between domains.) enabled in your portal? Under settings >/ analytics and tracking.

With this turned on, cross-domain linking should allow HubSpot to merge the visitor profiles of one person as they visit your multiple domains. Otherwise, each domain will have its own cookie and visitor profile of the same person.


This merging can take place when one of two things happens:

  1. A visitor submits 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 a link that takes them between two different domains, each of which has 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 your account settings for this to work.

More information here


If you are still unable after the information provided,  I would recommend connecting with HubSpot Technical Support, as Support is included in your subscription and they will be able to provide real-time assistance for this matter, including hopping on a screen share if necessary. 





Você sabia que a Comunidade está disponível em outros idiomas?
Participe de conversas regionais, alterando suas configurações de idioma !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !