Adblockers with the EasyPrivacy list block the following calls according to the pattern:
.php?action_name=
If it were possible to rename this parameter by configuration setting? Otherwhise the tracking for these clients wont work. There are also a lot of affected Classes/Methods (e.g. piwik/core/Tracker/Tracker/Action.php and so on).
thanks for your answer - but this is not the same (use)case.
We have don’t use /piwik.js and /piwik.php (we have a proxy script to access via g.js and g.php).
Also the pattern (EasyPrivacy) works oterhwise:
.php?action_name=
This is no more than a hotfix. I can change this in the affected Piwik files - but then I have to redo these changes with every single piwik/matomo update. I have proposed a configurable solution. That’s not the same.
I aggree with you. But it doesn’t have to be a random string (the Parameter action_name). Maybe it is enough to rename the parameter action_name to name? I don’t think that the adblockers will block a Parameter name.
As no one on the Matomo team needs this feature, it isn’t on the todo list. But of course pull requests are always welcome.
But I am still not sure why you need to rename action_name as it only makes things more complicated. And if you want to avoid adblockers you don’t need to rename the GET parameters, but instead can simply switch to POST. (_paq.push(['setRequestMethod', 'POST']);).
Keep in mind that this way the data will not appear in your server logs and you can’t replay them in case your Matomo is offline for some time.