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

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

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.
leocwlau
leocwlauAccepted solution
New Participant
Aug 22, 2023 4:24 AM UTC

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?

3 replies

Jennifer_Dungan
Level 2
Aug 22, 2023 3:02 PM UTC

@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

Translate
OscarMartinezM
Level 3
Aug 22, 2023 3:24 PM UTC

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

overwriteCrossDomainMCIDAndAID: true

 Thanks!

Translate
leocwlau
leocwlauAccepted solution
New Participant
Aug 22, 2023 4:24 AM UTC

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?

Translate