Behavior: Page History

To create a Segment based on page history:

  1. In the sidebar menu on the right, open the Segments tab.
  2. Click Add Segment in the upper right hand corner, or click Edit to modify an existing one. 
  3. This will open a window with all of the different Segment options. 

  4. Choose Behavior from the menu on the left. This will open all the behaviorally driven Segments. 
  5. Enter the pages of your site that you wish to include or exclude. 

    There are 3 formats you may choose from when deciding what URLs to include or exclude:

    CONTAINS - This is the most typical usage of the feature. Here you can type a word or words that distinguish the pages you want to target. If you type the word "cart," then any page on your site with the word "cart" inside the URL will be included or excluded.

    MATCHES - This format allows you to be extremely precise. For example, if you only want a Nugget to appear on your homepage, then you can include your entire URL - Note that if your homepage can be accessed using different protocols (http, https) you must list them all in separate entries. Same applies for subdomains ( AND Every possible way to access your homepage should be included as a separate list item when using this format. 

    **MATCHES may be used to target specific newsletter subscribers (i.e., those who arrived at your site from a specific email campaign). To do this, enter the full URL with the correct UTM parameters. 

    REGEX - Regular expressions (regex or regexp for short) are special characters that match or capture portions of a field, as well as the rules that govern all characters. It's a language you can use which allows you maximum specificity and flexibility when defining your rules for which pages to include or exclude. If you have a set of pages defined using regex in Google Analytics, you can copy the same rules into your Nugget settings. For more info, see Google's article about regular expressions, or learn how to write them here: 

  6. Remember to name your segment something that will help you remember who you are targeting, then click Save.

**Note: This feature allows you to create a Segment of visitors based on their browsing history. To learn how to include or exclude Nuggets from different pages on your site, see this article.

**Nota Bene: Targeting visitors based on behavior is persistent for lifetime.

Have more questions? Submit a request
Powered by Zendesk