Set domain for piwik's third party cookie


#1

Hi,

I am using piwik and choose to track users using third party cookie set by piwik. The domain that sets cookie is dev.track.sitename.com, I want to get that cookie from other domain say dev.aaa.sitename.com, for which I want to set the third party cookie with domain sitename.com. Is there any configuration available for setting the domain of third party cookie?


(Matthieu Aubry) #2

Is there any configuration available for setting the domain of third party cookie?

you can configure the path here: https://github.com/piwik/piwik/blob/6296_alternative_fix/config/global.ini.php#L508-512

But the domain is set automatically to the piwik server hostname


#3

Thanks alot!!