Recently Viewed Items Listening

Recently Viewed Items Listening allows you to pick up on the pages that the visitor viewed recently and store the name and the link as an item in a profile property. This information is typically used to display a clickable list of recently viewed items to the visitor, using the Recently Viewed Items edit toolbar item.

Using the listener

 

To use the listener, do the following:

  1. Select the profile property to hold the items.
  2. Select whether you will use the Title or the URL for segmentation.
  3. Select the maximum number of items that you want to store. Once the maximum number of items is reached, a new item will replace the oldest item on the list.
  4. Determine the life time of items by selecting the number of days after which an item will be deleted.
  5. Add one or more listening rules to record viewed items. There are two type of rules to choose from: content rules and click rules.
    Content rule

    A content rule allows you to record the current page as an item with the title of your choice, as well as an image. For example, you could create a content rule to keep track of product pages that have "Add to cart" on the page and the image of the product.

    You can select the following options for a content rule:

    • title: Select "the HTML title", "Heading 1", "Header 2" or "Heading 3" to be used as a title. Or pick a custom title from the page and give it a meaningful name.
    • image: select 'No Image' if you do not want to save an image, or use the Custom Image Selector to save images.
    • area: Select "Any area" or pick a custom area from the page and give it a meaningful name.
    • Select whether the area should "contain" or "exactly match" the given words.
    • words: Select "Any word" if you want to match anything or use "Define word(s)" to add words or sentences that you would like to be matched.

    The default selection "any area contains any word" means the same as "always", so every page and its title will always be stored when the visitor visits a new page on your channel.

    Click rule

    A click rule allows you to record the title and the linked page the link that the visitor clicks. For example, you could create a click rule keep track of clicked links in the articles side bar.

    You can select the following options for a click rule:

    • area: Select "Any area" or pick a custom area from the page and give it a meaningful name.
    • Select whether the area should "contain" or "exactly match" the given words.
    • words: Select "Any word" if you want to match anything or use "Define word(s)" to add words or sentences that you would like to be matched.
    • selector: Pick the link on a page that should be recorded whenever the visitor clicks it. You can pick a specific link (e.g. div#articles a:nth-of-type(2)), or use a more general selector to match multiple links (e.g. div#articles a).

 

The Recently Viewed Items Listener is a standard plugin