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/js
diff options
context:
space:
mode:
authorMatthieu Aubry <matt@piwik.org>2014-09-26 17:42:17 +0400
committerMatthieu Aubry <matt@piwik.org>2014-09-26 17:42:17 +0400
commit3396d9bc5ddce1b762b31bfb9c378413553a4bdc (patch)
tree2b67c035fe66ac0cbe94583025cd23acce00d436 /js
parent37d677d4bf14bf124060d32d450064f8f1c6dc79 (diff)
parent47f6987e4235a58b5b8625df18ad4ab08f8aeb70 (diff)
Merge pull request #6258 from a4tunado/6257
refs #6257 visitorUUID equal by default for each new Piwik.Tracker
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 232f6c0ed9..8e6783d246 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -2113,7 +2113,7 @@ if (typeof Piwik !== 'object') {
*
* See: Tracker.setTrackerUrl() and Tracker.setSiteId()
*/
- function Tracker(trackerUrl, siteId) {
+ function Tracker(trackerUrl, siteId, uuid) {
/************************************************************
* Private members
@@ -2288,7 +2288,7 @@ if (typeof Piwik !== 'object') {
domainHash,
// Visitor UUID
- visitorUUID;
+ visitorUUID = uuid;
/*
* Set cookie value
@@ -5134,7 +5134,7 @@ if (typeof Piwik !== 'object') {
* @return Tracker
*/
getTracker: function (piwikUrl, siteId) {
- return new Tracker(piwikUrl, siteId);
+ return new Tracker(piwikUrl, siteId, asyncTracker.getVisitorId());
},
/**