I load another script at the beginning of my app (meetings embed script) to allow my users to take an appointment. In that case, my problem is that sometimes, the first Hubspot script is not loaded correctly in the page before the second script start to load, and infortunately it fires a 404 error on the meetings embed script.
I tried already to find a way to handle this, like using a callback to add on the script, but I don't find that on the documentation nor developpers forums.
Just to clarify, currently you're embeding the HubSpot meeting widget on your web app and you'd like it to load first before the second script, is that right? If so, would you mind elaborating further the reason behind loading the meeting widget script before the second script?