how to find slow javascript files?

  • 15 November 2023
  • 2 replies

Userlevel 4
Badge +3

I know we can find which are the slowest pages on the site, but is it possible to find out which javascript files are taking the longest to load?

2 replies

Userlevel 1
Badge +1

Great question @DataSeed99, I wonder if you create a metric using the “uncaught exception” event and play with some of the event parameters to help you narrow down potential time out exceptions or other exceptions. 

Userlevel 5

Hey @DataSeed99! Thanks for reaching out, and thanks for the suggestion, @drozo! 😄

I’d also like to add that the info might be available in the HAR files for a session, but since FullStory might not be initialized first on a page, it's likely we won’t capture everything that starts loading right away. For this particular data, I would suggest using Google Lighthouse to check your site performance instead. 

Please let me know if you have any questions!