How to set up the domain and pages details in the Website step

In this help, we'll discuss what can you set up in the Website step of the setup:

  • Website domain
  • Which pages to recruit on

Website domain 

You may use the Onsite Recruiting on multiple domains at once (example.com and sample.com). You can used an unlimited number of domains (these domains are not tied to the recording domains used by the Website Testing and Session Recording tools, where the number of domains is determined by the team owner's plan).

  • To add a domain, simply type it in. You can also copy and paste the URL to your website and UXtweak will extract the domain name out of the URL automatically.
  • Only the highest level domain name needs to be inserted here. For example, if you wish to display the widget on the site http://store.example.com, then “example.com” is the domain while “store” is just a subdomain.
  • To delete a domain, simply click on the trash can next to it.

Which pages to recruit on 

You can choose to restrict your widget to show up only on specific pages on your web. You can:

  • Include pages - the widget will show up only on pages defined here
  • Exclude pages - the widget will show up on all the pages of your domains except for these pages.

The URLs of pages consist of the following parts: 'protocol', 'hostname', 'port', 'pathname', 'search', 'hash'. Each part “matches” in a specific way:

  • protocol - matches even if they aren’t exact match (http == https)
  • hostname - matches domain with the www prefix (www.uxtweak.com == uxtweak.com)
  • pathname - matches regardless of the ending backslash being present - (/features == /features/)
  • search - the order of query parameters is irrelevant - (?a=1&b=2 == ?b=2&a=1)
  • port and hash must match exactly

The pages are defined using the rules about their URLs:

  • Simple URL match - 'protocol', 'hostname', 'port' and 'pathname' must match
  • Exact URL match - 'protocol', 'hostname', 'port', 'pathname', 'search' and 'hash' must match
  • URL starts with - matches any URL which begins with the specified string
  • URL ends with - matches any URL which ends with the specified string
  • URL contains - matches any URL which contains the specified string anywhere in itself
  • URL regular expression - you can define the matching conditions using the REGEX expression

If you are unsure whether the page you want to be matched is matched according to your selected rules, you can use the Check URL match button.