Issues with Google Site Kit (Analytics is not collecting data)
Hi,
I'm using the Google Site Kit plugin and the LiteSpeed Cache plugin in all my WordPress sites. I've realized that for some sites Google Analytics is not collecting any data, and deactivating LiteSpeed Cache fixes the problem.
~~Google Analytics not being able to collect any data happens when the Combine JS option is enabled. Enabling also JS Combine External and Inline and clearing all cache doesn't fix the problem.~~Truth is that it's randomly happening when Litespeed Cache is activated. Turning off Combine JS doesn't fix it sometimes, even cleaning cache after that.
Same issue.
Litespeed cache JS cache enabled, seems to cause issues with Google Sitekit.
Disable Litespeed cache JS via ?LSCWP_CTRL=before_optm argument and tracking works again.
Curious why this isn't a larger issue, when I'd assume Sitekit is a fairly popular way to integrate Google Analytics.
I have same issue
@Ksaros please share a report ID with me and we can look further into it Report is created from LSC => Toolbox => click on "Send to Litespeed" and share the ID generated