-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GA spike of users with not set landing page after install the script #69
Comments
Hmmm, I'm not sure why that would be. What is the hostname for the pageviews in that session? In my experience bots and spammers send data containing URLs with an incorrect hostname, and so setting a filter on your view to only accepts hits with a hostname that matches your domain has generally worked for me to avoid all spam. |
Hi Philip ! thanks for your hint. I've added the hostname as secondary dimension for all not set landings, but it seems that all the traffic is coming from the correct website hostname, so I cannot filter it out. Thanks, |
Did you see a drop in pageviews too? Looks like pageviews may not be firing which would explain the not set landing page and the low number of sessions. |
this happens when event is the first interaction on a page, we fixed it by making sure that web vital events always fire after the first page view. |
I'm going to close this as I suspect the issue is with this specific property's implementation and not an issue with the web-vitals library or its usage instructions related to GA. Please reply here if you discover otherwise. |
The reason for this is because CLS can send multiple times per pageload and LCP will send when the tab unloads. If sending these values to GA as a non-interactive hit (which you should) then these hits will not extend the GA session. And if no subsequent pageview fires, then these hits will cause Landing Page = (not set). So basically this will happen whenever:
I just submitted a new request which may help address this. |
Hi !
thanks for sharing this useful piece of code :)
I've tried to install the web vitals monitoring code using GTM. Data seems to be collected correctly, but then I noted a spike of user with location (not set) in GA data (see the screenshot below). After stopping the web vitals tag the data came back to normal. It's seems like a bot it's activated via this code, as you can see in the second screenshot the bad traffic is coming from USA with Linux OS and null session duration. Can you help me with this issue please? Do you know another cdn for getting the code?
spike data
details
Many thanks,
Daniela
The text was updated successfully, but these errors were encountered: