Email Marketing Tool

Shinya
Member

Tracking Activity on External Domains via Marketing Email Links

Hello community,

 

I'm seeking assistance regarding tracking contact activity on two domains, A.com and B.com (A and B are placeholders).

While I've successfully implemented tracking on A.com, I'm encountering issues with tracking on B.com.

 

The goal is as follows:

 

Using the Marketing Email feature, I aim to notify contacts about the launch on B.com and determine which contacts accessed the site.

 

Here's the current situation:

 

Subscription:

  • Marketing Hub Professional

A.com:

  • Tracking code has been embedded.
  • Forms have been deployed.
  • Users who submit forms are added as contacts, and page view activity on A.com is tracked effectively.

B.com:

  • The same HubSpot tracking code as A.com is embedded.
  • Forms have not been deployed.
  • The tracking code is loading correctly (verified through the browser's Network tab).
  • Cookies such as __hstc, hubspotutk, __hssc, and __hssrc are being generated (verified through the browser's Application tab).
  • In contrast to A.com, values for __hssc, __hstc, and hubspotutk are different.
  • In HubSpot, B.com has been added as a tracked site domain.

 

Here's my question:

 

When using the Marketing Email feature to send links to B.com, I recognize that a query parameter (_hsenc) for identifying contacts is automatically appended. I expected the tracking code to interpret this and automatically associate activity with contacts.

 

Is it necessary to explicitly associate _hsenc with contacts using JavaScript?

 

Note that I prefer not to include the email address as a query parameter in the link to B.com.

 

Best regards,

Shinya

0 Upvotes
2 Replies 2
franksteiner79
Key Advisor

Tracking Activity on External Domains via Marketing Email Links

Hi @Shinya 

 

I might be wrong, but as long as you have cross-domain linking active this should work and track visits and page views on B.com domain.

 

I have worked with multiple customers who track multiple domains and never had a problem with tracking visits across multiple distinct domains.

 

Frank

 

Found my comment helpful? Great! Please mark it as a solution to help other community users.


Frank Steiner

Marketeer | HubSpot Expert | CRM Consultant

InboundPro

Let's Talk About Your Project
Shinya
Member

Tracking Activity on External Domains via Marketing Email Links

Hi @franksteiner79 

 

Thank you for your comment.

 

According to the article you provided the link to, profile merging works as follows:

 

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.

 

I understand that HubSpot requires links from A.com to B.com.

 

However, in my case, there are no links from A.com to B.com. Will the tracking still work correctly in this scenario?

 

Best regards, Shinya

0 Upvotes