Wordpress LScache Plugin: Google Analytics not working anymore
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello everyone, Starting the day when Ive enabled the LiteSpeed Cache plugin, our Google Analytics data decreased by 95%. If I disable the LiteSpeed plugin, the data are back to Google Analytics, so for me its very clear that the issue is generated by this plugin. Also, the Tag Assistant (Chrome extension) show us an error ( Same web property ID tracked twice ) even if we have ONLY ONE tracking code implemented. We implemented the GA code directy on the header.php file, by Tag Manager or by a third-party WordPress plugin ? same result. When I disabled the LiteSpeed Cache plugin, this error disappeared. Screenshot -> https://ibb.co/ZJZWDJt I read a lot of similar topics, but the Localization is already OFF, JS Minify and JS Combine is OFF. In Page Optimization -> Tuning I already excluded in JS Excludes and JF Deferred Excluds the following .js: jquery.js jquery.min.js gtag analytics.js adsbygoogle.js fbevents.js` Same result, 95% of data still missing in Google Analytics. A strange thing is that every Direct session on our website is corectly recorded by Google Analytics. Report number: EANWCTDV Report date: 01/28/2022 13:04:59 Can anybody help me, please? Thank you! Hi, please try the v4.5-A5 beta version , it contains a fix to GA you can get it in toolbox -> beta test -> use this link https://github.com/litespeedtech/lscache_wp/commit/073097c95a3b383efc469a3ca1fe6ea091761912 then click upgrade. Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference