DTM add customer id
Hi,
I am using DTM and currently deploying the Adobe visitor id service. I am planning to parse the customer id very soon and would like to get some advise on the best practice and how to do it in DTM.
Would you recommend using the JavaScript snippet or can i use the data elements (i.e. setting user id, customer id, authstate for that particular customer)?
It is also mentioned on the help website that the customer IDs and authentication states need to be parsed on every page. My issue is that once the user logs out i will loose that customer id from the dataLayer. The idea is to get to know the customer even though s/he is logged out and use it as an audience for test and target at a later stage. Would it be recommended that i persist the customer id via a cookie?
As a side note, i do also see puuid. Is that really needed?
Thank you
Jerome