Black Friday Sale! Save up to 50% off!

Cookie Consent Popup

janosbenko
5 Posts
janosbenko posted this 17 May 2024
Ask a Question

Dear Support,

The current Cookie Consent Popup is nice, but if the user has chosen (for example accepted the cookies) They cannot change this choice. (This is required by law.) I need a solution to let the user change his previous choice.

Could I put a text link at the bottom of the page that reopens the coockie consent popup?
How can I reopen the popup?
Thank you!

Dear Support, The current Cookie Consent Popup is nice, but if the user has chosen (for example accepted the cookies) They cannot change this choice. (This is required by law.) I need a solution to let the user change his previous choice. Could I put a text link at the bottom of the page that reopens the coockie consent popup? How can I reopen the popup? Thank you!
Vote to pay developers attention to this features or issue.
2 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 17 May 2024

Hi Janos,

At this moment there is no option to re-open the popup except after clearing the cookies in the browser.
But we added your request to our wish list.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Janos, At this moment there is no option to re-open the popup except after clearing the cookies in the browser. But we added your request to our wish list. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
janosbenko
5 Posts
janosbenko posted this 17 May 2024

Here is a temporary solution, it might be useful for someone else:

  function deleteCookie(name) {
    document.cookie = name + '=; Max-Age=-99999999;';
  }

  function openCookieConsentPopup() {
    deleteCookie('u-gdpr-cookie');
    location.reload(); 
  }

BUTTON:

<a href="javascript:void(0);" onclick="openCookieConsentPopup();">Reopen Cookie Consent</a>
Here is a temporary solution, it might be useful for someone else: function deleteCookie(name) { document.cookie = name + '=; Max-Age=-99999999;'; } function openCookieConsentPopup() { deleteCookie('u-gdpr-cookie'); location.reload(); } BUTTON: <a href="javascript:void(0);" onclick="openCookieConsentPopup();">Reopen Cookie Consent</a>
You must log in or register to leave comments