OptOut Cookie is set to subdomain instead to domain


I have Piwik installed under the subdomain stats.mywebsite.com and I am tracking mywebsite.com and some other sites on other domains.

All works fine, but recently i set up an OptOut iframe on this website, but the ignore-cookie is set to stats.mywebsite.com instead to mywebsite.com. I reckon that this cookie won’t work for mywebsite.com.

I have not found a solution which helped me. What can I do?


It is normal / expected that exclude cookie is set to stats.domain.com

Thank you! I didn’t know that.