Cookie Notice

Cookie Notice

Below are a list of options of the plugin. Be sure after selecting the options to scroll to the bottom and save.

Message: Enter the messages in the textbox. HTML markup can be used to further customize the text.

Cookie Notice Messages

Cookie Notice Messages

Cookie_Notice_Message_on_page

Cookie Notice Message on page

Button Text: The text entered here will be displayed inside the button. HTML markup cannot be used.

Button Text

Button Text

More Info Link: When selected this option displays several sub-options that direct users to get more information on your Cookie policy. The Read More button text can be customized and users can be directed to a specific link by selecting “Custom Link” or a specific page by selecting “Page Link”.

Read More Link

Read More Link

When “Page Link” is selected a drop-down box of all the site’s pages appear.

Read More Page Link

Read More Page Link

Link Target: This option specifies how the More Info Link is displayed when the button is clicked by a user. If _blank is selected, it opens the page in a new window or tab. If _self is selected, it takes you directly to the page.

Link Target

Link Target

Refuse Button: This option specifies what text to display in the button. When selected two other options appear. One option allows for the custom refuse usage text. This text-box does not html markup.

The other option is a text-box for JavaScript code such for Google Analytics. This kind of code is called Non-functional cookies. These are cookies used to track user behavior on your site. If the refuse button is enabled, JavaScript code will need to be inserted into the text-box. This plugin will hold the JavaScript code until a user selects either “Ok” or “No”. If a user selects “No” the Javascript will not run. If the user selects “Ok” the Javascript code will run and the user will be tracked on the site. If a user selects “Read More” the JavaScript code will not run.

Refuse Usage of Cookies

Refuse Button: Refuse Usage of Cookies and Text-box for JavaScript Code

Note that the image below displays the notice when all buttons (Button, Refuse, More Info) have been enabled.

All Buttons Enabled

All Buttons Enabled

On Scroll: This option enables the acceptance of the cookies while the user scrolls. After user scrolls a defined number of pixels, the notice will be treated as accepted and the cookie notice bar will disappear.

On Scroll

On Scroll

Cookie Expiry: This option specifies how long a cookie should be stored for. When selected a drop-down menu with expiration times appear.

Cookie Expiry

Cookie Expiry

Script Placement: This option specifies where he Javascript code should be placed. If page loading time is a concern, scripts should be placed in the footer.

Script Placement

Script Placement

Deactivation: This option will remove all plugin data if the plugin is deactivated.

Deactivation

Deactivation

Position: This option specifies the location of the Cookie Notice, either at the top or the bottom. Note, if “On Scroll” is enabled the position will be fixed. The default position for the notice is the footer.

Position

Position

Animation: This option specifies how the Cookie Notice will appear: None, Fade, or Slide. The default is Fade.

Animation

Animation

None, Fade, and Slide Animations are displayed below:

None Fade and Slide Animation

None Fade and Slide Animation

Button Style: Button styles can be customized as either None, WordPress, or Bootstrap. The button style selected applies across all buttons on the Cookie Notice. Individual buttons are unable to have different styles.

Button Style

Button Style

Button Style: None. Only highlighted text will appear.

Button Style None

Button Style: None

Button Style: WordPress. The classic grey rectangle will encapsulate the text.

Button Style WordPress

Button Style: WordPress

Button Style: Bootstrap. A more modern rectangle will encapsulate the text.

Button Style BootStrap

Button Style: BootStrap

Colors: This option allows color customization of both the text and the bar. The default for text is white and for the bar is black.

Colors

Colors

Leave a Reply

Please, do not use this form for technical support. To get support for our plugins, use the support forum.

Your email address will not be published. Required fields are marked *

85 comments on "Cookie Notice"

  1. Hi….
    is it possible to make the Refuse Button exit the site and go somewhere (e.g. google.com)

  2. In Polylang / String translations all work as expected, except for the “Revoke button text”
    I can change all fields in the string translation and once saved, it updates to the changed values, except for this one field “Revoke button text”….
    It updates for the English but shows the English text in the second language as well….

  3. Hi there,

    Love the look and feel of the plugin but I’m not sure what would happen if I were to click on the synchronise with WordPress Privacy Policy Page. Could you update your documentation to explain this feature?

    Thanks

    • It’s not yet documented but the idea is:
      since WordPress 4.9.6 there’s a new Privacy Policy setting where you select the page for your Cookie Policy.
      if you enable synchronize option in CN then the WordPress privacy page is synchornized with what you have set as privacy page in Cookie Notice.

  4. Hi!
    Once I have accepted the message, the cookies pop-up still appears when I visit the website. Visitors should only have to dismiss or approve it once for the entire website, no?
    Thanks :)

    • It should not pop up if the cookies are accepted. This points to a javasciprt (or other) issue on your site.

  5. Awesome plugin… Thanks
    In Polylang / String translations all work as expected, except for the “Revoke button text”
    How can I fix this?

    • Have you tried resaving CN settings? This should do the trick.

      • Yes I have tried it…
        I can change all fields in the string translation and once saved, it updates to the changed values, except for this one field “Revoke button text”….
        It updates for the english but shows the english text in the second language as well….

  6. On May 22nd, the day I installed your plugin, my website visits dropped from 30 visits a day to 4 max…
    It seems Google Analytics is not firing until the user accepts the cookies (terms & conditions bar at the bottom). Your plugin does not seem to trigger Google Analytics by default and waits until the user accepts the cookies. Is there an option to change this behaviour on your plugin?

    Thanks

    • That’s exactly how script blocking should work. Google Analitycs code should not be triggered until user accepts the cookies.

  7. Hi all,

    I have the following message displayed in the head of my customers website (WP, Avada Child Theme):
    /* Google Analytics Opt-Out*/

    It wasn’t displayed a few days ago, so I wonder if something went wrong with updates or so…

    thanks for a hint how to remove this text and get it back into source code…

    Cheers, Thomas

  8. What if I am using other services to track people’s activities on the website – eg. HotJar. Can I add that script on the script box too? Or do I just stick with Google Analytics for now? Please advise. Also is it okay for the OK and No buttons to direct to the website URL/# so eg. http://www.abc.com/#, or should I be able to navigate the viewer somewhere else? Please advise. Thank you.

    • You should put HotJar script into the Script blocking field as well.

  9. Hi, thank you for this plug-in.
    Where can I add CSS code to adjust to my website?

    Peter

    • You can do that in Additional CSS in Customizer or in your theme stylesheet.

  10. Hey,

    great plugin!

    But i have a question: How can i change the background colors of the buttons?

    I tried this CSS Code, but it doesnt work:

    #cookie-notice .button.wp-default {
    background: #f29400;
    color: #fff;
    font-size: 43px; /*Schriftgröße*/
    border-radius: 6px 6px 6px 6px; /*Abrundung der Ecken*/
    }

    • Hi,
      Just try adding the !important attribute to override the style:

      #cookie-notice .button.wp-default {
      background: #f29400 !important;
      color: #fff !important;
      font-size: 43px !important; /*Schriftgröße*/
      border-radius: 6px 6px 6px 6px !important; /*Abrundung der Ecken*/
      }

  11. Hi,
    I have WPML web with 4 languages. I have different google analitycs script for each language. Is it possible to execute a script or another according to the country selected by the visitor?

    Thanks!

  12. Hola Bartosz, the Cookie looks good!
    The cookie notice I have read and registered everything as recommended. Where can I see the result?
    Thanks for your answer, kind regards Wilram

    • It should be visible on the frontend of your site.

  13. Hi,
    The cookie notice bar disapears even the cookie is not accepted or revoked or something.
    I surfed every page and the scroll amount is 100px. What am I doing wrong?
    Regards

  14. If a visitor accepts cookies for one month, is it possible for them to revoke their permission before the month is up?
    Just wondering if there’s a shortcode or something I could put on the site – maybe on my privacy page?

    Thanks!

    • Yes, that’s what Revoke consent option does.

  15. Hey everyone.
    We wrote a short jQuery script that extends the wordpress footer with padding so the cookie note overlay does not hide the footer navigation.
    Feel free to use if someone needs it:

    jQuery(document).ready(function ($) {
    if ($(‘#cookie-notice’).length > 0) {
    let originalPaddingButtom = $(‘footer’).css(‘padding-bottom’);
    $(‘footer’).css(‘padding-bottom’, $(‘#cookie-notice’).css(‘height’));
    $(‘#cn-accept-cookie’).on(‘click’, function () {
    $(‘footer’).css(‘padding-bottom’, originalPaddingButtom);
    });
    }
    });

  16. Hey guys, great plugin, thank you. Is there a way/planned feature to display it only to the EU visitors?

    • Yes, but in the Pro version only (yet to be released)

  17. The cookie notice only appears on the blog, but the blog is not the home page.

  18. Hallo,
    thanks for this plugin. Unfortunately I cannot use it in other languages in the same Website. it is correct or i’m doing same mistake?
    best regards

  19. URGENT!!! Since the last update a few days ago, the Cookie Notice Plugin does not work anymore on my Blog – what schould I do!

    Kind regards,
    Tina (liebewasist.com)

  20. We need the popup notice in different Languages, so how can I setup this inside WordPress Pages ?

    • You have to use Polylang or WPML plugins to handle that.

      • Do you have more details on how this works? We have the plugin on a site with multi-language and can’t work out how to add another language

  21. Is it possible to highlight the OK button?

  22. Hi, Thanks for this tool! Am I correct in assuming I need to add any cookie tracking code (in our case Google analytics and HubSpot) in the script blocking box? Or how do I make sure they are “connected” to disable cookies? Thanks again!

  23. Hi, what is the way to block cookies with script? is there any example or formula?
    Thanks.

  24. Thanks for making this so easy! Great plugin.
    Since we’re able to choose Bootstrap as a button option and you’ve already got a CSS box set up, it would be great if we could use the Bootstrap button CSS simply by adding it to that CSS box. https://getbootstrap.com/docs/4.0/components/buttons/
    So, for example, I could simply add “btn btn-success” if I wanted to change my button to the green shade you see on the Bootstrap page.
    Thanks again for this great tool.

    • Sure, that’s what just introduced in 1.2.43 CSS class option is for.

  25. Hi guys,

    Firstly, thank you for creating this plugin. Combining ITS functionality with other GDPR preparations, I hope to be GDPR compliant in due course.

    I do have TWO questions though about the plugin surrounding the use of Google Analytics.

    1) I have added the GA tracking code to the plugin as suggested…what does the message “To get the cookie notice status use cn_cookies_accepted() function.” mean? i.e. what action do I have to take if I have entered the GA tracking code?

    Please bearing in mind that I am not a developer or are familiar with code.

    2) Once the GA tracking code has been added to your plugin, will it track the user throughout the entire website or only on that page? i.e. can I/should I disable the MonsterInsights Google Analytics plugin?

    Thank you for your time.

    Regards

    Jeremy

    • Hi,
      Regarding your question:
      1. It’s enough to put the GA tracking cod into the blocking script area in the Cookie Notice. the cn_cookies_accepted() function is additional funtionality to be used by developers
      2. If you use custom solutions for Google Analitycs (like in a plugin or theme) make sure it’s Cookie Notice compatible. Otherwase you should disable that and use the CN script blocking functionality.

    • Hi guys,

      I’m also fighting with configuring the plugin in a way that the GA tracking code can be refused and a message is shown to the website visitor so that he knows that GA won’t track any data.

      Could you please give an example how to use the cn_cookies_accepted(). I’m a designer, not a developer and always feel a little bit scared to do scripting…

      Thanks a lot in advance,

      Alex

      • You don’t have to use the cn_cookies_accepted() function for anything if you don’t know how to do it.
        Just paste the Google Analitycs code into the Script blocking -> Body in Cookie Notice settings and save. That’s it.

  26. Thank You!

  27. Hi!

    the plugin is really great!
    Is there a way to disable the cookie notice on a single page? That would be very helpful.

    Best regards,
    Oliver

    • Yes, there are some code examples in our support forums.

  28. hello, I need information, the data collected and the track of consensus data from users, where they are stored? How can I cancel a user’s consent if he asks me to?

    • Cookie Notice does not store any user information.

  29. Hi It works on desktop but only satays up for seconds, not long enough for user to do anything , then disappears.
    It did not work on mobile.

  30. Hi. Lovely plugin. How do I redirect if user chooses NO ?

  31. This plugin is simply wonderful, BUT is not clear how insert javascript to block.
    Have I to insert all entire javascript or just the file eg. foo.js or other.
    And one more thing … If I want to block more than one javascript how I have to insert them ? One after the other, comma separated ore something else.
    Thank You very much
    Ale

    • Javascript based script blocking is not available in Cookie Notice, but we plan to release an advanced and very flexible js based script/iframe blocking functionality in Cookie Notice Pro.

  32. I have a question to the refuse …
    should I place there all my scripts?
    Like Google Tag Manager or Analyitics, Facebook Pixel, etc …

    • There are 2 script blocking fields in the plugin – for the head and body sections of your site. Just use these.

  33. The bar is not “sticky” on Android devices – you just see it, when you scroll all the way to the buttom.
    Desktop and iOS works fine. Any ideas?

    Thanks!

  34. Working fine accept the banner is not showing up on my index.php so it’s useless then.
    Any ideas?

    Regards

  35. From where I can get JavaScript Code for Google analytics?

  36. Hello,
    If possible create or add a script in script field which will block website till user not choose use cookies or not?
    I mean a cover website with shadow till user not choose use r not.

    Best regards

  37. Hello,
    I used this plugin, everything was set and saved and worked fine. Then for some reason the Read More button stopped working and it does not redirect to the page, the page opening is the Main Page. It is not working with custom link or page link either. Could you please advise what the issue might be? Thanks.

  38. I have a multilanguage text.
    How can I view the post in the current language chosen by the user?

  39. Hey,
    can i use your Cookie plugin to show a text + a “show more-button” .
    And if I click on “show more” to open a second (bigger) window with more Text + a button( with a link to my AGB-page for example) ?

    Best regards,
    Simon

  40. Buen Plugin. Felicidades!

  41. Hi,

    I have your plugin on http://www.madebyellen.com. How can I make that the cookie bar only appear once? Now It’s showing every time I visit the blog, also after excepting the cookies.

    I hope to hear from you, thank you already so much!

    Greetings, Ellen

    • Ellen, please use a support forum for the issues (not the comments)

  42. Hi d factory

    I just Installed your plugin. I use WPLM because Ihave a multilanguaje site. How can I configure the Cookie text for differents languajes?

    Thanks a lot

    Best regars..
    Marcos

    • Just use WPML String Translation tool.

  43. Hi,

    how can i block cookies? There i see option to refuse cookies, and then i must pust some script in there, and idon’t know which script. Where do i get this script?

    Thank you for your time.

    • yes
      Where do i get this script ?

    • Good questions… Where do i get this script ?

  44. Hi!
    I just installed your wonderfull plugin and read the support about WPML.
    I’ve translated the strings, but they only appear in the same language…
    Can you help, please?
    Thank you
    Jordi

    • It should work fine if you used WPML’s String Translation tool.

  45. how we can set the language ?

    • Use WPML or Polylang plugin to handle that or one of the CN bultin filter hooks to set different options (like message or button text) per your custom conditions.

      • Hi, you mention we can use “one of the CN bultin filter hooks”. Are those hooks documented anywhere? I cant find them.

  46. Is there a way to make the whole banner clickable on mobile devices to accept the cookie terms of use instead of using a button? i like the scroll idea but it overrides my header on mobile. so i want my customers to click on it to make it disappear.

  47. Great plugin i’m already using.

    Only thing missing is option to change color of the button.

  48. I get an 404 error using Polylang for translating the cookie notice. I’ve tried everything, but something is not working. Can you please let me know if this is common and what I can do about it?

    • This is a Polylang or your installation issue, not Cookie Notice itself.

      • In Polylang I can not traduce the text. Where should I find that option?

  49. The documentation say it is compatible with WPML. How can I configure the message in several languages?

    • While using WPML you have to have String Translation tool enabled. All the Cookie Notice strings are available for translation from there.

  50. It does its job, thank you! However, clicking on ok makes the notice fade away, but the space it took remains (thus leaving an empty space between my footer and the end of the browser window). Can this behaviour be changed so that it completely disappears?

  51. How do I have the warning only show up on certain pages of my website, ie the ‘Shop’

    • Please search the forums – the answer is there.

  52. hi, gread plugin, my suggestion: a option for
    button style — > custom css
    will be nice, every update i need to override with my own css.

    • Hi, for GDPR is required that no one cookie is set before user accept, and if user refuse, the user can navigate the site without no one cookie. So, my blog ha 34 cookies but no one has blocked from this plugin. I don’t understand the configuration: I must put a single script for every 34 cookies to block them? And where I find these scripts?
      Thank you.