Integrations

Learn how to install cookie consent banner and privacy policy in Drupal
Step 1

Go to your Drupal root folder, and extract the Drupal module in "module" folder. The extracted folder’s name will be "seers_cookie_consent_privacy_policy"

login
Step 2

Login to your Drupal Admin Panel to configure the module.

login
Step 3

In admin panel, go to "Manage > Extend , and search for “Seers Cookie Consent" in search bar. Select and install the plugin.

login
Step 4

Go to "Manage > Configuration" and click on "Seers Cookie Consent Form".

login

You will see the message "You saved the configuration".

login
Step 5

Enter and save the Domain Group ID.

login

Configure the consent banner, and copy-paste its code into any page or your website template.

Free installation service.

Our Support Team is here to answer your questions and help to install the module. Contact us at support@seersco.com, and we’ll be happy to help!

Manually implementing prior consent:

Our script automatically blocks cookies and apply prior consent of known scripts, but if you didn’t find yours script blocked, you can block it manually: here is an example of how you can manually blocks
Google Analytics script.

To enable prior consent, add attribute “data-cookieconsent” in script tags which sets cookies. You can use comma to separate the categories “preferences”, “statistics”, “necessary”, “unclassified” and “marketing” according to the type of cookies that script generates. Secondly change the attribute “type” from “text/javascript” to “text/plain”. e.g. Applying prior consent on Google Analytics: In the Header Code field, find the Google Analytics code which looks like below:

Before:

< script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-00000000-0', 'auto');

ga('send', 'pageview'); < /script>

After (in bold):

< script type="text/plain" data-cookieconsent="statistics"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-00000000-0', 'auto');

ga('send', 'pageview'); < /script>