Search Results :

×

Configure the Cookies Consent Settings for Drupal

The miniOrange Privacy & Compliance Suite helps Drupal website owners manage cookie consent, privacy policies, user data requests, and audit records from one place. It also allows admins to customize how cookie consent is displayed, collected, and managed to support regulations such as DPDPA, GDPR, and CCPA.In this document, we will explain how to configure and manage cookie consent settings on your Drupal site.

  • Download the module:

    composer require 'drupal/mo_privacy_compliance:^1.0'

  • Navigate to Extend menu on your Drupal admin console and search for miniOrange Privacy & Compliance Suite using the search box.
  • Enable the module by checking the checkbox and click on the Install button.
  • You can configure the module at:

    {BaseURL}/admin/config/privacy/policy

  • Install the module:

    drush en drupal/mo_privacy_compliance

  • Clear the cache:

    drush cr

  • You can configure the module at:

    {BaseURL}/admin/config/privacy/policy

  • After installing the module, navigate to Configuration → Privacy & Compliance → Cookie Consent.
  • You will be redirected to the Cookie Consent Settings page. Under the Settings tab, configure the cookie consent-related options as described below.
Drupal Privacy & Compliance Suite - Cookie Consent Settings Page

  • Expand the Banner Settings section.
  • Enable the Enable Cookie Consent Banner toggle to display the consent banner to visitors.
  • From the Banner Position drop-down menu, select where the consent banner should appear on the page.
  • Enter the required text in the Banner Heading field.
  • In the Banner Description field, add a brief message explaining how and why cookies are used on your Drupal site.
  • After that, click the Save Configuration button.
Drupal Privacy & Compliance Suite - Banner Settings

  • Expand the Button Labels section.
  • Enter the text to display for the following cookie consent buttons:
    • Accept All
    • Decline All
    • Customize
    • Save Preferences
  • You can keep the default labels or modify them according to your website requirements.
  • After that, click the Save Configuration button.
Drupal Privacy & Compliance Suite - Button Labels

  • Expand the Privacy Policy Link section.
  • Enter the text to display for the privacy policy link in the Privacy Policy Link Text text field.
  • Add the internal path or complete URL of your privacy policy page in the Privacy Policy URL or Path field.
  • Enter the current policy version in the Policy Version field. Update this version whenever the privacy policy or cookie categories change.
  • To collect consent again from all visitors, click the Re-request consent from all visitors link.
  • After that, click the Save Configuration button.
Drupal Privacy & Compliance Suite - Privacy Policy Link Settings

  • Next, configure how the privacy policy page will be displayed.
  • Review the default Privacy Policy Page URL. To use a custom URL, create a path alias that points to /privacy-policy.
  • Anonymous users cannot view the privacy policy page by default. Click Manage Anonymous User Permissions button and grant the View Privacy Policy Page permission to the Anonymous User role.
  • Enable Include cookie section to add cookie usage details to the privacy policy.
  • Enable Show table of contents to display linked sections at the top of the policy page.
  • Select the Last Updated Date. Leave it blank to use the current date.
  • Click Preview Policy to review the generated page, then click Save Configuration.
Drupal Privacy & Compliance Suite - Policy Page Settings

  • Expand the Compliance Mode section.
  • Select the required compliance mode from the Compliance mode dropdown.
  • After that, click the Save Configuration button.
Drupal Privacy & Compliance Suite - Compliance Mode Settings

  • Expand the Cookie Settings section.
  • In the Consent Cookie Name field, enter the name of the cookie used to store visitors' consent preferences. Avoid changing this name after the site is live.
  • In the Consent Expiry (Days) field, specify how long the consent remains valid before the banner is displayed again.
  • In the Cookie Domain field, enter the domain for which the consent cookie should apply. Leave this field empty to use the current domain.
  • Click Save Configuration to apply the settings.
Drupal Privacy & Compliance Suite - Cookie Settings

  • Expand the Script & Iframe Blocking section.
  • Enable Enable Script Blocking to prevent third-party scripts from loading until the visitor provides consent for the relevant category.
  • Enable Enable Iframe Blocking to prevent third-party embedded content from loading until consent is provided.
Drupal Privacy & Compliance Suite - Script & Iframe Blocking

  • Under Re-scan for Third-Party Scripts, enter the website page URL in the URL to Scan field.
  • Click Scan Now to detect third-party trackers and automatically register newly identified scripts as consent services.
  • Click Save Configuration to save the settings.
Drupal Privacy & Compliance Suite - Script & Iframe Blocking

  • Expand the Re-open Badge section.
  • Enable Show Cookie Settings Badge After Consent to allow visitors to reopen and update their cookie preferences after providing consent.
  • Note: This option is required for GDPR compliance, as users must be able to withdraw or modify their consent.
  • In the Badge Label field, enter the text to display on the badge.
  • After that, click the Save Configuration button to apply the changes.
Drupal Privacy & Compliance Suite - Re-open Badge

  • Expand the Color Scheme section.
  • Select the preferred colors for the following elements:
    • Banner background
    • Banner text
    • Accept button background and text
    • Decline button background and text
    • Customize button background and text
  • Choose colors that match your website branding and maintain clear text visibility.
  • Click Save Configuration to apply the changes.
Drupal Privacy & Compliance Suite - Color Scheme

  • Navigate to the Services tab to configure third-party services that use cookies, scripts, or embedded content on your website.
  • Each service is assigned to a consent category. The related scripts or iframes are loaded only after the visitor accepts that category.
  • To create a new service, click + Add Service.
Drupal Privacy & Compliance Suite - Consent Services

  • After clicking + Add Service, configure the service details as follows:
  • Enter the third-party service name in the Service Name field.
  • Enter the service provider's name in the Provider field.
  • Add the provider's privacy policy link in the Privacy Policy URL field.
  • Select the appropriate consent category from the Category dropdown menu.
  • Add a brief explanation of the service in the Description field.
  • Enter the related script domains or file names in the Script Patterns field, separated by commas.
  • Enable Required if the service is strictly necessary and cannot be declined by visitors.
  • Enable Default ON to keep the service pre-selected in the consent panel.
  • Click Save to add the service.
Drupal Privacy & Compliance Suite - Add Consent Services

  • Navigate to the Records tab to view and manage users' cookie consent records.
  • Use the available filters to search records by date, username, consent status, user type, category, or state.
  • Click Apply Filters to display matching records, or click Reset to clear the selected filters.
Drupal Privacy & Compliance Suite - Consent Records

  • Review details such as the user, IP address, accepted categories, policy version, consent status, user agent, and consent date.
  • Click Details to view complete information for a specific consent record.
  • Use Export CSV or Export JSON to download the consent records for reporting or audit purposes.
Drupal Privacy & Compliance Suite - Consent Records Details

The Dashboard provides an overview of visitor consent activity for the last 30 days, including accepted, rejected, and partial consent choices.

  • Navigate to Configuration → miniOrange Privacy & Compliance Suite.
  • Click the Dashboard tab.
  • Review the consent summary, including:
    • Total – Total number of consent records.
    • Accepted – Visitors who accepted all applicable categories.
    • Rejected – Visitors who rejected the applicable categories.
    • Partial – Visitors who provided partial consent.
  • Review the Category breakdown to see acceptance, rejection, and acceptance rates for individual categories such as Functional, Analytics, and Marketing.
  • Click Export CSV to download the consent activity data for reporting or compliance purposes.
Drupal Privacy & Compliance Suite - Dashboard

The Audit Log maintains a permanent, tamper-evident record of consent decisions and administrative changes. It can be used to review consent activity, verify log integrity, and export records for compliance reporting.

  • Navigate to Configuration → miniOrange Privacy & Compliance Suite.
  • Click the Audit Log tab.
  • Use the available filters to narrow down the audit entries:
    • Username – Search by username or administrator.
    • Event type – Filter entries by event type.
    • Action – Filter by the action performed.
    • Date from / Date to – Specify a date range.
  • Click Filter to view matching audit entries.
  • Click Reset to clear the applied filters.
  • Review the audit entries, including the Date, Event Type, Action, User, Summary, and Consent Record ID.
  • Click Verify Integrity to verify that the audit log entries have not been altered.
  • Click Export CSV to download the audit log for compliance reporting or record-keeping.
Drupal Privacy & Compliance Suite - Audit Log

 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again

We'll Reach Out to You at the Earliest!


ADFS_sso ×
Hello there!

Need Help? We are right here!

support