diff options
author | Stefan Giehl <stefan@piwik.org> | 2016-05-16 18:33:47 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2016-05-16 18:33:47 +0300 |
commit | a776ded0cafe54528e812d6a5286d0a57d0473e0 (patch) | |
tree | 938035088848294b410e2078164776b51a65af15 /config | |
parent | 6c1e669e2649d3e0863264c144aa4a8f736783fe (diff) | |
parent | 2ec82061fd66dfa11fe9c8561ce00e6f7e616853 (diff) |
Merge pull request #10082 from piwik/visit_standard_length_doc
Explain a user should call setSessionCookieTimeout when changing visit length
Diffstat (limited to 'config')
-rw-r--r-- | config/global.ini.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index 49af421534..69c39ee383 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=1800])` visit_standard_length = 1800 ; The window to look back for a previous visit by this current visitor. Defaults to visit_standard_length. |