Install guide: Joomla

Add GetFoxChat to your Joomla site

Create a user.js file in the Cassiopeia template's js folder (System, Site Templates, Cassiopeia Details and Files) containing a few lines that add the GetFoxChat script tag to every page; Cassiopeia loads user.js on every page automatically. The line loads the GetFoxChat chat bubble on every page, and the operator behind it answers your visitors from your own public pages.

Before you start: Administrator access to System, Site Templates; the steps use the built-in Cassiopeia template, which loads a user.js file you create. Joomla core has no admin field for pasting a site-wide script tag. source

The line to add

Yours has your own site ID in place of YOUR_SITE_ID.

<script src="https://getfoxchat.com/widget.js" data-site-id="YOUR_SITE_ID" defer></script>

On Joomla, this is what goes in media/templates/site/cassiopeia/js/user.js:

(function () {
  function add() {
    var s = document.createElement('script');
    s.src = 'https://getfoxchat.com/widget.js';
    s.setAttribute('data-site-id', 'YOUR_SITE_ID');
    document.body.appendChild(s);
  }
  if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', add); } else { add(); }
})();

Add GetFoxChat to Joomla, step by step

  1. In GetFoxChat, open the install step for your site and copy your snippet. It already has your site ID in it. No account yet? Create one free.
  2. In the Joomla Administrator, go to System, then Site Templates, then Cassiopeia Details and Files, which opens the Template: Customise (Cassiopeia) form. source
  3. In the media files group, select the js folder, then the New button. source
  4. In the New File dialog, keep the js folder selected, enter user as the File Name, choose .js as the File Type, and select Create. If user.js already exists, open it instead. source
  5. Paste the GetFoxChat loader lines (shown on this page) into user.js, with your own site ID in place of the placeholder. source
  6. Click Save, then reload your site and check that the chat bubble shows. source
  7. Back in GetFoxChat, press Check my site. The chat switches on once GetFoxChat finds the snippet on your live pages.

Joomla's own guide: Joomla guide: Cassiopeia template customisation. Checked 2026-09-30; if Joomla renames a menu, its guide has the current wording.

Joomla gotchas

Removing it later

Go back to System, Site Templates, Cassiopeia Details and Files, open js, user.js, delete the GetFoxChat loader lines (or the whole file if you added nothing else), and save.

Applies to Joomla 4 and 5 with the built-in Cassiopeia template; source checked on the 5.4-dev branch. The guide's click-by-click steps describe creating user.css; the same New File flow in the js folder creates user.js. That Cassiopeia loads user.js on every page is confirmed from Joomla's own source on GitHub (joomla.asset.json declares template.user as user.js, index.php calls useScript for it). This file holds JavaScript, not HTML, so it gets a short loader that adds the same script tag with your site ID once the page has loaded.

Find out what your visitors can't find

See the 5 questions your visitors are likely to ask that your pages don't clearly answer. Free, no account needed.

The chat starts as Foxy. Rename it and change the avatar anytime. Plans and what each includes: pricing.