wrong cookie path (in subdirectory site)
This issue is related to issue 193
We have a site (example.com) that has several country sub-sites as separate trees as a country directory under the main domain.
We use the cookie optin extension to save the consent to analytics cookies.
In all cases the consent cookie gets set to the root path (path /). But in case of the sub-sites it should be correctly placed in the path of the server root (path /it or /fr).
If all cookies are set into the root site the consent (that might just be valid for a country sub-site) is valid for every site on the server.