Lots of refreshes not tied to a page load?
Answered
We've recently seen a big uptick in refreshes. I'm wondering how page refreshes are computed? We're using vite/react with react router. I would expect that refresh events tracked by fullstory result in a page load, though that seems to not be the case. I'm wondering if something in our app is updating history, not actually triggering any navigation but fullstory sees it as a refresh?
0
Comments
1 comment
Hi Ross! Page load only corresponds to the page's initial load. As an example, Single Page Applications (SPA) dynamic route changes will not have their own Load event since they do not result in a full page reload. Similarly, navigation events are only triggered when the URL changes. As an example, if you're using a SPA, then we wouldn't expect navigation events to occur as the URL doesn't change when end users navigate a site.
All that said, refreshes are computed based on the end user refreshing the page. We have this article that explains a bit more, including that it could indicate the page isn't loading properly, and how to search for those page refreshes.
If you still think something is amiss in the sessions you're seeing, we can get a ticket spun up with you to investigate more. :)
I hope this helps!
Please sign in to leave a comment.