[IMP] website: google analytic - use Automatic Cookie Domain Configuration.
authorJeremy Kersten <jke@odoo.com>
Fri, 5 Sep 2014 12:51:08 +0000 (14:51 +0200)
committerJeremy Kersten <jke@odoo.com>
Fri, 5 Sep 2014 12:51:08 +0000 (14:51 +0200)
commit0888a92075860e5adeca9e998f4b7c2156ad2a22
treea395dc9275ffc52e8a619349589efd9e4b1428f7
parented1c173971968eaa96693cb4e1547efa6e6c34e0
[IMP] website: google analytic - use Automatic Cookie Domain Configuration.

Automatic Cookie Domain Configuration simplifies cross domain tracking implementations by automatically writing cookies to the highest level domain possible when the auto parameter is used. When used on the domain www.example.co.uk, it will try to write cookies in the following order:

co.uk
example.co.uk
www.example.co.uk
Analytics.js will fail to write a cookie on co.uk but will succeed on example.co.uk. Since a cookie was succesfully written on a higher level domain, www.example.co.uk will be skipped.
addons/website/views/website_templates.xml