Skip to main content
menu_icon.png

Everything you need to learn Optimizely X in one place: See our resource pages for Web Experimentation and Personalization.

x
Optimizely Knowledge Base

Pages: Choose where experiments and campaigns run

This article is about Optimizely X. If you're using Optimizely Classic, check out this article instead.
 
RELEVANT PRODUCTS:
  • Optimizely X Web Experimentation
  • Optimizely X Web Personalization
  • Optimizely X Web Recommendations

THIS ARTICLE WILL HELP YOU:
  • Learn what pages are and how to use them

Pages are URL templates that let you choose where campaigns and experiments run. They're reusable URL patterns that are always on. You'll use them to tell Optimizely where to deliver experiments, personalized experiences, and recommendations on your site.

Pages use URL targeting to identify where you'll personalize or experiment on your site. These are the patterns you'll use.

  • single URL where you want to change the experience, such as the homepage of a site.

  • set of URLs that share the same template, such as all the product detail pages on an e-commerce site.

  • global URL that targets all web pages with the Optimizely snippet to change elements that appear across the pages, such as a navigation menu.

A page lives in a project: a workspace in your Optimizely account that's available to a set of collaborators. Usually, every project has its own snippet, which you've added all pages on your site where you plan to run experiments. For example, your project might encompass your entire site, a company's site for a specific region of the world, or a part of your site that deals with a certain family of products. Within the boundaries of that project, you'll use URL patterns above to group parts of your site as pages in Optimizely.

You can also choose an activation mode for each page to control how experiments and Personalization campaigns activate. With the default mode, called immediate activation, experiments activate right away once the snippet loads. But you can also tell Optimizely to activate a page conditionally: to wait for a certain event, or to activate as determined by your code.

Here's what you need to know about pages:

  • You can set up pages in advance or in-time. Build out pages that target the most important parts of your site when you set up Optimizely. Add more pages as you go, when creating experiments or Personalization campaigns.

  • Pages are reusable. Use them to template common URL targeting patterns and activation modes for key parts of your site. You'll be able to add them to any experiment or campaign, and adjust as needed.

Ready to get started?

If you're setting up key components for experimentation across your whole site, check out this article about preparing your Optimizely X Web project for an overview.