Opt-out cookie effective for image tracker?


#1

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


(Lukas Winkler) #2

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


#3

Thanks! We tested it and it works :)!