---
title: Creating a Site Variation for WATTS
description: Site Variations are similar to regular Variations, except that they apply a site-wide change that does not require the visitor to be assigned to a Campaign. Visitors see Site Variations based on setti
---

[Skip to content](https://doc.sitespect.com/knowledge/creating-a-site-variation-for-watts#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. [Site](https://doc.sitespect.com/knowledge/site?hsLang=en)

# Creating a Site Variation for WATTS

Site Variations are similar to regular Variations, except that they apply a site-wide change that does not require the visitor to be assigned to a Campaign. Visitors see Site Variations based on settings in the Advanced Settings area.

The information we provide here about WATTS assumes that you are familiar with:

- creating a Variation
- defining Triggers
- setting up the Search and Replacement Text

#### Creating the Site Variation

Use the following steps to create a WATTS Site Variation:

1. Select **New**, **Global Variation**.
2. Name it, assign **Tags**, select a **Type, **select a **Status**.
3. Select **Site** in the **Scope** field.
4. Click the **WATTS** button on the right side of the page. Doing this inserts the basic code required for WATTS, which you can then add to or edit when you are defining Triggers and Search & Replace Text.
5. Define **Triggers**. When you clicked the WATTS button, SiteSpect inserted \</body\> in the **Triggers** field.
6. Define **Search & Replace Text**. When you clicked the **WATTS** button, SiteSpect inserted \</body\> in the **Search** field and \<script\>var ss\_watts = "\_\_SS\_LISTCAMPAIGNCOUNTED{\_\_SS\_TCID\_\_:\_\_SS\_VGID\_\_}{,}\_\_";\</script\>\</body\> in the **Replacement Text** field. Use the **Search & Replace** section of the page to insert WATTS macros. This is what makes this Site Variation a WATTS Site Variation, i.e., the inclusion of a WATTS macro in the **Replacement Text** field. Refer to the topic called [WATTS Examples](https://sitespect.force.com/onlinehelp/s/article/WATTS-Examples-1257382574?r=163&ui-knowledge-components-aura-actions.KnowledgeArticleVersionCreateDraftFromOnlineAction.createDraftFromOnlineArticle=1&ui-comm-runtime-components-aura-components-siteforce-qb.Quarterback.validateRoute=1&ui-communities-components-aura-components-forceCommunity-richText.RichText.getParsedRichTextValue=1&ui-communities-components-aura-components-forceCommunity-seoAssistant.SeoAssistant.getSeoData=1&ui-force-components-controllers-recordGlobalValueProvider.RecordGvp.getRecord=1&ui-self-service-components-controller.ArticleTopicList.getTopics=1&ui-self-service-components-controller.ArticleView.getArticleHeaderDetail=1) to review several suggestions on what to include in the **Search & Replace** area.
7. Determine when to apply the Site Variation using the **Advanced Settings** area of the page.
8. **Preview** the Site Variation.

#### Applying Site Variations

The process of creating a Site Variation is similar to the process of creating a regular Variation. In addition, because Site Variations run independently of Campaigns, you must define some additional parameters to tell SiteSpect when to show each Site Variation. The settings appear on the **Advanced Settings** tab of the Site Variation page. These options specify if the Site Variation applies to all visitors, Campaign traffic, non-Campaign traffic, or Preview sessions. In addition, when a visitor is assigned to a Campaign, the options may further restrict the application of the Site Variations to responses in which Variations or Metrics also applied.

![Creating a Site Variation for WATTS - Applying Site Variations](https://doc.sitespect.com/hs-fs/hubfs/Kbase%20Images/Creating%20a%20Site%20Variation%20for%20WATTS%20-%20Applying%20Site%20Variations.png?width=396&name=Creating%20a%20Site%20Variation%20for%20WATTS%20-%20Applying%20Site%20Variations.png)

**Note:** You can also use WATTS macros **Campaign Variations**, which are a type of Global Variation that are associated with one or more Campaigns.

### Things to remember:

- Visitors are typically counted when at least one Factor matches while the visitor is assigned to a Campaign. Advanced options can cause Metrics to trigger counting and prevent Factors from marking a visitor as counted.
- If a visitor is assigned to multiple Campaigns, that visitor satisfies the condition for being counted when he or she is counted in at least one Campaign.
- Only Factors in Campaigns to which the visitor is assigned satisfy the condition **Variation was shown**. QuickChanges and other Site Variations do not satisfy the condition **Variation was shown**.
- Only Metrics in Campaigns to which the visitor is assigned satisfy the condition Metric **was hit**. Baseline Tracking Metrics do not satisfy the condition Metric **was hit**.
- The default values (**All traffic** and **Always**) cause the Site Variation to be shown to every visitor regardless of whether the visitor is assigned to a Campaign, shown a Variation, or hit a Metric during a visit.
- Site Variations can be set to apply before Metrics, Factors, and Variations by setting the Evaluation Sequence to a value between -127 and -100 in the Advanced Settings tab. If the Evaluation Sequence number is negative, then **Apply Based on Variations Shown or Metrics Hits** must be set to **Always**. If **Apply Based on Campaign Assignment** is set to **Test traffic only (and the user is counted)**, then the page view where the visitor is marked as counted will not have the Site Variation applied.

#### Previewing Site Variations

SiteSpect’s Preview feature, located on the Global Variations list page or the Site Variations edit form, allows you to test Site Variations as you create them. You may also use the **Advanced Settings** tab to apply the Site Variation to **Preview Traffic Only**, which includes previews of Campaigns, Metrics, Factors and Variations, and other Site Variations. This is useful for developing components that require the Site Variation when the Site Variation should not apply to general traffic before the Campaign is active. The **Preview As If Assigned To** drop-down menu, available in the Preview section of the Site Variation page, provides a list of Campaigns to Preview in parallel with Site Variation.

![Creating a Site Variation for WATTS - Previewing Site Variations](https://doc.sitespect.com/hs-fs/hubfs/Kbase%20Images/Creating%20a%20Site%20Variation%20for%20WATTS%20-%20Previewing%20Site%20Variations.png?width=665&name=Creating%20a%20Site%20Variation%20for%20WATTS%20-%20Previewing%20Site%20Variations.png)

**Note:** The drop-down menu in the above illustration displays sample data and is not representative of what you will see.

- Choosing **--no Campaign--**, the default, previews this Site Variation alone, without any other Variations or Metrics.
- Choosing a Campaign with the (**control variation group**) option previews this Site Variation in conjunction with the control Variation Group from the listed Campaign.
- Choosing a Campaign with the (**random variation group**) option previews this Site Variation in conjunction with a random non-control Variation Group from the listed Campaign.

The **With All Active Site Variations** feature allows you to preview all the listed Site Variations simultaneously.

![Creating a Site Variation for WATTS - Previewing Site Variations II](https://doc.sitespect.com/hs-fs/hubfs/Kbase%20Images/Creating%20a%20Site%20Variation%20for%20WATTS%20-%20Previewing%20Site%20Variations%20II.png?width=688&name=Creating%20a%20Site%20Variation%20for%20WATTS%20-%20Previewing%20Site%20Variations%20II.png)

**Note:** It is important to preview Site Variations that use WATTS macros to ensure that the resulting analytics tags have been properly modified. Previewing with a Campaign is the best way to simulate the WATTS data that is inserted into the page for real visitors.

- [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