From 5409e2220a42beb7dd987bf1b4fe62e31169770b Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Mon, 22 Sep 2014 15:57:51 +0200 Subject: [PATCH] Limit the GA cookie to 13 months --- tarteaucitron.services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index eb263da..3314241 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -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();