# HubSpot tracking code - turn off script

**URL:** <https://community.hubspot.com/t/hubspot-tracking-code-turn-off-script/73068>\
**Category:** APIs & Integrations\
**Created:** [January 17, 2023, 2:35pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-turn-off-script/73068 "2023-01-17T14:35:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yshinzato](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/yshinzato/32/44503_2.png) [@yshinzato](https://community.hubspot.com/u/yshinzato)\
**Post date:** [January 17, 2023, 2:35pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-turn-off-script/73068/1 "2023-01-17T14:35:08Z")

</div>

Hi,  
Trying to improve the LCP of our website, the HubSpot script is trigger the folllowing, can any of these be turned off so we don’t have so many unused scripts firing off?  
Loads [https://js.hsleadflows.net/leadflows.js](https://js.hsleadflows.net/leadflows.js)  
Loads [https://js.hscollectedforms.net/collectedforms.js](https://js.hscollectedforms.net/collectedforms.js)  
Loads [https://js.hsadspixel.net/fb.js](https://js.hsadspixel.net/fb.js)  
Loads [https://js.hs-analytics.net/analytics/1672850400000/410211.js](https://js.hs-analytics.net/analytics/1672850400000/410211.js)  
Loads [https://js.usemessages.com/conversations-embed.js](https://js.usemessages.com/conversations-embed.js)  
Loads [https://js.hs-banner.com/410211.js](https://js.hs-banner.com/410211.js)  
Loads [https://js.hubspotfeedback.com/feedbackweb-new.js](https://js.hubspotfeedback.com/feedbackweb-new.js)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 19, 2023, 12:36am UTC](https://community.hubspot.com/t/hubspot-tracking-code-turn-off-script/73068/2 "2023-01-19T00:36:59Z")

</div>

Hi, @yshinzato 👋 Thanks for the question. There is not a definitive guide or single article. There are definitely a lot of opinions to be found.

Are you building with CMS Hub? Here is one HubSpot provided resource — [Optimizing your CMS Hub site for performance](https://developers.hubspot.com/docs/cms/guides/speed).  
Hey, @Indra @jonchim, do you have any thoughts or opinions you can share with @yshinzato?

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![yshinzato](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/yshinzato/32/44503_2.png) [@yshinzato](https://community.hubspot.com/u/yshinzato)\
**Post date:** [January 19, 2023, 2:51pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-turn-off-script/73068/3 "2023-01-19T14:51:57Z")

</div>

Thank you for your quick response! Our website is built on WordPress and we  
have a HS Tracking Code on it.

---

<div class="post-metadata">

**Author:** ![ZKiraly](https://avatars.discourse-cdn.com/v4/letter/z/7cd45c/32.png) [@ZKiraly](https://community.hubspot.com/u/ZKiraly)\
**Post date:** [April 19, 2023, 11:22am UTC](https://community.hubspot.com/t/hubspot-tracking-code-turn-off-script/73068/4 "2023-04-19T11:22:20Z")

</div>

I am having a similar issue. Using Wordpress and the Hubspot tracking code is embedded using Google Tag Manager.

We have our own cookie banner setup so we’re not using the one provided by Hubspot, but still, banner.js gets loaded.

It is seriously hurting our page performance. Is there no way to disable that script if you’re not using that component?

Kind regards,

Zoltan

---

<div class="post-metadata">

**Author:** ![CPeterson78](https://avatars.discourse-cdn.com/v4/letter/c/7ab992/32.png) [@CPeterson78](https://community.hubspot.com/u/CPeterson78)\
**Post date:** [July 9, 2025, 10:31pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-turn-off-script/73068/5 "2025-07-09T22:31:47Z")

</div>

I know that this is a very old post, however, I was wondering if you ever found a solution for this? Thank you.
