Skip to content

Commit

Permalink
Merge pull request #1 from parruc/double-cookies-issue
Browse files Browse the repository at this point in the history
Added setCookiePath and setCookieDomain to applyFirst
  • Loading branch information
parruc committed Jul 1, 2015
2 parents ab4274d + 10124dd commit fbf3d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/piwik.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbf3d24

Please sign in to comment.