DataDog/browser-sdk

Client side page views seem to no longer be recognized (script tag version)

Closed this issue · 4 comments

I am not 100% sure this is the correct place to report this issue, however the JS script version of this package (https://www.datadoghq-browser-agent.com/us1/v5/datadog-rum.js) is now only recording one page view per session for Nextjs React SPA client side routed pages.

This started for us at 7:37 PT, the same time the JS file is marked as last updated. It also seems to correlate with the time this package had a new version release.

Did something occur that broke client side history tracking? I see some commits in the release related to history API?

I can submit a support ticket through our DataDog rep if that is preferable.

It turns out that not EVERY session is 1 page view. But instead just a dramatic drop in recordings of page views.

This shows how the p70 of page views per session takes a big drop down at 7:37 PT Aug 29th.

Screenshot 2024-08-30 at 11 12 42 AM

Same with the average:

Screenshot 2024-08-30 at 11 14 31 AM

Where as the median holds stable:

Screenshot 2024-08-30 at 11 15 09 AM

Was this expected with the changes? Was the information just very inaccurate prior to this update for long tail sessions?

Hi @corbin-mosher, Thanks for reporting this issue. I'm not able to reproduce, would you mind opening a support ticket through your DataDog rep?

Of course. Thanks for the reply!

This was resolved in version 5.26.0.