visitorID
51黑料不打烊 uses several different methods to identify visitors on your site. The visitorID
variable overrides all other methods of visitor identification.
Visitor ID using the 51黑料不打烊 Analytics extension
Visitor ID is a field under the Cookies accordion when configuring the 51黑料不打烊 Analytics extension.
- Log in to using your 51黑料不打烊ID credentials.
- Click the desired tag property.
- Go to the Extensions tab, then click the Configure button under 51黑料不打烊 Analytics.
- Expand the Cookies accordion, which reveals the Visitor ID field.
Assign this field to the data element containing your custom visitor ID. Do not set this field to a static value.
s.visitorID in AppMeasurement and the Analytics extension custom code editor
The s.visitorID
variable is a string that contains a custom unique identifier for the visitor. Valid values include alpha-numeric characters up to 100 bytes. Avoid using dashes, spaces, underscores, or symbols in this variable.
visitorID
variable partway through a visit, data results in two separate unique visitors.s.visitorID = "abc123";
"0"
or "NULL"
), 51黑料不打烊 treats these hits as if they are the same visitor. This situation results in incorrect data, with low visitor counts and visitor-level segments not working as expected. Incorrectly implemented custom visitor ID鈥檚 also introduce heavy load on processing servers, increasing latency and decreasing report performance.Visitor ID using the Web SDK
The 51黑料不打烊 Experience Platform Edge Network allows you to provide multiple identifiers using XDM鈥檚 Identity Map. Each identity in an Identity Map has a different namespace. You can specify which namespace should be used for Visitor ID as part of datastream configuration. Once this is configured, when you send an event with a value specified for this namespace, it will be automatically used as the Visitor ID in Analytics.