Learn how to install cookie consent banner and privacy policy in joomla

Add your custom Seers script for the cookie banner to your template's index.php file inside the head tag and after the jdoc headtag ( ) marked with outline in red:

< script data- key=“XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXX” data-name="CookieXray" src="https://seersco.com/script/cb.js" type="text/javascript">


Seers Cookie Consent Description

Plugin name for Joomla!: Seers | Cookie Consent Banner and Privacy Policy

Plugin Installation instructions for Joomla

  • Step 1:

    Log in as an administrator on your Joomla Website. login
  • Step 2:

    Go to "Extensions" tab in the top ribbon and select "Manage > Install". Install Extension

  • Step 3:

    Select the tab “Upload Package File” and drag and drop the “Seers Cookie Consent Banner and Privacy Policy” zip file. You will see a message “Installation of the plugin was successful” on the top of the page. Upload Extension
  • Step 4:

    Go to “Manage” in the left-side menu. Manage Extension
  • Step 5

    Search and select “Seers Cookie Consent” in the plugins list. Select Extension
  • Step 6:

    Click on the “Enable” button on the top-left corner of the page. Enable Plugin
  • Step 7:

    After the plugin is enabled, click on the “Edit” button on the top-left corner of the page. Edit Plugin
  • Step 8:

    Enter “Domain Group ID” that you obtained from Seers Cookie Consent. Add Domain Group Id
  • Step 9:

    Click on the “Save” button or “Save & Close” button to save plugin. Save Plugin


Go to your Joomla! The Site to check if the plugin is working or not.

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:


< 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>