---
title: Visitor Behavior Triggers
description: Visitor Behavior Triggers allow you to consider qualities about a visitor, where that visitor has been, and what the visitor has been doing and to use that information to display a customized message
---

[Skip to content](https://doc.sitespect.com/knowledge/visitor-behavior-triggers#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. [Build](https://doc.sitespect.com/knowledge/build?hsLang=en)
3. [Triggers](https://doc.sitespect.com/knowledge/build?hsLang=en#triggers)

# Visitor Behavior Triggers

Visitor Behavior Triggers allow you to consider qualities about a visitor, where that visitor has been, and what the visitor has been doing and to use that information to display a customized message or some other custom content. What does that mean? It means that you can define a Trigger that helps you answer such questions as:

- How can I offer an existing customer a discount?
- How can I let a customer know that she still has something in her cart?
- How can I offer a discount to customers who visit our site after visiting our competitor?

There are three types of Visitor Behavior Triggers:

- [Metrics](https://doc.sitespect.com/knowledge/about-metrics?hsLang=en)
- [Custom Variables ("String capture" in SuperFresh)](https://doc.sitespect.com/knowledge/about-custom-variables?hsLang=en)
- [Entry Page](https://doc.sitespect.com/knowledge/entry-page-trigger?hsLang=en)

![](https://doc.sitespect.com/hs-fs/hubfs/image-png-Nov-05-2021-06-41-57-42-PM.png?width=348&height=160&name=image-png-Nov-05-2021-06-41-57-42-PM.png)    ![visitor-behavior-SpF](https://doc.sitespect.com/hs-fs/hubfs/visitor-behavior-SpF.png?width=267&height=160&name=visitor-behavior-SpF.png)

### Choosing a Metric as a Visitor Behavior Trigger

When you select **Metric** from the drop-down for Visitor Behavior, SiteSpect presents some additional options.

![Visitor Behavior Triggers - Choosing a Metric as a Visitor Behavior Trigger](https://doc.sitespect.com/hs-fs/hubfs/Kbase%20Images/Visitor%20Behavior%20Triggers%20-%20Choosing%20a%20Metric%20as%20a%20Visitor%20Behavior%20Trigger.png?width=642&name=Visitor%20Behavior%20Triggers%20-%20Choosing%20a%20Metric%20as%20a%20Visitor%20Behavior%20Trigger.png)

1. Select **Visitor Behavior** from the first drop-down and then **Metric** from the next drop-down.
2. The third drop-down contains the list of Metrics that have been specified as [Personalization Metrics](https://doc.sitespect.com/knowledge/creating-a-metric?hsLang=en#use-for-personalization). Select a Metric.
3. Enter the **Total Hits Minimum** and **Maximum**. The Total Hits is the number of times that the visitor has ever triggered the Metric. This field is independent of the Time Elapsed field, i.e., there is no way to specify if the visitor has triggered the selected Metric X number of times in the last Y number of days.
4. Enter the **Time Elapsed Minimum** and **Maximum**. The Time Elapsed is the range of time for the last time the visitor triggered the selected Metric. For example, if you want to know if the visitor triggered the Metric within the last week, you would enter 0 days in the Minimum field and 7 days in the Maximum field.
5. Complete the rest of the Metric settings as usual and click **Save**.

Change the scope to Visit or User Level

**Note**: talk to your account team to enable **Session Visitor Behavior Triggers** for your account in order to use this feature.

By default, Visitor Behavior Triggers are evaluated at the **User** **level**, so that all visits (including any active ones) are considered for evaluation. In this mode, minimum and maximum hits/time are calculated against the entire history of a given user.

To restrict the evaluation of these Triggers only to active visits, change the **Scope **to **Visit level**. In this mode, minimum and maximum hits/time are calculated only for the duration of a single visit, for a given user.

![](https://doc.sitespect.com/hs-fs/hubfs/image-png-Nov-05-2021-06-40-47-98-PM.png?width=585&name=image-png-Nov-05-2021-06-40-47-98-PM.png)

### Choosing a Custom Variable as a Visitor Behavior Trigger

The Custom Variable ("String capture" in SuperFresh) option under Visitor Behavior matches on string values that have been captured during the visit, such as categories viewed or order IDs. Instead of hits to the metric, this trigger matches on either a specific **value & count** or on **unique values**:

#### Value & count

- Value represents a specific variable captured during a visit.
- Count specifies how many times that variable must have been captured in a visit.

![visitor-behavior-string-capture-value-count](https://doc.sitespect.com/hs-fs/hubfs/visitor-behavior-string-capture-value-count.png?width=688&height=153&name=visitor-behavior-string-capture-value-count.png)

1. Select **Visitor Behavior** from the first drop-down and then **Custom Variable (String capture)** from the next drop-down.
2. The third drop-down contains the list of string capture metrics that have been specified as [Personalization Metrics](https://doc.sitespect.com/knowledge/visitor-behavior-triggers).
3. In the **Value** field, enter a value that represents a specific variable captured during a visit.
4. In the **Count** field, enter a number that specifies how many times that variable must have been captured in a visit for the Trigger to match.
   
   **Note:** Both the Value and Count fields must match successfully for the overall match to succeed. To match multiple values, use the following format (value1,value2,...). This matches visits during which at least one of the specified values is captured.
5. Complete the rest of the Metric settings as usual and click **Save**.

#### Unique value

- This will match only once per unique value.
- A common example is to use this with an order confirmation metric that captures order ID. The confirmation metric will fire every time the confirmation page is loaded, including when someone returns to the page to check on status. When you set up a second metric that matches only on unique order IDs, your new metric will only fire on unique orders, and will not fire if someone reloads the confirmation page for a previous order.

![visitor-behavior-string-capture-unique-value](https://doc.sitespect.com/hs-fs/hubfs/visitor-behavior-string-capture-unique-value.png?width=688&height=121&name=visitor-behavior-string-capture-unique-value.png)

### Choosing Entry Page as a Visitor Behavior Trigger

When you select Entry Page you can specify if you want your change to apply only on the first page of a user's session (Entry Page is True) or on subsequent pages (Entry Page is False).

![entry-page](https://doc.sitespect.com/hs-fs/hubfs/entry-page.png?width=688&height=164&name=entry-page.png)

This trigger can be used alone to match on any entry page, regardless of what that page is, or it can be combined with other trigger types. For example, you can combine the Entry Page trigger with a Global Trigger, such as one that matches on blog articles, to show changes only when a user begins their session on a blog article. 

![entry-on-blog](https://doc.sitespect.com/hs-fs/hubfs/entry-on-blog.png?width=688&height=153&name=entry-on-blog.png)

### Personalization Metrics

A check box called **Use this Metric for Personalization** in the Settings area of Metrics allows you to make the current Metric into a Visitor Behavior Metric. Selecting this option makes the Metric available on the Metric Behavior drop-down in the Triggers area.

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