diff options
Diffstat (limited to 'plugins/ExampleTracker/VisitorDetails.php')
-rw-r--r-- | plugins/ExampleTracker/VisitorDetails.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/ExampleTracker/VisitorDetails.php b/plugins/ExampleTracker/VisitorDetails.php index 2b8a2531ea..403f7f0bba 100644 --- a/plugins/ExampleTracker/VisitorDetails.php +++ b/plugins/ExampleTracker/VisitorDetails.php @@ -14,6 +14,11 @@ use Piwik\View; class VisitorDetails extends VisitorDetailsAbstract { + public function extendVisitorDetails(&$visitor) + { + $visitor['myCustomVisitParam'] = isset($this->details['example_visit_dimension']) ? $this->details['example_visit_dimension'] : 'no-value'; + } + public function renderIcons($visitorDetails) { if (empty($visitorDetails['myCustomVisitParam'])) { |