Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

How to save MCID

Avatar

Level 4

Hi,

Can anybody please tell me in details that

how can I save the marketing cloud ID into a eVar so that it can be used in reports and analytics?

1 Accepted Solution

Avatar

Correct answer by
Level 2

s.eVar1 = "D=mid";

 

Community Manager Addition:

When using this solution you won't see the mid in the image request as this method takes advantage of dynamic variables. These are processed server side when the hit is processed into Analytics. You can read more on dynamic variables here.

View solution in original post

6 Replies

Avatar

Correct answer by
Level 2

s.eVar1 = "D=mid";

 

Community Manager Addition:

When using this solution you won't see the mid in the image request as this method takes advantage of dynamic variables. These are processed server side when the hit is processed into Analytics. You can read more on dynamic variables here.

Avatar

Level 10

Hi Manish,

The previous reply should work. You won't see the mid in the image request as this method takes advantage of dynamic variables. These are processed server side when the hit is processed into Analytics. You can read more on dynamic variables here.

If this solution fits your needs, please mark the previous answer correct.

Cheers,
Jantzen 

Avatar

Level 4

Jantzen.Belliston wrote...

Hi Manish,

The previous reply should work. You won't see the mid in the image request as this method takes advantage of dynamic variables. These are processed server side when the hit is processed into Analytics. You can read more on dynamic variables here.

If this solution fits your needs, please mark the previous answer correct.

Cheers,
Jantzen 

 

Hi Jantzen,

Thanks a lot for your awesome reply. This reply not only helped me to understand the solution provided above but also helped me to get knowledge of dynamic variables in adobe. 

Regards,

Manish

Avatar

Level 10

Glad I was able to help. I'll add my explanation to the answer so others can also benefit.

Cheers,
Jantzen

Avatar

Level 2

Hi Jantzen,

Do you happen to have any advice on how to do this with mobile SDK? We are setting most of our variables with context data and processing rules.

Thanks!

James

Avatar

Level 10

Hey James,

My experience is limited with mobile, but we’ve got some experts on our Adobe Experience Cloud Mobile​ community.

Repost your question over there with as much context as you can provide and we’ll be sure to help you get an answer. Feel free to link back to this thread if it makes sense.

Cheers,

Jantzen