Wordpress LScache Plugin: Guest Mode Causing issue with Organic Traffic Reporting
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi I just started using lightspeed cache plugin as it is most recommended plugin for openlitespeed server. But whenever I activate this plugin, all organic traffic converted to Direct Traffic in Google Analytics. In this situation, I do not get the actual data in Google Analytics. As far as I researched, I found guest mode causing this issue. Without guest mode Google mobile page speed scored reduced too much. So please tell me any solution for this. The page I need help with: https://www.ajabgajabfacts.com Hi, please try add the GA JS into Page optm -> tune setting -> Guest Mode JS Excludes save and purge all Best regards, Its not working. I have tried this as you wrote same thing in other threads. I can give it one more try please tell me what exactly to be added to Guest Mode JS Excludes. Hi, a piece of code from the google JS file name , and the inline code e.g. gtag analytics make sure on both normal page and guest page , you can see identical JavaScript in both cases Best regards, I found this code on litespeed forum and added to Guest Mode JS Excludes gtag/js gtm.js analytics.js window.dataLayer So I should use gtag analytics this code or what I am already using is correct. After adding first code getting 50% correct data of google analytics but not 100%. How do I check identical JavaScript on normal page and guest page. Hi, open one browser , load the page with dev tool , check the request list -> javascript and then check the HTML source code on this page search for GA or GTM related file/code and then , open another browser, with plugin disable or guest mode off , check the same content , see if the file/code are match Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference