Support Home > Utilities > Cookies & Consent Banner Jetpack widget

Cookies & Consent Banner Jetpack widget

This Jetpack widget was formerly known as the EU Cookie Law widget.

The European Union’s ePrivacy Directive – often called the ‘cookie law’ – and the General Data Protection Regulation (GDPR) place requirements on website owners and operators to provide information about their use of cookies and gain consent for them.

If you’re in Europe and want to comply with the regulations, the Cookies & Consent Banner widget can help.

The Extra Sidebar Widgets feature is required and is not enabled by default. If you do not see the functionality described below, please visit Control Jetpack’s Features on One Page to learn how to activate it.

Enable the widget

You can add the Cookies & Consents Banner (Jetpack) widget via Dashboard →Appearance → Widgets

Add it to any widget position, and the banner will display at the bottom of the screen when the site is loaded, no matter in which widget position you place it. Make sure the pages and posts actually have the widget area where you placed the Cookies and Consent banner; otherwise the banner will not display on those posts/pages.

To display the banner on your site’s front page, be sure to add the widget to a widget area that appears in that location. Your theme will dictate which widget appears on the homepage.

Widget features & options

You can customize the Cookies & Consents Banner widget to match your site and business needs, via the following options:

  • Banner text: the banner will display a default cookie notification message, which can be customized to your needs or liking.
  • Privacy Policy Link: this is the link to your site’s privacy policy. If available on your site, this will default to the URL of your Privacy Policy page. If no such page is available, it will default to the Automattic Cookie Policy, which covers Jetpack. If you wish to link to any different URL, you can select the Custom URL option and add it.
  • Link text: this is the text of the link pointing to your site’s privacy policy (see Privacy Policy Link above). The default text is “Cookie Policy”.
  • Button text: This is the text of the button that users will click to accept and dismiss the cookie notice. The default text is “Close and accept”. You can customize the button text to match your style.
  • Capture consent & hide the banner: The banner’s dismissal rule can be set to one of these three options:
    • When a visitor clicks explicitly on the button – this option is required for sites running WordAds
    • When a visitor scrolls down the page
    • After a set amount of time that you specify, with a minimum length of 3 seconds and a maximum length of 1,000 seconds
  • Consent expires after: once your banner is accepted or hidden by your visitor, a technical cookie named eucookielaw is set, which prevents it from being displayed until the acceptance or consent expires. Once expired, the banner will be shown again to the visitor, and they will have another opportunity to accept it. The default value is 180 days.
  • Color scheme: you can display the banner using a dark or light palette. The relevant CSS selector is #eu-cookie-law, if you wish to customize its appearance further.
  • Position: you can display the banner at the top part of the screen or at the bottom, which is the default value.

In addition to this widget, you may wish to add a link to the Jetpack cookie documentation and/or the Automattic Cookie Policy. You can add this to your menu or elsewhere.

WordPress and Jetpack-powered sites make use of cookies for a variety of purposes. For more information, please refer to our dedicated cookie documentation and the Automattic Cookie Policy.

Create your own privacy policy

If you want to include Jetpack features in your privacy policy, use our helper tool to generate this information.

If your site is enrolled in WordAds, an additional technical cookie named personalized-ads-consent will be set, following the expiration rule you designated in the widget settings.

This allows personalized ad content to be served to the accepting visitor.

Full-Site editing themes

Full-site editing themes have a specific Cookie and Consent Block.

Important notice

Please note that it is your responsibility to ensure that your site complies with the relevant applicable laws in your jurisdiction.

This widget is designed to help you take steps towards this. Still, it is not offered as a guaranteed or comprehensive solution for compliance with the ePrivacy Directive, GDPR, CPRA, or other applicable laws and regulations.

Additional information on cookies and GDPR

Still need help?

Please contact support. We’re happy to advise.

  • Table Of Contents

  • Contact Us

    Need more help? Feel free to contact us.