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:
authorThomas Steur <thomas.steur@googlemail.com>2014-08-28 20:10:08 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-08-28 20:10:08 +0400
commite46fd0109ca16eb1e59e261bd9acb22bd104f392 (patch)
tree1af428e18e1433525c0eb53351791877250d7104 /core/Tracker.php
parentcefc83a5ed6078bcdcea3a0c47fa4dcf435ea11f (diff)
refs #4996 track internal and external interactions (on click), also offer some APIs to manually track impressions and interactions (we might remove them later again, to be discussed)
Diffstat (limited to 'core/Tracker.php')
-rw-r--r--core/Tracker.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/Tracker.php b/core/Tracker.php
index d0502e3ca3..ae289d7be5 100644
--- a/core/Tracker.php
+++ b/core/Tracker.php
@@ -257,6 +257,12 @@ class Tracker
$this->end();
$this->flushOutputBuffer();
+
+ $redirectUrl = Common::getRequestVar('redirecturl', false, 'string');
+ if ($redirectUrl) {
+ // TODO only redirecti if domain is trusted in config?
+ header('Location: ' . $redirectUrl);
+ }
}
protected function initOutputBuffer()