Title: Cookie validation
Last modified: June 3, 2018

---

# Cookie validation

 *  Resolved [Christian](https://wordpress.org/support/users/visualframeworks/)
 * (@visualframeworks)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cookie-validation/)
 * Hi Fernando,
    the cookie validation in is_allowed_cookie(‘_ga’) isnt that good.
 * if it is e.g. _ga (google analytics) and you have another cookie e.g. _gaxxxxx
   
   It will be true in both cases… 🙁

Viewing 1 replies (of 1 total)

 *  Plugin Author [Fernando Claussen](https://wordpress.org/support/users/fclaussen/)
 * (@fclaussen)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/cookie-validation/#post-10362112)
 * I am aware. Someone posted an updated version of the function which would include
   another parameter to look for an exact match. I requested a pull request with
   the fix so I can test and release it in the next version.
 * I’m also adding another function to look for an entire category and not only 
   individual cookies. That will come in a future update.

Viewing 1 replies (of 1 total)

The topic ‘Cookie validation’ is closed to new replies.

 * ![](https://ps.w.org/gdpr/assets/icon.svg?rev=1837142)
 * [GDPR](https://wordpress.org/plugins/gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Fernando Claussen](https://wordpress.org/support/users/fclaussen/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/cookie-validation/#post-10362112)
 * Status: resolved