Sample code
// retrieve the current visitor ID
var visitorId = Txt.getVisitorId()
Get visitor ID returns the current visitor ID. You can use this if you want to store the visitor ID in your own backend for later use.
Txt.getVisitorId()
// retrieve the current visitor ID
var visitorId = Txt.getVisitorId()
Get visitor ID returns the current visitor ID. You can use this if you want to store the visitor ID in your own backend for later use.
Txt.getVisitorId()