You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, this is more a question than an actual issue
Depending on the location of some of our company's users,
we encounter tracking issues when some network filtering devices explicitly reject the _pk_ses* cookies due to the fact that its value is set to '*'
It would appear that value is hard-coded inside piwik.js
Question is :
can we edit piwik.js and replace the '*' character by some string of our choice without impacting Matomo's tracking & reporting routines? (we are running Matomo 3.7.0)
Thanks
-M-
The text was updated successfully, but these errors were encountered:
mattab
changed the title
impact of editing the _pk_ses cookie contents?
Cookie _pk_ses value set to * causing some network filter to reject the cookie
Dec 23, 2018
Just adding some information regarding the previous comments.
@tsteur workaround suggestion seems to not be a working solution.
Code should be _paq.push(['setSessionCookie', 'ses', '1']); in order to not have a syntax error. This syntax do force the session cookie value to '1' but this value is overridden after with the '*' default value after the first event detection.
This is due to setSessionCookie() (l. 4258) being called by getRequest(request, customData, pluginMethod, currentEcommerceOrderTs) method at line 4506. This call without argument force the cookie value to '*' and this method is called at every event detected.
There is no guarantee to not have a '*' value for _pk_ses cookie at some point and therefore being blocked by a network filter.
Waiting for 3.9.0 and 3.8.1 releases seems to be necessary in this case.
Hi there, this is more a question than an actual issue
Depending on the location of some of our company's users,
we encounter tracking issues when some network filtering devices explicitly reject the _pk_ses* cookies due to the fact that its value is set to '*'
It would appear that value is hard-coded inside piwik.js
Question is :
can we edit piwik.js and replace the '*' character by some string of our choice without impacting Matomo's tracking & reporting routines? (we are running Matomo 3.7.0)
Thanks
-M-
The text was updated successfully, but these errors were encountered: