# Adblock preventing Hubspot from working correctly

**URL:** <https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [September 16, 2019, 8:25am UTC](https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245 "2019-09-16T08:25:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![taoun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/taoun/32/52876_2.png) [@taoun](https://community.hubspot.com/u/taoun)\
**Post date:** [September 16, 2019, 8:25am UTC](https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245/1 "2019-09-16T08:25:50Z")

</div>

Hello,

I started encountering an issue when I added forms in my Hubspot, I’m receiving net::ERR\_BLOCKED\_BY\_CLIENT and CORS policy error when Ad blocker is active. When I desactivate Ad blocker it’s working totally fine. But before adding the forms I didn’t receive the error even if ad blocker was active.

(In my case I use Ghostery)

Now I deleted all the forms I’ve created but still receive these errors.

error1: net::ERR\_BLOCKED\_BY\_CLIENT for the hubid.js script

error2: [https://forms.hubspot.com/collected-forms/v1/config/json?portalId](https://forms.hubspot.com/collected-forms/v1/config/json?portalId) 400

error3: Access to XMLHttpRequest at '[https://api.hubspot.com/livechat-public/v1/message/public?portalId](https://api.hubspot.com/livechat-public/v1/message/public?portalId) // CORS Policy

I just noticed that the Ad Blocker is kinf of modifying the API calls.

Do you what I need to do to get back to the original situation where nothing was blocked and working fine 🙂

Thank you

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [September 16, 2019, 10:13pm UTC](https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245/2 "2019-09-16T22:13:20Z")

</div>

Welcome, @taoun.

To clarify, are you saying that Ghostery allowed your HubID.js script and the `collected-forms` and `livechat-public` HTTP requests _before_ you embedded a HubSpot form on your site, but not after?

If so, could you answer the following?

1. Was the form the pop-up form titled “New form (September 16, 2019 1:06:34 PM)” or a different “regular” form that is now completely deleted from your account?
2. What do you mean by “the Ad Blocker is [kind] of modifying the API calls”? How is Ghostery modifying the API calls to the `collected-forms` and `livechat-public` endpoints?

---

<div class="post-metadata">

**Author:** ![taoun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/taoun/32/52876_2.png) [@taoun](https://community.hubspot.com/u/taoun)\
**Post date:** [September 17, 2019, 7:01am UTC](https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245/3 "2019-09-17T07:01:05Z")

</div>

Hello @IsaacTakushi ,

Thanks for your reply.

Yes, I didn’t receive any error before adding a regular form which I deleted now. When Adding the popup form I was not getting errors even if Ghostery was turned on.

What I mean by modified API calls is that the portalId was changed to something like Ghostery&utk. I deleted Ghostery and install it again and now it doesn’t produce all the previous errors except **net::ERR\_BLOCKED\_BY\_CLIENT** and nothing is working, I mean the chat, the popup and the tracking.

I don’t know if it’s possible to get **allowlist by Ghostery**? because I tried in firefox with Adblock Plus on and it’s working fine.

Many thanks

Have a good day

Tarik

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [September 17, 2019, 7:38pm UTC](https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245/4 "2019-09-17T19:38:57Z")

</div>

Hey, @taoun.

Have you marked your site as “trusted” in Ghostery? I’m not seeing anything blocked on my own site when I unblock trackers and trust the site. See below:

 ![Site Trusted.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/1/91bb1a1ca3ea52b1a1a55dab26bfc7b9f1ed20ce.jpeg)

If I’m still misunderstanding the issue, could you share screenshots of these errors so I have additional context?

---

<div class="post-metadata">

**Author:** ![taoun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/taoun/32/52876_2.png) [@taoun](https://community.hubspot.com/u/taoun)\
**Post date:** [September 19, 2019, 3:58pm UTC](https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245/5 "2019-09-19T15:58:47Z")

</div>

Hello @IsaacTakushi ,

Thanks for you replay.

Yes, when I mark it as trusted it works perfectly. But I thaught that even if it’s not trusted the chat should work.

Thank you

Tarik

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [September 19, 2019, 8:20pm UTC](https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245/6 "2019-09-19T20:20:08Z")

</div>

Hi, @taoun.

Yeah, I can’t really speak in detail as to why that might have happened. It might be worth reaching out to Ghostery via the extension to see if there’s a way to “reset” the default settings.

---

<div class="post-metadata">

**Author:** ![JohnySoftway](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/johnysoftway/32/13631_2.png) [@JohnySoftway](https://community.hubspot.com/u/JohnySoftway)\
**Post date:** [February 2, 2022, 10:53am UTC](https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245/7 "2022-02-02T10:53:05Z")

</div>

Hi , we built a product on hubspot, and facing similar issues where some of our users were not able to move forward because, the hubspotutk cookie was not created. We were wondering if there is a way to circumevent the above issue , without asking our clients to trust our site on their adblocker.  
Just trying my luck in 2022 🙂

---

<div class="post-metadata">

**Author:** ![Banny\_j](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/banny_j/32/51434_2.png) [@Banny\_j](https://community.hubspot.com/u/Banny_j)\
**Post date:** [May 13, 2023, 10:54pm UTC](https://community.hubspot.com/t/adblock-preventing-hubspot-from-working-correctly/16245/8 "2023-05-13T22:54:19Z")

</div>

Same problem own my side! We are currently encountering a problem with our product built on Hubspot, wherein some of our users are unable to proceed due to the hubspotutk cookie not being generated.

We are actively seeking solutions to overcome this obstacle without having to ask our clients to trust our site on their adblockers. Any advice or assistance Send on our support

[u] [

blog

]([The Best Crossbow Under $300 - Affordable Picks 2026](https://thecrossbowguide.com/best-crossbow-under-300/))[/u]

would be greatly appreciated. Wishing you all the best in 2022!
