We are using HS tracking & Form Embed scripts on our website. While running speedtest on multiple tools, we found HS scripts majorly impact the website performance. We have tested it without HS scripts and results are quite interesting like atleast 7-10% increased once after removing HS scripts.
Can anyone suggest what we can do or how can we optimize them.
Regarding the tracking code, this is loaded asycnhronously and deferred, along with any other scripts loaded through the tracking code. So those scripts should be optimized for page load speed already. The embedded forms are just loaded through the embed code, but you could potentially play around with using your own forms and submitting to our Forms API. The form submission endpoint documented here: https://developers.hubspot.com/docs/methods/forms/submit_form_v3 does have AJAX support, so you could submit right from your page.