---
title: Configure a tag
slug: personalization/docs/Jq2x-configure-a-tag
createdAt: 2026-08-05T20:59:35.003Z
---

- Optimizely Web Experimentation
- Optimizely Personalization

[Tags](docId\:laXaPRknYpQmadeDrTP0q) capture information that displays on the pages of your website—the parts of the pages that visitors engage with, such as type of product and what it costs.

Configure tags alongside [events](docId\:puGm9z4XkEG5PDkyaNmlA) to collect important data about visitor behaviors. Then, use this information to group visitors by behavior, called [behaviorally targeted audiences](docId:8vTHKMfpmHSDLkMVrE1dy). 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 an Optimizely Web experiment.

The following example shows how to configure a tag:

1. Go to **Implementation > Pages** and select the page where you want to add a tag. You can also [create a page](docId\:SLF-avIbJk1qR9hh8NU8_) instead.
2. Next to **Visual Tags**, click **Create**.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/C7qOYvNvFIT-0W_ZN7K8V-20260720-150026.png)
3. Click the element to which you want to attach a tag.

   :::hint{type="info"}
   **Note**

   The editor automatically populates the **Selector** for the element you chose. You can enter the element’s selector into the **Selector** field if you prefer.
   :::
4. Enter a **Name** for your tag.
5. Click **Save**.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/bwOTFDcnE-TG3-ULcrR_G-20260720-150026.png)
