Support

Admin Tools

#36145 Hotjar Script Blocked ... by AdminTools?!

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Saturday, 11 December 2021 20:17 CST

hellervic

Hi there,

I wanted to use "Hotjar" so I had to insert a custom code between the <head></head> sections. So did I.
Unfortunately hotjar can not verify the installation. 

I checked with Chrome DevTools and I can see hotjar script in the website. But it's being blocked (see attached screenshot).

Is it blocked by AdminTools? I do not use any other Firewall/Hardeneing option for the Joomla site.

Please can you help me with this? Thank you very much!
If you need more information, please let me know!

Kind regards,
Viktor



nicholas
Akeeba Staff
Manager

No, Admin Tools is NOT blocking HotJar.

As you can see in both of your screenshots, the JS file HotJar is trying to load is hosted on https://static.hotjar.com, not your site.

There are exactly TWO things which can block a file hosted on a third party server from loading in the context of an HTML page served by your site:

  1. A browser extension or browser feature which blocks that file for any reason e.g. tracker blockers (HotJar is essentially a tracker script, even though it only tracks your visitor for the purposes of click heat map and A/B testing).
  2. Content-Security-Policy (a.k.a. CSP) headers sent by your site, either through your .htaccess file or via a plugin. We have explicitly chosen NOT to integrate any interface to define CSP headers or use CSP headers in our software because they are complicated and error–prone. I know that Joomla 4 has such a thing built–in and the core contributor who implemented it also makes a Joomla 3 plugin which you may have installed.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!