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:
authorVjacheslav Murashkin <vmurashkin@gmail.com>2014-09-26 13:46:21 +0400
committerVjacheslav Murashkin <vmurashkin@gmail.com>2014-09-26 13:46:21 +0400
commit47f6987e4235a58b5b8625df18ad4ab08f8aeb70 (patch)
tree541da7224d4d1aa32c2be9417da91739c7e74fc8 /js
parente059821fc2ac94462e45ac02430e32992bf60238 (diff)
refs #6257 removed getVisitorId() from Piwik API
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 86caf1eac9..80cfa9f3de 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -5125,7 +5125,7 @@ if (typeof Piwik !== 'object') {
* @return Tracker
*/
getTracker: function (piwikUrl, siteId) {
- return new Tracker(piwikUrl, siteId, this.getVisitorId());
+ return new Tracker(piwikUrl, siteId, asyncTracker.getVisitorId());
},
/**
@@ -5135,15 +5135,6 @@ if (typeof Piwik !== 'object') {
*/
getAsyncTracker: function () {
return asyncTracker;
- },
-
- /**
- * Get visitor ID (from first party cookie)
- *
- * @return string Visitor ID in hexits (or null, if not yet known)
- */
- getVisitorId: function () {
- return asyncTracker.getVisitorId();
}
};