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
diff options
context:
space:
mode:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-03-20 10:39:09 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-03-20 10:39:09 +0300
commit1f0bbb8eb1e9759c6dc6ccf18c45054c905208fc (patch)
tree95df9f49750fadf00f67b995c7ed240acebdab43 /piwik.php
parent4368c9785cd64515cb5bc79ff4c87de58e168d6c (diff)
- fixed #9 referer URLs with host registered as main_url or alias_url should NOT be counted as referer
now if a visitor comes to piwik.org/ with a piwik.org/xx/y/z referer, it will be considered a direct entry rather than a referer visit. makes use of the new caching mechanism introduced with the Goal Tracking plugin, to cache website-related data for super fast access at Tracker time. - Goals is not a tracker plugin anymore (improving performance of Tracker) - fixed bug that the cache file wasn't read properly and goal queries were done at each piwik.php request
Diffstat (limited to 'piwik.php')
-rw-r--r--piwik.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/piwik.php b/piwik.php
index d8a6507f73..998758dd0d 100644
--- a/piwik.php
+++ b/piwik.php
@@ -13,6 +13,7 @@ if(defined('ENABLE_PIWIK_TRACKER') && !ENABLE_PIWIK_TRACKER)
return;
}
+define('PIWIK_TRACKER_MODE', true);
error_reporting(E_ALL|E_NOTICE);
define('PIWIK_INCLUDE_PATH', dirname(__FILE__));
@ignore_user_abort(true);