# Hubspot tracking script found on device

**URL:** <https://community.hubspot.com/t/hubspot-tracking-script-found-on-device/100706>\
**Category:** Knowledge Base Tool\
**Tags:** starter\
**Created:** [February 21, 2024, 8:35pm UTC](https://community.hubspot.com/t/hubspot-tracking-script-found-on-device/100706 "2024-02-21T20:35:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MThomas76](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@MThomas76](https://community.hubspot.com/u/MThomas76)\
**Post date:** [February 21, 2024, 8:35pm UTC](https://community.hubspot.com/t/hubspot-tracking-script-found-on-device/100706/1 "2024-02-21T20:35:55Z")

</div>

Hi,

A tracking script was placed on a customers device when they vistied our site. This was done without their consent and they are threatening legal action. Is there a way to turn off the feature to prevent futher issues?

Thanks

---

<div class="post-metadata">

**Author:** ![DianaGomez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dianagomez/32/48035_2.png) [@DianaGomez](https://community.hubspot.com/u/DianaGomez)\
**Post date:** [February 22, 2024, 10:16am UTC](https://community.hubspot.com/t/hubspot-tracking-script-found-on-device/100706/2 "2024-02-22T10:16:07Z")

</div>

Hi @MThomas76,

Thank you for reaching out to the Community!

**If HubSpot cookies are loading before consent has been collected** , your consent banner policy type is likely set to _Notify visitors that your site uses cookies_. Instead, ensure that your banner is set up to either require opt-in or display cookies by category. You can update this setting at any time within each banner’s settings. You can learn [**more about consent banner FAQs here**](https://knowledge.hubspot.com/privacy-and-consent/consent-banner-faq).

If you have a website hosted by HubSpot, the cookies below may be set on your browser, depending on the site’s setup. You can learn more about the cookies by [**reading here**](https://knowledge.hubspot.com/privacy-and-consent/what-cookies-does-hubspot-set-in-a-visitor-s-browser#necessary-cookies).

To go further,[**this article**](https://knowledge.hubspot.com/account/how-does-hubspot-track-visitors)details how HubSpot handles tracking cookies.

Please do let me know if there is anything further I can clarify on the above, and I’ll be happy to do so.

Have a nice day!

Best,

Diana
