Low apdex due to script delay


We are using HubSpot chat widget on our website and in order to improve Google core vital scores, we are delaying it’s loading by several seconds (it’s what they recommend in official documentation). Looks like it help with core vitals, however Sentry performance shows us very low Apdex scores, because page load time includes those delayed scripts. In the end, there is a big empty gap in traces, which is when hubspot waits to load it’s chat widget.

Is there a way to skip/ignore some scripts/origins from being counted towards page load time? Or can we setup some threshold, so that if no new scripts started loading after specific time, then it should stop measuring page load?

Thank you