# Pop-up form

**URL:** <https://community.hubspot.com/t/pop-up-form/64918>\
**Category:** Lead Capture Tools\
**Tags:** forms\
**Created:** [September 12, 2022, 4:10pm UTC](https://community.hubspot.com/t/pop-up-form/64918 "2022-09-12T16:10:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CStenger](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@CStenger](https://community.hubspot.com/u/CStenger)\
**Post date:** [September 12, 2022, 4:10pm UTC](https://community.hubspot.com/t/pop-up-form/64918/1 "2022-09-12T16:10:15Z")

</div>

Hi!

Our company has our website and product connected within Hubspot. The product side has an exclusive subdomain.

We launched a pop-up form recently on our website and I set the logic to prevent the pop-up from appearing anywhere on the product subdomain. It still appeared on the product side regardless, and we shut the pop-up down to be safe.

The logic I used was to **exclude** the pop-up when the website URL **contains** [product.website.com](http://product.website.com). How can I approach this better in the future to be certain the pop-up won’t appear on a specific subdomain? Thanks in advance for your help.

---

<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 12, 2022, 7:29pm UTC](https://community.hubspot.com/t/pop-up-form/64918/2 "2022-09-12T19:29:43Z")

</div>

Hi @CStenger perhaps it was an issue because you only had an exclude without having something set for include?  
Another option you could look at would be to exclude using a wildcard so all pages on the subdomain are accounted for, like, “[product.website.com/](http://product.website.com/)\*”

[This article covers targeting rules](https://knowledge.hubspot.com/forms/use-targeting-rules-in-pop-up-forms-and-chatflows) and no matter how many times I’ve built a pop-up or chatflow, I refer to it almost everytime to make sure I have it right.  
Another thing you will want to consider is the impact of the pop-up on page speed, you might want to limit it to very specific pages instead of excluding from a handful.

Hope this helps you get to the bottom of this so you can get your pop up turned back on! 🙂

---

<div class="post-metadata">

**Author:** ![CStenger](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@CStenger](https://community.hubspot.com/u/CStenger)\
**Post date:** [September 12, 2022, 8:03pm UTC](https://community.hubspot.com/t/pop-up-form/64918/3 "2022-09-12T20:03:58Z")

</div>

Wow thank you for your help @Jnix284! You got it with the wild card setting, I totally missed that. Thank you so much for taking the time to help me!

---

<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 12, 2022, 8:05pm UTC](https://community.hubspot.com/t/pop-up-form/64918/4 "2022-09-12T20:05:42Z")

</div>

@CStenger no problem at all, I’m so happy the wildcard worked! You’re welcome 🙂
