diff options
author | diosmosis <benaka@piwik.pro> | 2014-12-10 04:01:25 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-12-10 04:01:34 +0300 |
commit | 0a0a0d2cdef310e98636ef1b68fc4f9d4108b235 (patch) | |
tree | 76cca0d03f0e1e24de2d2c3d78d9159c609c8fde /config | |
parent | 954e5e921870d7373e1ccd2cb3291f248054ae87 (diff) |
Refs #2624, add INI config options that will force a new visit if campaign/website referrer information changes between actions. Includes new tracker hook shouldForceNewVisit that dimensions can use to force a new visit during tracking. Also includes light refactoring to referrer dimensions. Testless.
Diffstat (limited to 'config')
-rw-r--r-- | config/global.ini.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index 2bab7b130d..b4fde4c358 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -586,6 +586,16 @@ campaign_var_name = "pk_cpn,pk_campaign,piwik_campaign,utm_campaign,utm_source,u ; Includes by default the GA style campaign keyword parameter utm_term campaign_keyword_var_name = "pk_kwd,pk_keyword,piwik_kwd,utm_term" +; if set to 1, actions that contain different campaign information from the last action in the current visit will +; be treated as the start of a new visit. This will include situations when campaign information was absent before, +; but is present now (or vice versa). +tracker_create_new_visit_when_campaign_changes = 1 + +; if set to 1, actions that contain different website referrer information from the last action in the current visit +; will be treatedas the start of a new visit. This will include situations when website referrer information was +; absent before, but is present now (or vice versa). +tracker_create_new_visit_when_website_referrer_changes = 0 + ; maximum length of a Page Title or a Page URL recorded in the log_action.name table page_maximum_length = 1024; |