Skip to main content

Joomla

Joomla has no OptSens-specific extension. Add the OptSens snippet to your template's <head>, either by editing the template or through a head-tag extension, so it loads on every page.

Get your snippet

Your snippet, with your Domain ID already filled in, is on the Integration page in the dashboard, and in the Integration step of the guided onboarding. It looks like this:

<script src="https://cdn.optsens.com/optsens.min.js/YOUR_DOMAIN_ID"></script>

Add the snippet

  1. In the admin, go to System > Site Templates (older versions: Extensions > Templates) and open your active template.
  2. Edit index.php and paste the snippet just before the closing </head> tag.
  3. Save.

If you cannot edit the template, add the snippet with a head-tag extension instead. The script must load first-party in <head>, before any Google or marketing tags.

After installing

  1. Open your site in a private window. The banner shows on first visit.
  2. Run the implementation check. During first-time setup it runs as the onboarding Verify step, and you can run it at any time from the dashboard Integration page.
  3. Work through Verify installation.

If the banner does not show, start with Install troubleshooting.