Skip to content

CMS · Install guide

Cookie consent for Joomla

Updated

Joomla has no site-wide head-code field in core, so the cleanest way is a child template: your change survives template updates.

Setup time
About 5 minutes
Coding
None: copy and paste
Laws covered
GDPR, UK GDPR, CCPA, DPDP
Google Consent Mode v2
Built in, basic or advanced

Set up cookie consent on Joomla in 3 steps

  1. Create a free accountAdd your website. Kiescy scans it and finds the trackers that need consent.
  2. Paste one script into JoomlaYour banner appears and starts holding back trackers until visitors choose.
  3. Check it worksOpen your site in a private window and run the free check to confirm nothing loads early.

Why Joomla sites need cookie consent

Joomla runs many association, government and business sites in Europe, where GDPR enforcement is strongest. Analytics, maps and embedded video are common additions that need consent.

Your options on Joomla

ApproachGood forWatch out for
Joomla's Privacy componentData requests and privacy consent on registrationDoesn't provide a cookie banner
A cookie consent extensionAdmins who prefer extensionsQuality and regional rules vary widely
Kiescy in a child templateLean sitesRe-check after switching templates

Add your privacy policy

Create an article for your privacy policy, switch the editor to Toggle Editor (plain HTML), and paste the embed. Then add it to a footer menu. Joomla's Privacy component can also link it for consent on registration.

Article in HTML mode
<div data-kiescy-doc="privacy"></div>
<script src="https://script.kiescy.com/embed/policy/YOUR_SITE_KEY.js" async></script>

Check that it works

Open your site in a private window: the banner should appear for a first-time visitor. Then run the free privacy check, which opens your site as a new EU visitor and lists anything that still loads before consent.

Kiescy's monitoring repeats that check on a schedule and emails you if a new script starts tracking before consent.

What your Joomla visitors see

Kiescy detects where each visitor is and shows the version their law requires, so you don't have to choose between the strictest banner for everyone and no banner at all.

GoodEU, UK, India and other opt-in regions: an opt-in banner. Analytics, ad pixels and embeds wait until the visitor agrees; Reject is as easy as Accept. Banner text: We value your privacy. We use cookies to run this site and, with your permission, to measure visits and show relevant ads. Buttons: Accept all, Reject all, Customise.
GoodCalifornia and other US states: an opt-out notice with a "Do Not Sell or Share" link, and Global Privacy Control honoured automatically. Banner text: Your privacy choices. We share some data with advertising partners. You can opt out at any time. Buttons: Do Not Sell or Share My Personal Information, OK.

Trackers Joomla sites usually load

These are the tools that most often need consent on Joomla sites, and how Kiescy treats them. Run a cookie scan to see exactly what yours loads.

ToolCategoryWhat happens
Google Analytics (template or extension)AnalyticsHeld back once your scan finds it
Embedded maps and videoPerformance / socialIframes need a click-to-load approach
Social sharing extensionsSocialOften load third-party scripts

Cookies Joomla sets itself

Besides the tools you add, Joomla sets some cookies of its own. Essential ones don't need consent, but they belong in your cookie policy.

CookiePurposeCategory
Session cookie (random hash name)Keeps visitors' and users' sessionsEssential
joomla_user_stateRemembers a logged-in userEssential

Names and lifetimes change over time, so treat this as a guide and rely on your own scan for your cookie policy.

Troubleshooting

The banner disappeared after a template update

You edited the parent template. Move the script to a child template so updates don't overwrite it.

Compliance checklist for Joomla

  • A consent banner that blocks non-essential trackers until the visitor agrees (opt-in for the EU, UK and India).
  • A "Do Not Sell or Share" option for California visitors, and Global Privacy Control honored.
  • A privacy policy that names the tools above, linked from every page.
  • A cookie policy listing the cookies your scan finds.
  • A way for people to request, correct or delete their data.
  • Records of each consent choice, kept as proof.
  • Privacy policy linked in the footer menu and on the registration form (Privacy component → Consent plugin).

Guides for Joomla site owners

Questions

Does it work on Joomla 3?

Yes, by adding the script to your template's index.php head, but Joomla 3 is end-of-life and should be upgraded.

Does Joomla have a built-in cookie banner?

No. Joomla's Privacy component handles consent to a privacy policy and data requests, not cookie consent.

Get compliant this afternoon, not this quarter.

Set up your policies, banner and request form in one place. Free while Kiescy is in early access.