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

How do I capture the AMC visitor ID in a data element

Level 6
Level 6


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

3 Replies

If you are using DTM, then the function call would be different:


You could also read the cookie using document.cookie and then apply string functions to get the AMCV cookie value. 

Level 6
Level 6

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,