Hello everyone,
We are wanting to add a proper cookie-consent process in our website. Based on this documentation right here Configuring Cookie Usage | Adobe Experience Manager (using a different PID), we can configure the Adobe Granite Opt-Out service (PID: com.adobe.granite.optout.impl.OptOutServiceImpl). I've added a repository OSGi configuration inside the /config folder. I am using the Adobe Granite class to fetch these cookies (Granite.OptOutUtil.getCookieNames and Granite.OptOutUtil.getWhitelistCookieNames) and they output an empty Array. None of the cookies I have opted out is still being set. I have tested this both in localhost and cloud-dev (author/publish), it's not working.
=== com.adobe.granite.optout.impl.OptOutServiceImpl.cfg.json ===
{
"optout.cookies": ["s_cc", "s_tp"],
"optout.headers": ["X-Do-Not-rack;1", "DNT;1"],
"optout.whitelist.cookies": ["someAppCookie", "anotherImportantAppCookie",
"customeCook02"]
}
=== <localhost>/system/console/configMgr ===
=== cloud-dev console OSGi view ===
=== cloud-dev browser inspection console ===
What else am I missing in the configuration?
Thank you for your time.