Title: Slimstat optin cookie
Last modified: May 25, 2018

---

# Slimstat optin cookie

 *  Resolved [Tommo1973](https://wordpress.org/support/users/tommo1973/)
 * (@tommo1973)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/slimstat-optin-cookie/)
 * Hi,
 * I am trying to get slimstat to check the value of another plugins cookie (GDPR)
   this plugin creates a cookie in the form of an array(gdpr[allowed_cookies]) containing
   the names of all cookies accepted by the website user. I have not been able to
   get slimstat to read this ‘array’ is there a way to do this?
 * Thanks
 * Richard

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/slimstat-optin-cookie/#post-10324849)
 * Hi Richard,
 * Slimstat can read “plain text” cookies for this purpose, but not more complex
   structures. In that case, you may want to develop your own custom add-on, that
   scans your visitors’ using the specific format used by the other plugin, and 
   then tells Slimstat if this pageview should be tracked or not. Please contact
   us at [http://support.wp-slimstat.com](http://support.wp-slimstat.com) if you
   would like us to assist you in developing this custom functionality (for a fee).
 *  Thread Starter [Tommo1973](https://wordpress.org/support/users/tommo1973/)
 * (@tommo1973)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/slimstat-optin-cookie/#post-10324910)
 * Hi Jason,
 * I have created a workaround whch checks the cookie set by the GDPR plugin and
   then sets a plain text cookie based on the result that your plugin can then read.
 * Thanks
 * Richard
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/slimstat-optin-cookie/#post-10336075)
 * Terrific! Thank you for sharing this solution.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Slimstat optin cookie’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/slimstat-optin-cookie/#post-10336075)
 * Status: resolved