diff options
author | Vjacheslav Murashkin <vmurashkin@gmail.com> | 2014-09-26 13:46:21 +0400 |
---|---|---|
committer | Vjacheslav Murashkin <vmurashkin@gmail.com> | 2014-09-26 13:46:21 +0400 |
commit | 47f6987e4235a58b5b8625df18ad4ab08f8aeb70 (patch) | |
tree | 541da7224d4d1aa32c2be9417da91739c7e74fc8 /js | |
parent | e059821fc2ac94462e45ac02430e32992bf60238 (diff) |
refs #6257 removed getVisitorId() from Piwik API
Diffstat (limited to 'js')
-rw-r--r-- | js/piwik.js | 11 |
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(); } }; |