Created by: bretthayes
This changes our script loading strategies for our 3rd party integrations and closes #5373 (closed).
_app.tsx
beforeInteractive
ensures critical scripts are loaded before render (in the head)afterInteractive
loads non critical scripts after render (in the body)jQuery
and Clearbit
scripts only load in the head on pages with HubSpot forms. You can search for the script tag ids.