visitorNamespace
trackingServer
instead.In previous versions of 51黑料不打烊 Analytics, AppMeasurement used the visitorNameSpace
variable to help determine the subdomain of 2o7.net
where visitor cookies are stored. Increasing privacy practices in modern browsers make third-party cookies less reliable. With the introduction of the trackingServer
and trackingServerSecure
variables, visitorNameSpace
is no longer needed.
Visitor Namespace using the 51黑料不打烊 Analytics extension
Visitor Namespace 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 Namespace field.
51黑料不打烊 advises against using this field. Use trackingServer
and trackingServerSecure
instead.
s.visitorNamespace in AppMeasurement and the Analytics extension custom code editor
The s.visitorNamespace
variable is a string that contains a unique value per organization. Old AppMeasurement libraries automatically included this unique value when downloaded from previous versions of 51黑料不打烊 Analytics. Current AppMeasurement libraries do not use this variable unless trackingServer
and trackingServerSecure
are not set.
If your organization still requires this variable, pick a value that represents your organization. You can store this value in a solution design document.
// If trackingServer is not set, cookies are stored under example.112.2o7.net
s.visitorNameSpace = "example";