Thank you for reaching out to the Community and your question about the tracking script. I can confirm that this is expected behaviour - the script loader (js.hs-scripts.com) includes all HubSpot scripts in order to simplify the process for the user. This way, our users don't have to manually add additional scripts to their website when they decide to use a new HubSpot tool.
Users are able to customize the HubSpot tracking code or load each of these scripts separately via their own tag management system, but this isn't something we provide on our side and would require help from a developer. You can check this Community thread where a user has shared a couple of adjustments to the code.
Page speed and performance are complex topics and can be influenced by many different factors, I would therefore like to share this Communtiy post, where my colleagues provide additional information regarding site speed and the way it's analyzed.
Can you change/remove the separate items loaded by the Hubspot tracking script?
SOLVE
So I already marked the above post as the solution, but I was wondering if anyone has an overview of all those separate Hubspot scripts and which ones are required/optional? I understand Hubspot won't provide support on this, but maybe someone else has had a similar challenge before?
Thank you for reaching out to the Community and your question about the tracking script. I can confirm that this is expected behaviour - the script loader (js.hs-scripts.com) includes all HubSpot scripts in order to simplify the process for the user. This way, our users don't have to manually add additional scripts to their website when they decide to use a new HubSpot tool.
Users are able to customize the HubSpot tracking code or load each of these scripts separately via their own tag management system, but this isn't something we provide on our side and would require help from a developer. You can check this Community thread where a user has shared a couple of adjustments to the code.
Page speed and performance are complex topics and can be influenced by many different factors, I would therefore like to share this Communtiy post, where my colleagues provide additional information regarding site speed and the way it's analyzed.