Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Matomo.js is auto-updating: cannot write modification into it

$
0
0

@junkkk wrote:

matomo is blocked by easylist: the name matomo.js/.php, AND the GET variable ?action_name=

note that if the action_name= variable is not the first one getting called, it is not blocked.
The solution is to create symbolic links of matomo.(php|js) files and to put another variable before the “action_name” in the URL:

sed -i -e ‘s/action_name=/a=b&action_name=/g’ matomo.js

this will call matomo with:

?a=b&action_name= …

this pass easylist filters.

however the matomo.js seems to be auto-updated very frequently and is overwriting the modification. Anyone has a solution to stop the file from being overwritten ? I’ve though about changing file’s permissions but I’d prefer a more indirect way.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles