Expand my Community achievements bar.

SOLVED

Using Dynamic variable in DTM to obtain MCVID(mid value)

Avatar

Level 4

Hi,

I have implemented Adobe Marketing Cloud ID tool via DTM. And, using dynamic variable to capture mid value into an eVar(fig attached)

s.eVar2 = "D=mid"

I could see mid value in eVar2 report but seeing some "none" in the report. By the way, i used unique visitors as the metrics for eVar2. Any reason for "none"?.

Here is my understanding - There should be 1 mid value for each unique visitors. Will there be any chance for missing mid value in the report with this approach?

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi m,

I think the potential issue here has to do with how Analytics identifies visitors.  Using the mid is actually the 3rd key in priority that is used to identify a visitor.  Just because an mid is present does not mean, that the mid was the key used to identify the visitor.  I understand the logic you are going by, if an mid is present then it should be a UV but it isn't quite as simple as that.  If any users came before the visitor id service was implemented then they were idenfied by the aid instead of the mid.  Even though both are present.  Here's the priority used to identify visitors: https://marketing.adobe.com/resources/help/en_US/mcvid/mcvid-analytics-order-of-operations.html You could confirm this via a data feed/raw data by looking at all the visitor Id fields.  There's a bunch of them visid_high, visid_low, post_visid_high, post_visid_low, mcid_high, mcid_low, visid_type etc.  The post_visid_high/low are the identification key.  That is populated from the visid_high/low (which is an aid) or from the mcid_high/low (which is the mid).  The visid_type tells you what kind visitor it was basically how the post was generated.  That's where I would start. 

I hope that helps,

Seth

View solution in original post

9 Replies

Avatar

Level 10

Hi,

When did you deploy the Marketing Cloud ID service? Does the date range in your report include dates prior to deploying the ID service? If so, that could be one cause of seeing "none" in the reporting.

 

Cheers,
Jantzen

Avatar

Level 4

Thanks for the reply Jantez. I deployed  MCVID long back(before Sep2016). And, verified the metrics only for last 3 days. By the way, i don't see any "none" if i choose the metrics as "Pageviews". None appears only for unique visitors. Not sure, it is advisable to use Unique visitors as the metrics. Here is my understanding on the MCVID value. For every unique visitors, there should be 1 Mid value and that should be recorded/stored in eVar2 report. Correct? for eg: if we got 3000 unique visitors for 3 days then we should see 3000 mid row values in the report. Am i missing anything here?

Thanks

Avatar

Level 10

Yes, if you've deployed the MCID service, each unique visitor should have a 'mid' associated with them. As for storing it in the eVar2, that would be something custom setup on your end. You may want to check the hits showing as "none" to see if they are coming from another source (mobile app, API, ect...). 

Avatar

Level 10

Were you able to determine the source of the issue? Did my previous response help to understand why you might be seeing "none" in your reports?

Avatar

Level 4

Still, no luck. Even, i did checked the raw data and don't see any hits coming from mobile app/API.

Avatar

Level 10

Without looking at the raw data, it's pretty hard to determine what may be causing this. Do you have grace period turned on? If so, there may be some discrepancy between unique visitors and "mid"s.

I would recommend the following:

  • Pull raw data for a specific time period
  • Ensure that data is all from a single source (your website)
  • Ensure that data does not have "aid" (Analytics ID) values for your visitors
  • Ensure each hit has a value in the Evar that you'd expect to see the 'mid'
  • Run a report in Analytics for that same time period
  • See if you get the expected results

I'm thinking you've got some data that isn't matching up correct. This could be caused by a number of different issues. Using data that has a mix of aid and mid values being used to identify the visitors is most often the cause.

Avatar

Correct answer by
Employee

Hi m,

I think the potential issue here has to do with how Analytics identifies visitors.  Using the mid is actually the 3rd key in priority that is used to identify a visitor.  Just because an mid is present does not mean, that the mid was the key used to identify the visitor.  I understand the logic you are going by, if an mid is present then it should be a UV but it isn't quite as simple as that.  If any users came before the visitor id service was implemented then they were idenfied by the aid instead of the mid.  Even though both are present.  Here's the priority used to identify visitors: https://marketing.adobe.com/resources/help/en_US/mcvid/mcvid-analytics-order-of-operations.html You could confirm this via a data feed/raw data by looking at all the visitor Id fields.  There's a bunch of them visid_high, visid_low, post_visid_high, post_visid_low, mcid_high, mcid_low, visid_type etc.  The post_visid_high/low are the identification key.  That is populated from the visid_high/low (which is an aid) or from the mcid_high/low (which is the mid).  The visid_type tells you what kind visitor it was basically how the post was generated.  That's where I would start. 

I hope that helps,

Seth

Avatar

Level 10

Hi Muthu,

Is the above reply from Seth helps to answer your query. If yes , can you please go ahead & mark this query as resolved.

Thanks & Regards

Parit Mittal

Avatar

Level 2

The best way to capture the mid is per the documentation here:

https://marketing.adobe.com/resources/help/en_US/mcvid/mcvid-getmcvid.html

var visitor = Visitor.getInstance("YOURID@AdobeOrg") var analyticsID = visitor.getMarketingCloudVisitorID() s.prop1=analyticsID;

 

 

CM Edit: Added hyperlink