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:
authormattpiwik <matthieu.aubry@gmail.com>2011-04-15 09:10:22 +0400
committermattpiwik <matthieu.aubry@gmail.com>2011-04-15 09:10:22 +0400
commitd4915d8f297cb5e8db71567a3b0d77658bd405d1 (patch)
tree1f1e07876d5d99b3dc1b999b92168fe3ae509044 /plugins/Live/Visitor.php
parent7f98a78eb16d658c289aead654bc4a1b0741f96e (diff)
Now showing campaign keyword as well as campaign name in the visitor log & live widget
Also fixing yet another Live refresh issue, I think this time it's working 100%!!! git-svn-id: http://dev.piwik.org/svn/trunk@4467 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Live/Visitor.php')
-rw-r--r--plugins/Live/Visitor.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Live/Visitor.php b/plugins/Live/Visitor.php
index 75119449d3..0c7d880bab 100644
--- a/plugins/Live/Visitor.php
+++ b/plugins/Live/Visitor.php
@@ -72,10 +72,10 @@ class Piwik_Live_Visitor
'providerUrl' => $this->getProviderUrl(),
'referrerType' => $this->getRefererType(),
'referrerTypeName' => $this->getRefererTypeName(),
+ 'referrerName' => $this->getRefererName(),
'referrerKeyword' => $this->getKeyword(),
'referrerKeywordPosition' => $this->getKeywordPosition(),
'referrerUrl' => $this->getRefererUrl(),
- 'referrerName' => $this->getRefererName(),
'referrerSearchEngineUrl' => $this->getSearchEngineUrl(),
'referrerSearchEngineIcon' => $this->getSearchEngineIcon(),
'operatingSystem' => $this->getOperatingSystem(),
@@ -220,7 +220,7 @@ class Piwik_Live_Visitor
function getKeyword()
{
- return $this->details['referer_keyword'];
+ return urldecode($this->details['referer_keyword']);
}
function getRefererUrl()
@@ -250,7 +250,7 @@ class Piwik_Live_Visitor
function getRefererName()
{
- return $this->details['referer_name'];
+ return urldecode($this->details['referer_name']);
}
function getSearchEngineUrl()