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

Adobe Visitor ID in a default java variable?

stuarto92208775
Level 1
Level 1

Hi,

 

This is really bugging me as I'm sure recently somebody showed me a java variable and asked me to confirm the value it was returning was the adobe Visitor ID which it was and now I can't find it.

 

I'm well aware about to read the value in my rules and even retrieve using this function : Visitor.getInstance("orgid")._fields.MCMID but is anyone aware of a default JAVA variable the visitor ID can be read from by a 3rd party?

3 Replies
Andrey_Osadchuk
Community Advisor
Community Advisor

You may want to use the following method to get the Experience Cloud ID

_satellite.getVisitorId().getMarketingCloudVisitorID();

 

 

 

stuarto92208775
Level 1
Level 1
Thanks for the suggestion Andrey, unfortuently for reasons I'm challenging I'm told by the 3rd party they can't read data returned from a function and that's why they asked me to add it to a variable. I was just wondering if there's one set by default before I set one.
Andrey_Osadchuk
Community Advisor
Community Advisor
I would set a new variable then. I'm curious to know why the 3rd party can read a JS variable but can't fire a JS method.