diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-28 20:10:08 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-08-28 20:10:08 +0400 |
commit | e46fd0109ca16eb1e59e261bd9acb22bd104f392 (patch) | |
tree | 1af428e18e1433525c0eb53351791877250d7104 /core/Tracker.php | |
parent | cefc83a5ed6078bcdcea3a0c47fa4dcf435ea11f (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.php | 6 |
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() |