As you are creating your campaign, you'll tell FunnelEnvy where the campaign should run on your site. Use the match types described here to target a specific URL or a group of URLs.
Page targeting is not available for campaigns where you can control the targeting using in the campaign delivery platform (e.g Optimizely campaigns). You can target specific URLs or groups of URLs, depending which match type you select.
You can find a campaigns page targeting settings by going to the campaign's "Targeting" section and clicking on the "Edit" link in page targeting:
Targeting conditions are evaluated before a campaign runs to determine if the campaign should be activated for the user. In the Page Targeting settings for a campaign you can specify multiple URLs along with three types of match conditions:
- Simple Match - This is the default match type. It's useful for a single page campaign.
- Exact Match - Use only when adding query parameters or hash parameters to the URL will significantly change how the page displays for visitors.
- Regex - Use to target complicated URL structures that aren't easily captured by the other URL match types.
For more advanced targeting scenarios you may want to consider using a Browser Info audience condition.
Simple match is the default URL match type, and it's ideal for running campaigns on single pages. A simple match will run when visitors land on a URL, even if it has these variations:
- Adding or changing a query parameter (like
- Adding or changing a hash parameter (like
- Changing protocol between http:// and https:// (like
- Adding or removing a trailing slash at the end of your URL (like
- Adding or removing 'www' from your URL (like
Simple match ignores these changes (because they usually don’t change the way your page displays) and runs your campaign on the page.
Exact match will run an campaign only when users load the exact URL.
Like simple match, exact match ignores trailing slashes at the end of your URL, http/https protocols, and www. Also like simple match, exact match doesn’t ignore subdirectories, extensions, or changes in subdomains (www.example.com vs blog.example.com or www.example.com/blog).
Unlike simple match, exact match doesn’t ignore changes to query or hash parameters.
Enter a full URL when using exact match—the absolute URL, not a relative URL like /products/general.html.
Expert users can use regular expressions ("Regex") to specify a set of pages on which an experiment should run. For example, to target all pages on your site where the FunnelEnvy snippet is implemented, use a regular expression match and enter .* as your match condition.
Testing URLs using the Match Validator
To verify that your campaign runs on the intended pages you can use the URL match validator. To open the validator click on the "Test URL" link at the bottom.
Simply enter a URL to see if it will match the rules you've setup.