Hi, our website calls this javascript on every page, and Semrush gives us more than 300 warnings saying that this file should be minimized, how can we resolve this problem, please, Thanks you
Here is the js file
Hi, our website calls this javascript on every page, and Semrush gives us more than 300 warnings saying that this file should be minimized, how can we resolve this problem, please, Thanks you
Here is the js file
Hi @cristinaQi
The minification of this file has been submitted as an Idea here - so you could upvote this to give the idea more visibility: https://community.hubspot.com/t5/HubSpot-Ideas/Minify-Hubspot-JS/idi-p/248091
This was also discussed in this thread, where it was suggested this shouldn’t have a significant impact on page speed: https://community.hubspot.com/t5/APIs-Integrations/Hubspot-script-loader-JS-isn-t-minified/td-p/239830
As an SEO, I’d agree it would be nice to minify this script, but I wouldn’t imagine it would have a significant impact on speed - the file goes from 2kb to 1 kb when minified.
In the meantime, if you would like SEMrush to stop suggesting this, you can hide site audit issues by clicking the eye icon beside the issue