1. Help Center
  2. Build
  3. Setting Up a Campaign

About Custom Variables

Custom Variables are a type of Metric. They allow you to capture values that describe your website's content and the visitor's experience. You can use Custom Variables for segmentation and reporting. Using Custom Variables, you can:

  • Learn more about the categories your customer's visit.
  • Discover what your customers are searching for.
  • Target customers who have purchased specific items in the past.
  • Capture numeric values on the page.

For example, define a Custom Variable to capture the text value assigned to the category_id for each product page. The Custom Variable can comb through all product pages that a visitor sees and capture each category listed on those pages. Instead of having a long list of Metrics, you could use a short list of Custom Variables, like this:

About Custom Variables