IDC Names Securiti a Worldwide Leader in Data Privacy

View
Drupal

How to Add Cookie Banner on a Drupal Website

To embed a Securiti Cookie Consent banner on a Drupal site, follow this procedure:

1

In the webform (placed at the end of this page), simply enter the complete URL of the website you want to scan, starting with ‘https://’, and click on “Scan & Get Cookie Banner”

  • e.g. https://www.securiti.ai
  • (If you have already signed up, visit Securiti and log in)
2

Select the free version and Create your account (enter your email & password).

3

Verify your email address (the email will be sent to your inbox).

4

Login with your verified email address and password

5

If you see the page below, click on GO.

Drupal Cookie Consent Configuration
6

From the Cookie Consent dashboard, click on the (hamburger) icon on the top of the left menu, then click on ‘Cookie Consent’

Drupal Cookie Consent Dashboard
7

In the row with your website’s domain, click on the “Preview” link under the “Consent banner” Column.

Drupal Cookie Banner Settings
8

Then, navigate to “4. Consent Code,” and follow the instructions in this section

Drupal Cookie Consent Code
9

Verify your Cookie Consent banner is working on your website and the Preference Center is working.

Cookie Consent Preferences Verification
10

The solution will now periodically scan your entire website and categorize cookies automatically.

Drupal Navigation Instructions

In a separate browser tab, login to your Drupal website’s admin panel

1

Click on Manage > Go to the structure tab > click on ‘block layout’

2

Scroll down and Choose any footer section (‘e.g. footer first’) > place block

Drupal Footer Block
3

Then, click on +add custom block > enter the name of the block (e.g. widget)

  • In ‘Text Format’ Select - Full HTML Format
  • Click on ‘Source’ and paste the cookie banner installation code:
    • E.g. <link rel='stylesheet' type='text/css' href='https://cdn-prod.securiti.ai/consent/cookie-consent.css' />
  • Save the changes.
Drupal Cookie Banner Installation Code
4

Then,

Drupal Add Custom Block
5

Next, Uncheck the Display title and Check all of the pages where you want to display the cookie consent banner.

6

Select the needed region and click ‘Save’ to apply the changes.

7

Scroll down to the bottom of the page and click on ‘Save Blocks’.

Drupal Block Configuration
8

Go to your webpage to Check your widget.

The solution will now periodically scan your entire website and categorize cookies automatically.

Check our Cookie Integrations

Follow