Plugin Support
qtwrk
(@qtwrk)
Hi,
Please try remove the GA URL from the localization list , purge all, and see how it goes
Best regards
Hi,
I removed:
https://www.google-analytics.com/analytics.js
https://www.googletagmanager.com/gtag/js
from localization. Purged all. Still event are not tracked. I write in my first post that I did it beacuse it was mentioned here https://wordpress.org/support/topic/litespeed-plugin-is-stopping-the-google-analytics-script/ but it didn’t help.
When I turn off plugin it works fine. When plugin is ON only traffic is collected but evenst are not tracked.
Plugin Support
qtwrk
(@qtwrk)
Hi,
please try add
gtag
analytics
into JS exclude list, purge all , see how it goes
Best regards,
Hi,
I added:
gtag
analytics
into js exclude and even removed:
https://www.google-analytics.com/analytics.js
https://www.googletagmanager.com/gtag/js
from localization but still events are not tracked : (
Plugin Support
qtwrk
(@qtwrk)
Hi,
Okay , let’s try old-fashion way
if you disable localization , JS minify , JS combine , combine inline/external JS , defer JS , defer inline JS , does it work ?
Best regards,
Hi,
i tried to disable setting you mentioned but it didn’t help so I leaved all settings turned on BUT one thing I changed is Load Inline JS from “after dom ready” to “default”.
Now it works : )
Plugin Support
qtwrk
(@qtwrk)
Hi,
then you can exclude the GA inline code from being defer
gtag
analytics
add them into JS defer exclude (don’t mistake it with JS exclude)
Best regards,