Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2016-04-20 23:42:53 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2016-04-20 23:42:53 +0300
commit25f910b445d26d27a39fcaa518703c77f68fe055 (patch)
tree13eef99a8ac44ce6bf32047f3ee1f6edb75db336 /config
parentde96be1f00c9afd1b3d3c41afea45be2b3957deb (diff)
Explain a user should call setSessionCookieTimeout when changing visit length
Diffstat (limited to 'config')
-rw-r--r--config/global.ini.php4
1 files changed, 3 insertions, 1 deletions
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.