@Mepherotus opened this Issue on June 17th 2020

Hello guys, the default behavior of the matomo JavaScript tracker seems to be sending the 1st request on the page with "request_image" set to 1, this theoretically should trigger a 200 with the 1*1 pixel as a response but some of the major adblockers have really strict rules for bocking image requests.

Is there any way in JS/matomo config/anywhere else to permanently set the request_image parameter to 0?

@tsteur commented on June 17th 2020 Member

@Mepherotus you could use _paq.push(['setRequestMethod', 'POST'])

@tsteur commented on June 17th 2020 Member

and / or using _paq.push(['alwaysUseSendBeacon'])

@tsteur commented on June 17th 2020 Member

@Mepherotus does this answer your question?

@Mepherotus commented on June 21st 2020

Yes, I was testing for some days now and, together with some simple rewrite rules on the load balancer (rewriting matomo.php to /m) we have quite a nice tracking coverage

This Issue was closed on June 21st 2020
Powered by GitHub Issue Mirror