Limit the GA cookie to 13 months
This commit is contained in:
parent
22ef88c0fb
commit
5409e2220a
|
|
@ -113,7 +113,7 @@ tarteaucitron.services.analytics = {
|
|||
window.ga.l = new Date();
|
||||
|
||||
tarteaucitron.addScript('//www.google-analytics.com/analytics.js', '', function () {
|
||||
ga('create', tarteaucitron.user.analyticsUa, 'auto');
|
||||
ga('create', tarteaucitron.user.analyticsUa, {'cookieExpires': 34128000});
|
||||
ga('send', 'pageview');
|
||||
if (typeof tarteaucitron.user.analyticsMore === 'function') {
|
||||
tarteaucitron.user.analyticsMore();
|
||||
|
|
|
|||
Loading…
Reference in New Issue