I am new to event serialization and could use some helpful tips from the community.
I read that to implement event serialization, just provide a unique ID for the event, for example event1:1234ABCD.
Question 1: So can I use an evar as a unique ID that captures the orderID(evar49) from the page?
Would the code for the custom page code section look like this: s.events="event6:"evar49
Question 2: Also, can I write custom javascript to capture the sessionID from the url or maybe the orderID from the DOM and pass as a unique ID?:
var sendEventSerial = function(e){
var evt = 'event6:'document.getElementsByClassName("REG-MediumText")[11].innerHTML; //eg,orderID is uniqueID
s.events = evt;
}
Question 3: are there other methods or ways that are easier to capture a uniqueID. Can I use the AMC Visitor ID : 46659475091860511640041694367501312558 and if so where/how do i grab it?
Just trying to wrap my head fully around event serialization and all the methods that I can use to create a unique ID to pass to the event
thank you,
Scott