Title: Refuse cookies functionality
Last modified: June 14, 2018

---

# Refuse cookies functionality

 *  [dlwnz](https://wordpress.org/support/users/dlwnz/)
 * (@dlwnz)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/refuse-cookies-functionality/)
 * With the ‘Refuse cookies’ option which I have deployed to “Enable to give to 
   the user the possibility to refuse third party non functional cookies.” – this
   renders a button with my custom text in the banner, as expected.
 * What I don’t understand is that when that ‘Refuse’ button is clicked, nothing
   seems to happen, other than the banner disappears which is the same result as
   if the ‘Agree’ button is clicked.
 * Can anyone let me know how the ‘Refuse cookies’ functionality / button is supposed
   to work for the site visitor?
 * Thanks.
 * (I see another user has asked a similar question a week ago but has had no response)

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

 *  [fermanus](https://wordpress.org/support/users/fermanus/)
 * (@fermanus)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/refuse-cookies-functionality/#post-10398364)
 * There are some changes.
    If you click “no” and check the status of “cookie-notice
   accepted” you see it is set on “false”. You can still see the (in my case) GA
   cookies in the site-cookie list but they are not executed. If you press “yes”
   the “cookie-notice-accepted” is set on “true” and the cookie are active.
 * You can further check this:
    If you manually remove the GA cookies from the list
   and refresh the page they dont come back. In the second case they do.
 *  [sebbe81](https://wordpress.org/support/users/sebbe81/)
 * (@sebbe81)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/refuse-cookies-functionality/#post-10398820)
 * How do you prevent third-party cookie execution when cookie-notice-accepted is
   set to false?
 *  [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * (@josiah-s-carberry)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/refuse-cookies-functionality/#post-10398935)
 * The key points about this plugin and about the use of 3rd party cookies in general
   are that 1) it can only manage the cookies that you, the site administrator, 
   have explicitly set up via a script; and 2) the plugin does not delete any cookies
   that might already exist. It only allows or prevents the execution of the script
   that reads the cookie and sends the data to the third party.
    The plugin does
   this by providing a place to record the script(s) that create cookies and read
   their values and send those data to the the third parties. If you create or read
   cookies anywhere else in the site (for example, via another plugin or a script
   that you run somewhere else), the plugin has no control at all over them. If 
   I am not mistaken, it is completely up to the site visitor to physically delete
   any cookies that might already exist, using the browser’s cookie management capabilities.
   Logically, the plugin should be completed by yet another function in which you
   can record a script to delete a given cookie, should the visitor click on the
   appropriate button. Indeed, it would be even better if the plugin simply allowed
   you to list the cookies to delete should the visitor not give permission to use
   them. Unfortunately, that is not (yet) the case.
 *  [sebbe81](https://wordpress.org/support/users/sebbe81/)
 * (@sebbe81)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/refuse-cookies-functionality/#post-10399580)
 * [@josiah-s-carberry](https://wordpress.org/support/users/josiah-s-carberry/),
   [@fermanus](https://wordpress.org/support/users/fermanus/) said “You can still
   see the (in my case) GA cookies in the site-cookie list but they are not executed”.
   This implies that no third-party cookie data is transmitted when cookie-notice-
   accepted is set to false. If that is correct, no third-party cookies would need
   deletion.
 *  [Ambyomoron](https://wordpress.org/support/users/josiah-s-carberry/)
 * (@josiah-s-carberry)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/refuse-cookies-functionality/#post-10399658)
 * I don’t know if this is a theoretical issue or not. But once a cookie is saved
   on a visitor’s site, any _other_ site could check for its presence and read it.
   Of course, the interest in doing so depends entirely on the contents and/or the
   name of the cookie. But some might prefer deleting the cookie completely.
 *  Thread Starter [dlwnz](https://wordpress.org/support/users/dlwnz/)
 * (@dlwnz)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/refuse-cookies-functionality/#post-10401083)
 * Thanks all for the responses – much appreciated!

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

The topic ‘Refuse cookies functionality’ is closed to new replies.

 * ![](https://ps.w.org/cookie-notice/assets/icon-256x256.png?rev=3549327)
 * [Compliance by Hu-manity.co](https://wordpress.org/plugins/cookie-notice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-notice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-notice/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-notice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-notice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-notice/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [dlwnz](https://wordpress.org/support/users/dlwnz/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/refuse-cookies-functionality/#post-10401083)
 * Status: not resolved