The Or Pipe - How to target several specific pages on your site

The OR character | (also called a "pipe") is very useful when you just want your survey to show on a few specific pages, or in two or more sections.

Example: Targeting Multiple Pages

Say you want to match these pages:

blog.mycats.com/peggysue.html

blog.mycats.com/turbo.html

To use this example, you would add the following to your regex fields:

Subdomain: blog

TLD: mycats.com

Path: (peggysue|turbo)\.html

Example: Targeting Multiple Subdomains

You can use this anywhere in the regex, and as many times as you like, too.

If you want to target the gallery pages of the Brazil, Chile and Argentina sections on largetravelcompany.com, using the OR pipe makes this very easy.

To use this example, you would add the following to your regex fields:

Subdomain: (brazil|chile|argentina)

TLD: largetravelcompany.com

Path: gallery

Example: Targeting Multiple Pages Across Multiple Subdomains

You can even use multiple OR characters in the same regex, to target several pages across multiple subdomains.

To use this example, you would add the following to your regex fields:

Subdomain: (library|parks)

TLD: smalltown.gov

Path: (kids|special_events|holiday)-activities\/sign_up_form

 

Back to the beginning - Previous - Next

Have more questions? Submit a request
Powered by Zendesk