lscache_wp icon indicating copy to clipboard operation
lscache_wp copied to clipboard

Problem with google analytics

Open tommasoflorio opened this issue 4 years ago • 7 comments

With the plugin actived analytics do not work properly, seems the total visit count is wrong and also the source of the visit seems are all direct visit. when i disable the plugin analytics comeback to normal behaviour

tommasoflorio avatar Jul 17 '21 11:07 tommasoflorio

Disable guest mode

bubobih avatar Jul 17 '21 11:07 bubobih

Yes, but with this setting i will lose the good google pagespeed score. There some other suggestions?

tommasoflorio avatar Jul 17 '21 11:07 tommasoflorio

add gtag to Guest Mode JS Excludes in ?page=litespeed-page_optm#settings_tuning

bubobih avatar Jul 19 '21 08:07 bubobih

Already done but it not working.

tommasoflorio avatar Jul 19 '21 09:07 tommasoflorio

for me its working ok

bubobih avatar Jul 19 '21 09:07 bubobih

The real time and total visit are correct, but if you go on total visit by source you will see the data not aligned, moveover if you go on total page views you will see an abnormal pageviews that not respecting the total visit.

tommasoflorio avatar Jul 19 '21 09:07 tommasoflorio

@tommasoflorio Please try v4.2-rc2+. There was a bug in v4.1 if the Guest Mode UA setting is missing which will cause failed to detect visitors. You can also check if your GM UA setting is there or not. If not, you can either upgrade or add back the default UA setting values:

Lighthouse
GTmetrix
Google
Pingdom
bot
PTST
HeadlessChrome

hi-hai avatar Jul 19 '21 12:07 hi-hai