Why do I need a cookie banner?
Before adding your Enzuzo Cookie Banner to your site, make sure you configure it correctly in the cookie banner settings of the Enzuzo dashboard.
Once you’ve customized your cookie banner to your liking, scroll to the top of the page and click the green “Add to Website” button.
Click on “Copy to clipboard” and then click “Done”.
Open your drupal website.
Click Structure > Block Layout > Place Block (in header) > Add custom block > Basic Block.
Add a description and paste the generated code snippet into the body.
Set text format to “Full HTML” and click Save.
Set Region as header and click “save block”.
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 “source” delete the field and repaste the generated code snippet here. Click “save” and return to preview the site.
You should now see your custom cookie banner on the site.