Retrieving getMarketingCloudVisitorID with and without callback
Hi All,
I am trying to retrieve the mcid using visitor api, I just want to understand a couple of things.
1) When the getMarketingCloudVisitorID method uses a callback(var mcid = s.visitor.getMarketingCloudVisitorID(cb)) to return the mcid compared to not passing the callback(var mcid = s.visitor.getMarketingCloudVisitorID()).
Reason for asking is, s.visitor.getMarketingCloudVisitorID() without callback returns mcid most of the times when I am not clearing my cookie and cache before loading the page.
2) Is there any chance the mcid generated in the user machine matches with any previous mcid(returning user), in case the user clears the cookie and cache in the second visit.
Thanks
Shinov