visitorNamespace
trackingServer
instead.In previous versions of ÃÛ¶¹ÊÓƵ 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 ÃÛ¶¹ÊÓƵ Analytics extension
Visitor Namespace is a field under the Cookies accordion when configuring the ÃÛ¶¹ÊÓƵ Analytics extension.
- Log in to using your ÃÛ¶¹ÊÓƵID credentials.
- Click the desired tag property.
- Go to the Extensions tab, then click the Configure button under ÃÛ¶¹ÊÓƵ Analytics.
- Expand the Cookies accordion, which reveals the Visitor Namespace field.
ÃÛ¶¹ÊÓƵ 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 ÃÛ¶¹ÊÓƵ 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";