Targeting a Subdomain

Targeting a subdomain in the Simple URL field

Targeting One Subdomain

To target only one subdomain (i.e, help.qualaroo.com, shop.awesome.com), enter the following in the Simple URL field:

This will target only the homepage of http://help.qualaroo.com, and no other pages.

You can use the same patterns mentioned in the Simple URL article to target other subsections on the subdomain:

This survey will show up on all pages in the /products subsection of shop.awesome.com (ex: http://shop.awesome.com/products/blue_raincoat)

Targeting All Subdomains

If you have many subdomains, and you'd like the survey to appear on all of them, simply enter the URL without any subdomain, and all subdomains will be targeted: 

Your survey will show up on steve.smoothiejournal.com/dashboard/settings, anne.smoothiejournal.com/dashboard/settings, user237.smoothiejournal.com/dashboard/settings and all other subdomains that have the /dashboard/settings page.

Targeting a subdomain in the Advanced URL field

Regular expressions in and of themselves are a little more complicated, but targeting a subdomain is not. You also have the opportunity to target multiple specific subdomains by using regular expressions, not just one, or exclude a particular subdomain.

Targeting Specific Subdomains

Using the "or" character, here is how you target all pages on the la and nyc subdomains on shopping.com:

This survey will show up on every page of la.shopping.com and nyc.shopping.com, but won't show up on www.shopping.com or paris.shopping.com.

Excluding a Subdomain

You can also exclude a specific subdomain from being targeted, by using a negative lookahead. This tells our system to target all subdomains EXCEPT the one you've specified. Here is how you exclude the dogs subdomain from pets.com/shop/*:

This will target all pages on cats.pets.com/shop/*, small_animals.pets.com/shop/*, fish.pets.com/shop/* and any other subdomains, but it will not show the survey on dogs.pets.com/shop/*.

Excluding all Subdomains

If you only want to target your top level domain, and none of your subdomains, simply leave the subdomain area blank. 

This will target every page on apple.com, but nothing on shop.apple.com, blog.apple.com, and settings.apple.com.

Have more questions? Submit a request
Powered by Zendesk