Cross domain tracking: Setup Marketing Cloud ID (MID) from URL | Community
Skip to main content
OscarMartinezM
Level 3
August 22, 2023
Solved

Cross domain tracking: Setup Marketing Cloud ID (MID) from URL

  • August 22, 2023
  • 2 replies
  • 1132 views

Hi community,

I have an scenerio where we move from one site to another site (different domain) for login and then come back to original site.

Because of that, we're passing Marketing Cloud ID (MID) in the url to login site, to keep cross domain tracking. Login site receives MID correctly, but now we need to set it up when the pageview is sent.

Regards, 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by leocwlau

Hi @oscarmartinezm ,

Not quite sure about the question. From the description, the MID on the original site is successfully passed to the login site via the adobe_mc URL parameter, any tracking happening on the login site for that particular traffic should be with that MID.

When you say "need to set it up when the pageview is sent", is that on the original site or the login site? And if you have overwriteCrossDomainMCIDAndAID set to true on the login site?

2 replies

leocwlau
Community Advisor and Adobe Champion
leocwlauCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
August 22, 2023

Hi @oscarmartinezm ,

Not quite sure about the question. From the description, the MID on the original site is successfully passed to the login site via the adobe_mc URL parameter, any tracking happening on the login site for that particular traffic should be with that MID.

When you say "need to set it up when the pageview is sent", is that on the original site or the login site? And if you have overwriteCrossDomainMCIDAndAID set to true on the login site?

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 22, 2023

@oscarmartinezm when you say you are passing the Marketing Cloud MID to the other site, you are using the standard Adobe plugin for this right? Not your own custom solution?

 

https://experienceleague.adobe.com/docs/id-service/using/id-service-api/methods/appendvisitorid.html?lang=en

OscarMartinezM
Level 3
August 22, 2023

Hi Jennifer, Leo. Thanks for your answer. I was missing this setting when instancing the visitor, it solved the issue:

overwriteCrossDomainMCIDAndAID: true

 Thanks!