From 25f910b445d26d27a39fcaa518703c77f68fe055 Mon Sep 17 00:00:00 2001 From: Thomas Steur <tsteur@users.noreply.github.com> Date: Thu, 21 Apr 2016 08:42:53 +1200 Subject: [PATCH] Explain a user should call setSessionCookieTimeout when changing visit length --- config/global.ini.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/global.ini.php b/config/global.ini.php index 463c166a4c..015606b979 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -614,7 +614,9 @@ cookie_path = record_statistics = 1 ; length of a visit in seconds. If a visitor comes back on the website visit_standard_length seconds -; after his last page view, it will be recorded as a new visit +; after his last page view, it will be recorded as a new visit. In case you are using the Piwik JavaScript tracker to +; calculate the visit count correctly, make sure to call the method "setSessionCookieTimeout" eg +; `_paq.push(['setSessionCookieTimeout', timeoutInSeconds=1800000])` visit_standard_length = 1800 ; The window to look back for a previous visit by this current visitor. Defaults to visit_standard_length. -- GitLab