Understanding Locations

A “location” is what Webtrends Optimize uses to identify where a test or target should run within a site or an application. Locations may or may not be in use at any given time depending on their “state.” Typically, locations consist of:

  • URLs, where tests or targets may need to run in several places (for example, landing pages). In the example below, the URL indicates that a test will run when a visitor views a specific product
    • Example: http://www.domain.com/product/catalog/000001
  • Regular expressions (RegEx), where complex patterns can be evaluated to handle cases where tests may need to run across many URLs on a site (for example, product listings). In their simplest form, you might choose a “wildcard” to express a common URL structure. Building on the example above, the example below shows one method for choosing to run a test on any product listing from an online catalog.
    • Example: http://www.domain.com/product/catalog/*

The most common form of locations is a simple URL. Regular expressions are extremely powerful and useful tools. However, they can also cause problems when used in error. If you are unfamiliar with the construction and use of regular expressions, you should work with someone with experience who can help you build a regular expression to solve your particular problem.

How Does Webtrends Optimize® Use Locations?

When a visitor loads a page with the Webtrends tag, Optimize evaluates the URL of the page to determine if it matches one or more URLs or Regular Expressions associated with a test or target. For any given match, Optimize determines if the visitor should be included in an audience for evaluation.

When Do I Create Locations?

In the normal workflow of creating a test or target, you must specify a location where it will run. You have the options to provide one or more URLs as well as to provide regular expressions for each test or target you create. If a location is already in use, you will be asked if you want to attach the test or target to an existing project.

Users with advanced knowledge can use the Location Manager to create a location with customized properties. This method for creating a location lets you adjust cookie handling options. You should not adjust these setting unless instructed by Webtrends services or support.