---
title: Using Custom Variables for Reporting
description: "Once you have created a Custom Variable and included in your Campaign, you can use it for reporting in the following places: To define a Reporting Segment based on a Custom Variable:    Once you have"
---

[Skip to content](https://doc.sitespect.com/knowledge/using-custom-variables-for-reporting#main-content)

English

Show submenu for translations

![Monetate-Logo-Full-Color-1](https://doc.sitespect.com/hs-fs/hubfs/Monetate-Logo-Full-Color-1.png?width=340&height=49&name=Monetate-Logo-Full-Color-1.png)

- [A/B Testing](https://www.sitespect.com/testing-and-experimentation/)
- [Personalization](https://www.sitespect.com/personalization-targeting/)
- [Recommendations](https://www.sitespect.com/recommendations/)

Open main navigation

Close main navigation

- [A/B Testing](https://www.sitespect.com/testing-and-experimentation/)
- [Personalization](https://www.sitespect.com/personalization-targeting/)
- [Recommendations](https://www.sitespect.com/recommendations/)
- English
  
  Show submenu for translations

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://doc.sitespect.com/knowledge?hsLang=en)
2. [Analyze](https://doc.sitespect.com/knowledge/analyze?hsLang=en)
3. [SiteSpect Reports](https://doc.sitespect.com/knowledge/analyze?hsLang=en#sitespect-reports)

# Using Custom Variables for Reporting

Once you have created a Custom Variable and included in your Campaign, you can use it for reporting in the following places:

- As a Reporting Segment
- In a Calculation
- In a Data Export

#### Define a Reporting Segment Based on a Custom Variable

To define a Reporting Segment based on a Custom Variable:

1. Select **New**, **Report Segment**. The **New Reporting Segment** page opens. Give the **Segment** a name, select a **Label** if you are using them, and select a **Status**. In the **Equation** section of the page, select **Custom Variables** from the **Segment Filters** menu.

**Note:** Only those Campaigns that include the selected Custom Variables may use this Segment.

![Using Custom Variables for Reporting - Settings](https://doc.sitespect.com/hs-fs/hubfs/Kbase%20Images/Using%20Custom%20Variables%20for%20Reporting%20-%20Settings.png?width=437&name=Using%20Custom%20Variables%20for%20Reporting%20-%20Settings.png)

When you select Custom Variables as a filter, a new drop-down appears, allowing you to select from among the Custom Variables that you have already defined. The following image shows several Custom Variables on the list.

![Using Custom Variables for Reporting - Segment Filters](https://doc.sitespect.com/hs-fs/hubfs/Kbase%20Images/Using%20Custom%20Variables%20for%20Reporting%20-%20Segment%20Filters.png?width=412&name=Using%20Custom%20Variables%20for%20Reporting%20-%20Segment%20Filters.png)

1. Select a Custom Variable from the list. When you do, another entry field opens, allowing you to further define what you want the variable to capture.

![Using Custom Variables for Reporting - Segment Filters II](https://doc.sitespect.com/hs-fs/hubfs/Kbase%20Images/Using%20Custom%20Variables%20for%20Reporting%20-%20Segment%20Filters%20II.png?width=678&name=Using%20Custom%20Variables%20for%20Reporting%20-%20Segment%20Filters%20II.png)

1. Select either **Contains** or **Contains List**. Contains allows you to enter one term, Contains List allows you to enter more than one.
2. Enter the term or terms you want this filter to contain. Enter the **Contains** term exactly as it is spelled. For example, if you are creating a Segment Filter based on a Custom Variable called Product Category and you want to research the Shoes category, enter Shoes. Enter the **Contains List** terms one per line.

#### Use a Custom Variable in a Calculation

Once you have defined a Custom Variable, you can include it in a Calculation.

1. Select **Build**, **Metrics**, **New Calculation**.
2. Give the **Calculation** a name, select a **Label** if you are using them, and select a **Status**.
3. Scroll down the **Add a Variable** list until you come to the Custom Variable you want to use in the Calculation.

![Using Custom Variables for Reporting - New Calculation](https://doc.sitespect.com/hs-fs/hubfs/Kbase%20Images/Using%20Custom%20Variables%20for%20Reporting%20-%20New%20Calculation.png?width=400&name=Using%20Custom%20Variables%20for%20Reporting%20-%20New%20Calculation.png)

1. Select the **Custom Variables** Data Point under the Custom Variable you want to use.
2. Continue defining the Calculation as you normally would.

#### Export Data that Includes a Custom Variable

You can include Custom Variables when you export data:

1. Select **Analyze**, **Campaigns**, select a Campaign, then select **Data Export**.
2. Make your selections in the **Segmentation** section of the page.
3. Select the fields you want to export.
4. Select a File Format, options for using quotations, and if necessary, select the line break option.
5. Click **Export Data**.
6. SiteSpect prompts you for a location for the report. Navigate to the location for the report and click **Save File**.

SiteSpect exports the data in the format you have selected. Each Custom Variable appears in its own column. See [Custom Variables in a Data Export](https://doc.sitespect.com/knowledge/custom-variables-in-a-data-export?hsLang=en) for in depth information about how SiteSpect handles Custom Variables.

- [Get Started](https://doc.sitespect.com/knowledge/get-started?hsLang=en#main-content)

    - [SiteSpect Support](https://doc.sitespect.com/knowledge/get-started?hsLang=en#sitespect-support)
    - [Overview Information](https://doc.sitespect.com/knowledge/get-started?hsLang=en#overview-information)
    - [Intro to SiteSpect](https://doc.sitespect.com/knowledge/get-started?hsLang=en#intro-to-sitespect)
    - [Account Setup](https://doc.sitespect.com/knowledge/get-started?hsLang=en#account-setup)
    - [Artificial Intelligence](https://doc.sitespect.com/knowledge/get-started?hsLang=en#artificial-intelligence)
- [Dashboard](https://doc.sitespect.com/knowledge/dashboard?hsLang=en)
- [Build](https://doc.sitespect.com/knowledge/build?hsLang=en#main-content)

    - [Setting Up a Campaign](https://doc.sitespect.com/knowledge/build?hsLang=en#setting-up-a-campaign)
    - [Create a Client-Side Campaign](https://doc.sitespect.com/knowledge/build?hsLang=en#create-a-client-side-campaign)
    - [Create a Server-Side Campaign](https://doc.sitespect.com/knowledge/build?hsLang=en#create-a-server-side-campaign)
    - [Metrics](https://doc.sitespect.com/knowledge/build?hsLang=en#metrics)
    - [Audiences](https://doc.sitespect.com/knowledge/build?hsLang=en#audiences)
    - [Triggers](https://doc.sitespect.com/knowledge/build?hsLang=en#triggers)
    - [Variations](https://doc.sitespect.com/knowledge/build?hsLang=en#variations)
    - [Traffic Management](https://doc.sitespect.com/knowledge/build?hsLang=en#traffic-management)
    - [Preview](https://doc.sitespect.com/knowledge/build?hsLang=en#preview)
    - [Factors](https://doc.sitespect.com/knowledge/build?hsLang=en#factors)
    - [Advanced Settings](https://doc.sitespect.com/knowledge/build?hsLang=en#advanced-settings)
    - [Omnichannel](https://doc.sitespect.com/knowledge/build?hsLang=en#omnichannel)
    - [Regular Expressions (Regex)](https://doc.sitespect.com/knowledge/build?hsLang=en#regular-expressions-regex)
    - [WATTS](https://doc.sitespect.com/knowledge/build?hsLang=en#watts)
    - [Recommendations](https://doc.sitespect.com/knowledge/build?hsLang=en#recommendations)
- [Monitor](https://doc.sitespect.com/knowledge/monitor?hsLang=en)
- [Analyze](https://doc.sitespect.com/knowledge/analyze?hsLang=en#main-content)

    - [Data Export and Integration](https://doc.sitespect.com/knowledge/analyze?hsLang=en#data-export-and-integration)
    - [SiteSpect Reports](https://doc.sitespect.com/knowledge/analyze?hsLang=en#sitespect-reports)
- [Site](https://doc.sitespect.com/knowledge/site?hsLang=en#main-content)

    - [Tools](https://doc.sitespect.com/knowledge/site?hsLang=en#tools)
    - [Configuration](https://doc.sitespect.com/knowledge/site?hsLang=en#configuration)
- [Developers](https://doc.sitespect.com/knowledge/developers?hsLang=en#main-content)

    - [API Reference](https://doc.sitespect.com/knowledge/developers?hsLang=en#api-reference)
    - [Code Samples](https://doc.sitespect.com/knowledge/developers?hsLang=en#code-samples)
    - [Tips & Tricks](https://doc.sitespect.com/knowledge/developers?hsLang=en#tips-tricks)
- [Mobile](https://doc.sitespect.com/knowledge/mobile?hsLang=en)
- [Implementation, Deployment, and Security](https://doc.sitespect.com/knowledge/implementation-deployment-and-security?hsLang=en#main-content)

    - [How does SiteSpect work with CDNs?](https://doc.sitespect.com/knowledge/implementation-deployment-and-security?hsLang=en#how-does-sitespect-work-with-cdns)
    - [Single Tenant Implementations](https://doc.sitespect.com/knowledge/implementation-deployment-and-security?hsLang=en#single-tenant-implementations)
    - [Security Features](https://doc.sitespect.com/knowledge/implementation-deployment-and-security?hsLang=en#security-features)
    - [Deployment and Implementation Overview](https://doc.sitespect.com/knowledge/implementation-deployment-and-security?hsLang=en#deployment-and-implementation-overview)
    - [SiteSpect Engine & Admin API](https://doc.sitespect.com/knowledge/implementation-deployment-and-security?hsLang=en#sitespect-engine-admin-api)
- [Third-Party Integration](https://doc.sitespect.com/knowledge/third-party-integration?hsLang=en#main-content)

    - [Google](https://doc.sitespect.com/knowledge/third-party-integration?hsLang=en#google)
    - [Zuko](https://doc.sitespect.com/knowledge/third-party-integration?hsLang=en#zuko)
- [Troubleshooting](https://doc.sitespect.com/knowledge/troubleshooting?hsLang=en)
- [Releases](https://doc.sitespect.com/knowledge/releases?hsLang=en#main-content)

    - [Superfresh](https://doc.sitespect.com/knowledge/releases?hsLang=en#superfresh)
- [Feedback](https://doc.sitespect.com/knowledge/feedback?hsLang=en)

- [A/B Testing](https://www.sitespect.com/testing-and-experimentation/)
- [Personalization](https://www.sitespect.com/personalization-targeting/)
- [Recommendations](https://www.sitespect.com/recommendations/)

[![Monetate-Logo-Full-Color-1](https://doc.sitespect.com/hs-fs/hubfs/Monetate-Logo-Full-Color-1.png?width=200&height=29&name=Monetate-Logo-Full-Color-1.png "Monetate-Logo-Full-Color-1")](http://monetate.com)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, Monetate