getMarketingCloudVisitorID returns the Experience Cloud visitor ID.
Syntax: var *
variable name* = visitor.getMarketingCloudVisitorID()
This method typically used with custom solutions that require reading the visitor ID. It is not used by a standard implementation. getMarketingCloudVisitorID
also works with callback functions to read Analytics IDs and bring them in to your system or application.