How Do I Target Specific URLs When Running An AB Test?

FigPii allows you to target specific URLs for your AB test. This functionality will come in handy if you want to run a test on specific pages. Examples:

  • Running a test on the product or category pages for an ecommerce site.
  • Running a test on the blog posts for a blogging site.

FigPii allows you to use URL patterns to run site-wide tests and on multiple pages.

Targeting multiple pages in AB experiment

Follow these steps to target specific URLs

  1. Start by navigating to the "create new experiment page"
  2. Fill the experiment name
  3. Click on "Page Targeting"
  4. Select if you want to run the test on a specific page or multiple pages. Since we are running the test on multiple pages, then select
  5. FigPii will open a section that allows you to specify how the URLs should be identified.
  6. Select if you want to include or exclude URLs for this test
  7. Specify the URL pattern.
  8. Specify the Preview URL - Since your experiment will run on all the pages that match the URL you entered, FigPii will use the Preview URL to show you how the different variations will appear to users.

Including URLs in an AB experiment

Follow steps 1 to 9 from Targeting multiple pages in AB experiment

  1. Select "Include" from the dropdow
  2. Select the type of match for the URL pattern
  3. Input the URL pattern

  4. If you want to include multiple URL patterns, click on "Add Another URL Targeting"

    cluding URLs from an AB experiment

Follow steps 1 to 9 from Targeting multiple pages in AB experiment

  1. Select Exclude from the dropdown
  2. Select the type of match for the URL pattern. More details on the different types of matches
  3. Input the URL pattern
  4. If you want to include multiple URL patterns, click on "Add Another URL Targeting"

Adding multiple includes in the URL patternThere are instances where you add several includes in the URL patterns:

In these cases, FigPii will use an "OR" operator between these URLs. So, if the visitor visits a page that matches ANY of the parameters that you put, then the test is served.

Adding multiple excludes in the URL patternThere are instances where you add several excludes in the URL patterns:

In these cases, FigPii will use an "OR" operator between these URLs. So, if the visitor visits a page that matches ANY of the parameters that you put, then the test is not served.

Add includes and excludes in the URL patternThere are instances where you want to include some URLs and exclude others.

In these cases, FigPii will use an "OR" operator between these URLs. So, if the visitor visits a page that matches ANY of the parameters that you put, then the test is served.

Still need help? Contact Us Contact Us