Skip to main content

Anonymous visitor ID


Across Wyng platforms an anonymous visitor ID is be assigned to each visitor, that is used to identify returning visitors. The ID is scoped by the fully qualified domain of the containing web page, and stored in browser localStorage on the visitor's device, as value uid.


Get the anonymous visitor ID for the current visitor. If no ID has been set, a random value will be generated and stored in browser localStorage.