Websites

How should I decide whether to remove a HubSpot script from my website?

Do not remove a script just because it may slow a page. First confirm what it does and what depends on it:

  1. Identify the script’s purpose and the person or vendor responsible for it.
  2. Check whether it supports consent, forms, analytics, attribution, automation, or another integration.
  3. Measure how much it affects performance instead of assuming it is the main problem.
  4. Test the change on a test page or in a preview and confirm the affected features still work.
  5. Remove it only when it is redundant or the responsible owner approves the change.

This protects the business functions behind the script while still giving you a practical path to improve performance.