Hot to disable Google Analytics loading

More
1 year 4 months ago #10462 by makr
makr created the topic: Hot to disable Google Analytics loading
Hi.
I use the JM Simple template and it loads the ga.js script from Google servers. I don't use analytics and was wondering if there is a simple way to prevent the template from loading the script. I didn't find any option in the template settings.
Any help really appreciated

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #10463 by makr
makr replied the topic: Hot to disable Google Analytics loading
Ok, my bad. Analytics isnt called by the template, nor the ef4 framework, it is build into the joomla core for some stupid reason.
(ibraries/joomla/google/embed/analytics.php)

Still if anyone knows how to disable it, i would very gladly hear the solution!

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #10464 by marcin
marcin replied the topic: Hot to disable Google Analytics loading
Hi,

Joomla does not load that class by default. I guess that one of your extensions or plugins is loading that class or the analytics code directly.

Regards,
Marcin

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #10465 by makr
makr replied the topic: Hot to disable Google Analytics loading
I did a fresh installation of Joomla 3.8.7 and the script is beeing loaded.
See screenshot
Attachments:

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago - 1 year 4 months ago #10467 by makr
makr replied the topic: Hot to disable Google Analytics loading
Thanks for having a look into it marcin.
I have finally found the reason: it was the Chrome Extension Contrast Ratio Checker that injected the google analytics script.
Last Edit: 1 year 4 months ago by makr.

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #10468 by marcin
marcin replied the topic: Hot to disable Google Analytics loading
Hi,

Great that you solved that issue.
Thank you for sharing the solution.

Have a nice day.

Please Log in or Create an account to join the conversation.

Time to create page: 0.275 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.