visitorId property

String? visitorId
getter/setter pair

A unique identifier for tracking visitors with a length limit of 128 bytes.

For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. Maximum length 128 bytes. Cannot be empty. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality.

Required.

Implementation

core.String? visitorId;