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
path: root/libs
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-09-11 19:32:17 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-09-11 19:32:17 +0400
commit5e577e7e82c0a522df232e290dc454e618e57461 (patch)
tree5ebab9b1eda68e4dd4398154c831a1a38591af18 /libs
parent5e461d497fc65a5ecba775bedf45aefe791db119 (diff)
refs #4996 fix tracker and clear content target if not set for now
Diffstat (limited to 'libs')
-rw-r--r--libs/PiwikTracker/PiwikTracker.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/PiwikTracker/PiwikTracker.php b/libs/PiwikTracker/PiwikTracker.php
index af9a2d64cd..8605e38e1f 100644
--- a/libs/PiwikTracker/PiwikTracker.php
+++ b/libs/PiwikTracker/PiwikTracker.php
@@ -899,7 +899,7 @@ class PiwikTracker
throw new Exception("You must specify a content name");
}
- $url .= 'c_n=' . urlencode($contentName);
+ $url .= '&c_n=' . urlencode($contentName);
if (!empty($contentPiece) && strlen($contentPiece) > 0) {
$url .= '&c_p=' . urlencode($contentPiece);
@@ -934,8 +934,8 @@ class PiwikTracker
throw new Exception("You must specify a content name");
}
- $url .= 'c_i=' . urlencode($interaction);
- $url .= 'c_n=' . urlencode($contentName);
+ $url .= '&c_i=' . urlencode($interaction);
+ $url .= '&c_n=' . urlencode($contentName);
if (!empty($contentPiece) && strlen($contentPiece) > 0) {
$url .= '&c_p=' . urlencode($contentPiece);