diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-09-08 08:38:54 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-09-08 08:38:54 +0400 |
commit | de2b0c48c0be6610756a39a1cde2244e084ecdf8 (patch) | |
tree | ef234d1369976ceffea76c14c9e786583a31b1e1 /libs | |
parent | fbe8c463ed91e2a8262dd4a6f68f2d4653dd77e3 (diff) |
Refs #6109 update docs
Diffstat (limited to 'libs')
-rw-r--r-- | libs/PiwikTracker/PiwikTracker.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/PiwikTracker/PiwikTracker.php b/libs/PiwikTracker/PiwikTracker.php index 17899a8728..8583ee1e06 100644 --- a/libs/PiwikTracker/PiwikTracker.php +++ b/libs/PiwikTracker/PiwikTracker.php @@ -1109,7 +1109,6 @@ class PiwikTracker * The following features require access: * - force the visitor IP * - force the date & time of the tracking requests rather than track for the current datetime - * - force Piwik to track the requests to a specific VisitorId rather than use the standard visitor matching heuristic * * @param string $token_auth token_auth 32 chars token_auth string */ @@ -1357,7 +1356,6 @@ class PiwikTracker // Only allowed for Super User, token_auth required, (!empty($this->ip) ? '&cip=' . $this->ip : '') . (!empty($this->userId) ? '&uid=' . urlencode($this->userId) : '') . - (!empty($this->forcedVisitorId) ? '&cid=' . $this->forcedVisitorId : '&_id=' . $this->getVisitorId()) . (!empty($this->forcedDatetime) ? '&cdt=' . urlencode($this->forcedDatetime) : '') . (!empty($this->forcedNewVisit) ? '&new_visit=1' : '') . ((!empty($this->token_auth) && !$this->doBulkRequests) ? '&token_auth=' . urlencode($this->token_auth) : '') . @@ -1381,6 +1379,7 @@ class PiwikTracker (!empty($this->pageCustomVar) ? '&cvar=' . urlencode(json_encode($this->pageCustomVar)) : '') . (!empty($this->eventCustomVar) ? '&e_cvar=' . urlencode(json_encode($this->eventCustomVar)) : '') . (!empty($this->generationTime) ? '>_ms=' . ((int)$this->generationTime) : '') . + (!empty($this->forcedVisitorId) ? '&cid=' . $this->forcedVisitorId : '&_id=' . $this->getVisitorId()) . // URL parameters '&url=' . urlencode($this->pageUrl) . |