How to Target a Subdomain

 

In Qualaroo editor, you can fine-tune your survey targeting by activating/deactivating your Nudges™ on specific subdomains. 

 

You can target any subdomain using both simple URL and advanced URL fields.

 

Here's what a survey specifically active on a subdomain will look like:

 

Targeting a subdomain in Qualaroo

 

Benefits of targeting a subdomain:

 

  • Collect valuable feedback from visitors on a specific part of your website

  • Easily target or exclude visitors interacting with a particular page

 

In this article, you’ll learn:

 

1. How to Target a Subdomain in the Simple URL Field

2. How to Target a Subdomain in the Advanced URL Field

 

 How to Target a Subdomain in the Simple URL Field

 

Step 1: Select Use a simple URL in the targeting section.

 

Select "Use a simple URL"

 

Step 2: Enter the subdomain you wish to target in the field.

 

Targeting One Subdomain

 

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

 

Target one subdomain

 

Based on our input, the survey will be active only on the homepage of https://quiz.proprofs.com and no other pages.

 

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

 

Target a subsection on the subdomain in the simple URL field

 

This survey will show up on all pages in the /blog subsection of proprofschat.com (ex: https://www.proprofschat.com/blog/what-is-live-chat-software/)

 

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 the survey will be active on every subdomain:

 

Target all subdomains

 

Your survey will show up on each of the following pages:

 

  • steve.smoothiejournal.com/dashboard/settings

  • anne.smoothiejournal.com/dashboard/settings

  • user237.smoothiejournal.com/dashboard/settings 

  • and all other subdomains that have /dashboard/settings in their URL.

 

 How to Target 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 excluding a particular subdomain.

 

Step 1: Select “Use an advanced URL” in the targeting section.

 

Target a subdomain in the advanced URL field

 

Step 2: Enter the URL field’s subdomain you wish to target.

 

Targeting Specific Subdomains

 

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

 

Target specific subdomains in advanced URL

 

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

 

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

 

Exclude a subdomain

 

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

 

 

 

How to exclude all subdomains

 

This will target every page on qualaroo.com, but nothing on help.qualaroo.com or app.qualaroo.com.

 

Don’t forget to click Save to finalize your changes.

 

That is all about targeting a subdomain.

 

 

Was this information helpful?
© 2005 - 2024 ProProfs
-