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:
authorMatteo Parrucci <parruc@gmail.com>2015-07-01 20:12:41 +0300
committerMatteo Parrucci <parruc@gmail.com>2015-07-01 20:12:41 +0300
commit10124dd4b4cb4afe3df7850d53e5f9f39e680d15 (patch)
tree207c049250476363b0b71ff546d80b7cc163c192 /js
parentab4274dc21baff000e6698dbd78bbc84ba414a4f (diff)
Added setCookiePath and setCookieDomain to applyFirst
refs piwik/piwik#8112 Same problem happened with setCookieDomain. They have to be executed before setSiteId so added them to applyFirst
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 8bbdffa2a5..4608b59144 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -5489,7 +5489,7 @@ if (typeof Piwik !== 'object') {
asyncTracker = new Tracker();
- var applyFirst = ['disableCookies', 'setTrackerUrl', 'setAPIUrl', 'setUserId', 'setSiteId', 'enableLinkTracking'];
+ var applyFirst = ['disableCookies', 'setTrackerUrl', 'setAPIUrl', 'setCookiePath', 'setCookieDomain', 'setUserId', 'setSiteId', 'enableLinkTracking'];
_paq = applyMethodsInOrder(_paq, applyFirst);
// apply the queue of actions