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:
Views
Replies
Total Likes