Hi,
I want to include 2 customized cookie in the white cookie list. However, when i add them in the com.adobe.granite.optout.impl.OptOutServiceImpl.xml, the other default cookies gets removed. I want to know if
Thanks in advance.
-Punit Jindal
Solved! Go to Solution.
Adobe Granite Opt-Out Service com.adobe.granite.optout.impl.OptOutServiceImpl :- Allows configuration of opt-out cookie names, header/value pairs and a white list of allowed cookies. Also provides JSON access to this configuration. Provides convenience method to determine whether a request is opted out or not. | ||||
Opt-Out Cookies | optout.cookies | A list of names of cookies that a client can set to opt-out of tracking. | cq-opt-out omniture_optout | |
Opt-Out HTTP Headers | optout.headers | A list of name/value pairs of HTTP headers that a client can set to opt-out of tracking. The format for specifying a header and its expected value is: ;, e.g. "NoCookies;on". | ||
White-List Cookies | optout.whitelist.cookies | A list of names of cookies that are still allowed to be set regardless of the client opting out. | cq-show-clientcontext cq-scrollpos cq-sk-collapsed login-token ys-cq-siteadmin-tree ys-cq-damadmin-tree ys-cq-collabadmin-tree ys-cq-miscadmin-tree ys-cq-tagadmin ys-cq-cf-clipboard ys-cq-cf-tabpanel ys-cq-sk-tabpanel SessionPersistence wcmmode cq-authoring-mode |
Adobe Granite Opt-Out Service com.adobe.granite.optout.impl.OptOutServiceImpl :- Allows configuration of opt-out cookie names, header/value pairs and a white list of allowed cookies. Also provides JSON access to this configuration. Provides convenience method to determine whether a request is opted out or not. | ||||
Opt-Out Cookies | optout.cookies | A list of names of cookies that a client can set to opt-out of tracking. | cq-opt-out omniture_optout | |
Opt-Out HTTP Headers | optout.headers | A list of name/value pairs of HTTP headers that a client can set to opt-out of tracking. The format for specifying a header and its expected value is: ;, e.g. "NoCookies;on". | ||
White-List Cookies | optout.whitelist.cookies | A list of names of cookies that are still allowed to be set regardless of the client opting out. | cq-show-clientcontext cq-scrollpos cq-sk-collapsed login-token ys-cq-siteadmin-tree ys-cq-damadmin-tree ys-cq-collabadmin-tree ys-cq-miscadmin-tree ys-cq-tagadmin ys-cq-cf-clipboard ys-cq-cf-tabpanel ys-cq-sk-tabpanel SessionPersistence wcmmode cq-authoring-mode |
By default all custom cookies are not allowed on cq5 server. You need to add this in white list, we had the same problem. We created a cookie but it is rejected, then we added to white list.
Here is the documentation to configure optout service
http://docs.adobe.com/docs/en/cq/current/developing/components/cookie-optout.html
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies