Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to store VisitorID into a eVar dynamically

manishs40044499
Level 4
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
hyderziaee
Employee
Employee

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

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