Passing MID from App to Website | Community
Skip to main content
patrickb8312284
Level 2
July 26, 2017

Passing MID from App to Website

  • July 26, 2017
  • 2 replies
  • 25397 views

I am having an issue right now where when a user goes from the app to a page on my site, the marketing cloud id is not shared between the two and I am getting a duplicate visitor counts. It is also preventing me from seeing the whole customer journey as one visit.

I found this ID Service configuration setting in the documentation, but it doesn't appear to be working: overwriteCrossDomainMCIDAndAID

https://marketing.adobe.com/resources/help/en_US/mcvid/mcvid-overwrite-visitor-id.html 

Does anyone have any experience with this situation or this configuration setting. I am at a loss as to why it isn't working.

For the record, my site is using the most up-to-date version (2.3) of the Marketing Cloud ID Service and most up-to-date version (2.2) of AppMeasurement.

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

2 replies

jantzen_b
Adobe Employee
Adobe Employee
July 27, 2017

You'll want to use the appendToURL method for this scenario. This will allow you to pass the variables to the page from the app.

patrickb8312284
Level 2
July 28, 2017

I appreciate the response Jantzen.

Just so I am clear on this and hopefully others in the future... the following use cases are true for using these methods and configurations. 

Let's assume all my links out to a webpage from my app are using the appendToUrl method and contain the necessary query parameters (mid, region, org id, etc.).

  • If the user has never visited the web page before, then the MID is automatically set with the one in the query parameter.

  • If the user has visited the web page before, then it will use the web page MID that is currently saved in the cookie, even if the query parameter is passed in the URL.

  • If the user has visited the web page before and overwriteCrossDomainMCIDAndAID is set to true on the Visitor ID service, then the MID is automatically set with the one in the query parameter.

Are all three of those scenarios correct?

jantzen_b
Adobe Employee
Adobe Employee
July 28, 2017

The app has both... there are webviews and links to open a page in the browser.


With webviews, you cannot have viewed the page before being in the app (unless you set up the SDK in an app upgrade). So for that scenario are we talking links out to the browser or are we talking about an SDK upgrade to an existing app?

jantzen_b
Adobe Employee
Adobe Employee
August 14, 2017

Hi Patrick,

Did these responses answer your original question? If so, is there one you think best answered the question that we can mark correct?

Thanks,
Jantzen