Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!

How to store VisitorID into a eVar dynamically

Avatar

Level 4

Hi All,

I am quite new in Analytics and need a help to store VisitorID into a eVar dynamically. For this I need to mention the variable name.

For example, s.eVar1 = "D=<visitorID>". But I am not sure about the variable name "<visitorID>" over here. Like we know to store a marketing cloud ID we can use it as s.eVar = "D=mid" where mid is marketing cloud ID variable name. Please suggest!

In the similiar case if marketing cloud ID services is already in place, then what is the process to store the visitor id (as MID is replacing/only visitor id in this case). Shall we need to use variable name as mid only in this case?

Any other guidance on this implementation is most welcome.

Thanks

Manish

1 Reply

Avatar

Employee Advisor

Are you using custom VisitorID? For that, try vid for visitorID.

If this is the custom visitorID, it takes precedence over mid value.