This variable is retired. Use
cookieDomain variable determines the domain where AppMeasurement sets cookies. You can use this variable to explicitly set the cookie domain instead of using the
This variable only needs to be used when both of the following conditions are met:
example.co.ukcould use the
cookieDomainvariable to explicitly state that the cookie domain is
Only a small number of implementations have use for the
cookieDomain variable, and even then, alternative variables like
cookieDomainPeriods can be used instead.
There is not a dedicated field in the Data Collection UI to use this variable. Use the custom code editor, following AppMeasurement syntax.
cookieDomain variable is a string, and is set to the domain that you want to store cookies on.
s.cookieDomain = "stats.example.com";