When creating, or editing, a SplitWit experiment you can set which pages of your website it will run on.
There are 3 different match types for URL targets:
- Basic match
- A basic match targets a single page. It ignores things like trailing slashes, URL parameters (mywebsite.com?utm_source=fb or mywebsite.com#hashtag), protocol (http vs https), and toggling ‘www’ (mywebsite.com vs www.mywebsite.com).
- Exact match
- An exact match targets the URL exactly.
- Substring match
- A substring match targets any URL that includes the string of characters that you specify.
Instead of targeting specific URLs, you can also exclude certain URLs. For example, if you add your base domain as a substring target match, it will target every page of your website. You might then want to exclude certain pages with a basic or exact exclusion match.
SplitWit experiment settings include a URL testing tool. You should always check to make sure your experiment will run on desired pages based on the URL targeting rules you set.