Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore cookie iframe not working when different URL is used for the tracking code than the one used for the Piwik interface #9466

Closed
MichalTomczak opened this issue Jan 4, 2016 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@MichalTomczak
Copy link

In the event when different URL is used for the tracking code than the one used for the Piwik interface, the ignore cookie will not work.

@mattab
Copy link
Member

mattab commented Jan 27, 2016

Thanks for the report! because the ignore cookie is a third party cookie that is set on the Hostname of the "Piwik opt-out for your visitors" iframe, if the tracking server defined in the JavaScript code is a different Hostname from the iframe hostname, then the exclude cookie will not be sent to the tracking API, and user will not be ignored.

I'm not sure how we could solve this problem as it is not technically possible to send a cookie from another domain (ie. trusted host) in the tracking request to another host...

@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Mar 31, 2016
@mattab mattab added this to the Long term milestone Mar 31, 2016
@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. and removed Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels Dec 5, 2016
@mattab mattab modified the milestones: Mid term, Long term Dec 5, 2016
@mattab mattab changed the title Ignore cookie is being created only for the current host, instead it should be created for all trusted hosts Ignore cookie iframe not working when different URL is used for the tracking code than the one used for the Piwik interface Dec 5, 2016
@tsteur
Copy link
Member

tsteur commented Jan 3, 2024

Closing as likely not an issue anymore as we're no longer recommend using iframe opt out. Instead use the JS opt out.

@tsteur tsteur closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants