Support Home > Privacy > Cookies & Consents Banner

Cookies & Consents Banner

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


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

To help WordPress users in Europe who wish to comply with the regulations, we have created a widget that can be enabled from the Dashboard.

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

Enabling the Widget

You can add the widget — titled Cookies & Consents Banner (Jetpack) — via Appearance — Widgets in your dashboard. It can be added to any widget position, and the banner will display at the bottom of the screen when the site is loaded.

Note: The banner will only appear on posts or pages on your site that display the widget area to which you add the widget. To display the banner on the front page of your site, be sure to add the widget to a widget area that appears in that location. This will be dictated by your theme.

Widget Features & Options

  • Banner text — The banner will display a default cookie notification message, which can be customized to your needs or liking.
  • Privacy Policy Link — 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 https://automattic.com/cookies, 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 – 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 – The text of the button that users will click to accept and dismiss the cookie notice. The default text is Close and accept.
  • Capture consent & hide the banner — The banner’s dismissal rule can be set to one of three options: when a visitor specifically clicks on the button (this option is required for sites running Jetpack Ads), when a visitor scrolls down the page, or after a specific amount of time (as determined by you). If choosing to dismiss the banner after a specific amount of time, the minimum length is 3 seconds, and the maximum length is 1,000. Once the banner accepted/hidden, a technical cookie named eucookielaw is set, which prevents it from being displayed until the acceptance/consent expires (see Consent expires after below). If your site is using Jetpack Ads, an additional technical cookie named personalized-ads-consent will also be set, following the same expiration rule and allowing personalized ad content to be served to the accepting visitor.
  • Consent expires after — The amount of time a visitor’s acceptance of your cookie policy will be honored. Once expired, the banner will show again to the visitor, and they will have another opportunity to accept it The default value is 180 days.
  • Color scheme — 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.

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

If you need help covering Jetpack features in your own privacy policy, you can use our helper tool here.

Important Notice

Please note that it is your responsibility to ensure that you comply with the relevant applicable laws in your jurisdiction. This widget is designed to help you take steps towards this, but is not offered as a guaranteed or comprehensive solution for compliance with the ePrivacy Directive, GDPR, or other applicable laws and regulations.

Additional Information

  • Table Of Contents

  • Categories

  • Contact Us

    Need more help? Feel free to contact us.