URL Targeting

URL Targeting allows you to specify the pages on which the action should run. You have the ability to target specific URLs or groups of URLs depending on the match type selected. To access URL Targeting, open the action you want to edit and click on the Settings button (the gear icon). Then click on the URL Targeting link to open the settings.

URL targeting in a nutshell

Once you've created your action, you'll tell BigPicture.io where the action should run on your site. Use the match types below to target a specific URL or a group of URLs.

Key types

  • Use Simple Match when you want to target a single page
  • Use Exact Match when adding query parameters or hash parameters
  • Use Parameter Match for actions that reference the same element across many pages

URL Match Types

In the URL Targeting menu, you can enter URL match specifications that tell BigPicture.io where the experiment should run.

Simple Match

Simple match is the default URL match type, and it's ideal for running actions on single pages. It will be triggered when visitors land on a URL, even if it has the following variations:

Simple match will ignore these changes and trigger your action on the page, because those modifications usually don't change the way your page displays.

To use simple match, just enter the full URL (the absolute URL, not a relative URL like /products/general.html) of the page you want to target. Here's some examples of the different variants that will work:

Exact Match

Exact match URLs will trigger an action only when users load the exact URL.

Unlike simple match, exact match will not 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).

Parameter Match

Parameter match URLs will trigger an action when users load a URL with a dynamic parameter.

This option is ideal for websites that have resource data in the URL or if you want to track groups of pages. Some examples include:

  • example.com/users/1 and example.com/users/2
  • example.com/home and example.com/pricing
  • example.com/electronics/123/computers/456

With parameter match you can insert placeholders signifying what parts of the URL are dynamic. To address the examples above, you would list only the pathname of the URL with a placeholder for the dynamic data:

  • /users/:userId
  • /:page
  • /electronics/:productId/computers/:id

You can name a placeholder whatever you would like, but it has to start with a ":" and have no spaces.