Opt-out cookie effective for image tracker?

Hi,

I am using the iframe to give my users an opt-out possibility.
Besides the javascript tracker I also use the image tracker.
Does the opt-out cookie also work for the image tracker?

Best Regards
Fee

Hi,

I can’t promise it, but I would guess yes as the cookie is sent in the header and Matomo will therefore ignore the request.

The easiest way is enabling debugging and trying it out:
https://developer.matomo.org/api-reference/tracking-api#debugging-the-tracker

Thanks! We tested it and it works :)!

1 Like