# Popup CTA doesn't work properly

**URL:** <https://community.hubspot.com/t/popup-cta-doesnt-work-properly/115618>\
**Category:** Lead Capture Tools\
**Tags:** ctas, developer, website-pages, forms\
**Created:** [September 2, 2024, 7:50am UTC](https://community.hubspot.com/t/popup-cta-doesnt-work-properly/115618 "2024-09-02T07:50:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgwozdz](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@kgwozdz](https://community.hubspot.com/u/kgwozdz)\
**Post date:** [September 2, 2024, 7:50am UTC](https://community.hubspot.com/t/popup-cta-doesnt-work-properly/115618/1 "2024-09-02T07:50:45Z")

</div>

We use the CTA to display the form in a pop-up window and sometimes it works, sometimes it doesn’t. In incognito mode in Chrome it mostly doesn’t work, so this is a good place to test. An error appears:  
“web-interactives-embed.js:1 Uncaught DataCloneError: Failed to execute ‘postMessage’ on ‘Window’: Port at index 0 is already neutered.  
at HTMLIFrameElement.handleFrameLoaded”  
url: [https://promon.co/shieldcon2024](https://promon.co/shieldcon2024)  
Anyone has idea what causes the problem?  
CC: @hubspot

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [September 2, 2024, 1:22pm UTC](https://community.hubspot.com/t/popup-cta-doesnt-work-properly/115618/2 "2024-09-02T13:22:08Z")

</div>

@kgwozdz have you tested without the cookiebot to verify that the functionality works regardless of the user’s cookie prefernces? I’ve seen a lot of interference in functionality from cookiebot and would recommend starting there. It’s likely why incognito mode doesn’t work.

---

<div class="post-metadata">

**Author:** ![kgwozdz](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@kgwozdz](https://community.hubspot.com/u/kgwozdz)\
**Post date:** [September 4, 2024, 11:44am UTC](https://community.hubspot.com/t/popup-cta-doesnt-work-properly/115618/3 "2024-09-04T11:44:06Z")

</div>

Thank you @Jnix284 you were right. Cookiebot was blocking it.

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [September 4, 2024, 11:47am UTC](https://community.hubspot.com/t/popup-cta-doesnt-work-properly/115618/4 "2024-09-04T11:47:48Z")

</div>

You’re welcome @kgwozdz, happy to help. If you want it to work properly, you’ll need to add a functional cookie for the pop-up script and users would have to accept it.

As cool as a pop-up form on button click is, it’s not what a user is expecting when they click a button (unless you’ve explicity told them that somewhere). It would be good to run a small focus group with 10 users to capture their feedback and expectations before and after clicking the button.
