Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
Hi,
trying to figure out how to capture the AMC visitor ID in a data element to pass to a evar on pageload.
any help is greatly appreciated.
- Scott
Hello,
Check this documentation - https://marketing.adobe.com/resources/help/en_US/mcvid/mcvid-getmcvid.html
Regards,
Saurabh Kumar.
If you are using DTM, then the function call would be different:
_satellite.getVisitorId().getMarketingCloudVisitorID()
You could also read the cookie using document.cookie and then apply string functions to get the AMCV cookie value.
This is perfect. Just what I needed. and thanks for bringing up the cookie method as this may come in handy at some point.
thanks for all your help,
Scott
Views
Like
Replies
Likes