since ‎23-10-2020
‎30-10-2020
Crayola
Level 1
Anyone experience MCID returns empty value?
Avatar

Crayola

Crayola
- Adobe Experience Platform Launch
We have a button on our website that has an MCID parameter on the url. When we check the analytics, some urls has empty mcid. We are using the script below to retrieve the mcid value and pass to url. var mcID = _satellite.getVisitorId().getMarketingCloudVisitorID();var url = 'https://www.example.com/?pubref=' + mcID '&siteid=1111'; Analytics Report Shows:https://www.example.com/?pubref=&siteid=1111 Questions:What could be the reason on why mcid is empty? the function is being called only on user...

Views

48

Likes

0

Replies

0
Re: How do I get started with Marketing Cloud ID Service
Avatar

Crayola

Crayola
- Adobe Experience Cloud
Do you have an example on how to validate if an mcid exist? We have this issue where the mcid being returned is empty. Was wondering if there is a standard way to check if its empty or not before loading or calling the function. var mcID = _satellite.getVisitorId().getMarketingCloudVisitorID();var url = 'https://www.example.com/?pubref=' + mcID '&siteid=1111'; When a user clicks the book now button, it will use the url to redirect the user with the mcid. when we check our analytics report, some ...

Views

21

Likes

0

Replies

0