Skip to main content
menu_icon.png

Everything you need to switch from Optimizely Classic to X in one place: See the Optimizely X Web Transition Guide.

x
Optimizely Knowledge Base

Set up a tag

RELEVANT PRODUCTS:
  • Optimizely X Web Experimentation
  • Optimizely X Web Personalization
  • Optimizely X Web Recommendations

THIS ARTICLE WILL HELP YOU:
  • Set up tags in Optimizely
  • Capture a data-rich picture of your visitors' behavior on your site

In Optimizely, tags capture information that appears on the pages of your website — the parts of the pages that visitors engage with, such as type of product and what it costs.

When you set up Personalization or Recommendations, you'll set up tags alongside events to collect important data about visitor behaviors. Then, you'll use this information to group visitors by behavior, called behaviorally targeted audiences in Personalization. For example, you might group visitors who clicked a product that costs more than $100. Or, tags can help gather the data needed to run a Recommendations experiment.

This article shows how to set up a tag. 

Here's a short video walkthrough. Scroll down to see the process step-by-step.


 

 

  1. Navigate to Implementation > Pages and select the page where you want to add a tag. You can also create a new page instead.

  2. In the Visual Tags section, click Create.

  3. Click the element to which you want to attach a tag.

    In the Selector field, the Editor automatically populates the selector for the element you chose. You can type or paste the element’s selector into the Selector field if you prefer.

  4. In the Name field, enter a name for your tag.

  5. Click Save.