All Collections
Cookie Banner - Drupal
Cookie Banner - Drupal

Cookie Banner Installation Instructions for Drupal

Updated this week

Why do I need a cookie banner?

To maintain GDPR compliance your website must display a cookie consent banner which allows the user to accept/decline the use of cookies while browsing your site.


  1. Before adding your Enzuzo Cookie Banner to your site, make sure you configure it correctly in the cookie banner settings from the Enzuzo dashboard through the "Configure" page on the top navigation bar. For more on configuring your cookie banner, see this article.

  2. To Enable/Disable the Cookie Banner click on "Add the Website" on the top navigation bar.

  3. On the "Add to Website" page, select HTML Install

  4. Click Copy Code to copy the HTML code snippet

  5. Open your drupal website.

  6. Click Structure > Block Layout > Place Block (in header) > Add custom block > Basic Block.

  7. Add a description and paste the generated code snippet into the body.

  8. Set text format to “Full HTML” and click Save.

  9. Set Region as header and click “save block”.

  10. Go back to the site. If the element is showing the raw HTML instead of the custom integrated code, hover over the section, click “edit” at the top right. Then click the pencil beside the element and select “quick edit”. Click “sourcedelete the field and repaste the generated code snippet here. Click “save” and return to preview the site.

  11. You should now see your custom cookie banner on the site.

Updating Privacy Policy Link Step-by-Step

  1. Enzuzo allows for a custom privacy policy URL on your Cookie Banner. To do so, on the "Configure" tab from the "Cookie Banner" settings, click "Banner Text".

  2. Here in the "Banner Text" settings, you can change different text that appear on your cookie banner, such as banner message, as well as the "Privacy Policy URL". Click "Save" once you've finished editing.

  3. In your store, by hovering over the privacy policy link on your cookie banner, you should be able to see the updated link in the bottom left corner.

Did this answer your question?