Javascript execution preventing page load events from executing


We are seeing a particular script that often stops the ‘page load’ event from firing successfully, even though the page appears to be loaded fully. This is throwing out all of our testing metrics.

The script in question is ‘’ (very bottom of the waterfall) which is making ajax requests to a third party in order to track user activity on site.

I suspect something in the nature of this script (98th loaded in the waterfall) stops the load event happening (maybe a loop that never stops running or similar).

Can we do anything about this?