-
-
- Submit Updated Articles to Bing and Yandex with IndexNow in Joomla
- Add Published and Modified Date Meta Tags to Joomla
- Add Open Graph and Twitter Card Tags to Joomla
- Auto-Generate Meta Descriptions from Article Text in Joomla
- Add Noindex to Specific Pages in Joomla
- Verify Your Joomla Site with Google Search Console
-
- Add a View as Markdown Link to Joomla Articles
- Display the Last Modified Date in Joomla Articles
- Embed Iframes in Joomla
- Automatically Link Twitter (X) @mentions in Joomla Articles
- Open External Links in a New Tab in Joomla
- Display Estimated Reading Time in Joomla Articles
- Replace Old URLs in Joomla
- Search and Replace in Joomla
-
- Add a Footer Line to the Joomla Administrator
- Show a Staging Banner in the Joomla Administrator
- Remove the "All" Option from Admin List Limits in Joomla
- Add a Cookie Consent Banner to Joomla
- Make the Administrator Navigation Sticky in Joomla
- Add Google Fonts to Joomla
- Add a Facebook Messenger Chat Button to Joomla
- Add a Reading Progress Bar to Joomla
- Add a Custom Scrollbar to Joomla
- Show Confetti on a Thank You Page in Joomla
- Add Smooth Scrolling to Joomla
- Add a Back to Top Button in Joomla
- Add a WhatsApp Chat Button in Joomla
-
- Protect the Administrator with a Secret URL Key in Joomla
- Show a Welcome Message on First Login in Joomla
- Log Out Idle Administrators in Joomla
- Assign New Users to a Different User Group Automatically in Joomla
- Redirect Visitors by Country in Joomla
- Redirect Users After Login by User Group in Joomla
- Block User Registration with Certain Usernames in Joomla
- Block User Registration by Country in Joomla
- Block User Registration by Email Address in Joomla
- Block User Registration by IP Address in Joomla
- Remove the Forgot Password and Username Links in Joomla
- Remove the Generator Meta Tag in Joomla
- Let Users Log In with Their Email Address in Joomla
- Block Traffic by Country in Joomla
- Block Bot Traffic in Joomla
- Block Traffic by IP Address in Joomla
Add Hotjar to Joomla
See where visitors click, how far they scroll and what they think with Hotjar heatmaps, recordings and surveys on Joomla, using one HTML snippet.
Your analytics show how many visitors reach a page, but not where they click, how far they scroll, or what they were looking for when they gave up. Hotjar answers those questions with heatmaps, session recordings and on-page surveys. Its tracking code belongs in your site's <head>, and pasting it into your template's files means the next template update wipes it out. You can add Hotjar to Joomla with one HTML snippet in Code Snippets.
Get your tracking code
You need a Hotjar account with your site added to it.
- Sign in to Hotjar.
- Open the Sites & Organizations page.
- Click Install tracking code next to the site you want to track.
- Click Copy.
The snippet code
Your tracking code looks like this, with your Site ID in place of YOUR_SITE_ID:
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:YOUR_SITE_ID,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>
Always paste the code you copied from Hotjar, so you get your own Site ID and Hotjar's current version. In the Site Header location it lands in the <head> of every page, where Hotjar expects it.
How to add this snippet
- Install Code Snippets if it isn't installed already.
- Log into your Joomla backend.
- Go to Components → Tassos Code Snippets.
- Click New.
- Enter a title, for example Hotjar.
- Set Code Type to HTML.
- Set Insertion Method to Auto-Insert Locations.
- Set Location to Site Header.
- Paste your Hotjar tracking code into the editor.
- Click Save & Close.
To track only some pages, like your landing pages, open the Conditional Logic tab before you save and choose them there. Learn more in Conditional Logic.
Check that it works
- Open your site in a normal browser window with no ad blocker.
- Go back to the Sites & Organizations page in Hotjar.
Hotjar checks the install on its own, usually within a few minutes of your first visit. If it doesn't confirm it, check that the snippet is published and that the Site ID matches the one in Hotjar. Hotjar's How to Check That Hotjar Is Working guide has more checks.
To add another behavior analytics tool, see Add Microsoft Clarity to Joomla. For traffic numbers, see Add Google Analytics to Joomla. To learn more about how HTML snippets work, read the HTML snippet docs.