Add criterion

When you click Add criterion, a new view opens where you can enter the name and criterion type for the rule.

A criterion is a condition that must be met for a specific view to be displayed.

General

  • Name - Enter a name for the criterion. A rule can consist of several criteria. Keep this in mind when naming your criteria.
  • Criterion type - To select a criterion type, click on the link Criterion type: Metadata or the arrow in front of it. A list of available criterion types will then be displayed.

Select a criterion type from the list. You will see different settings depending on the type you selected. Below is a list of all the different criterion types:

Criterion type Metadata

Here you can select metadata that contains/is equal to/less than/greater than the value you enter.

In the example below, the metadata "Start for menu" must be equal to "Economy" for a view to be displayed.

Criterion type Page language

 Here you select the language that must match the page language for a criterion to be met.  

Criterion type Browser language

Here you select the language that must match the browser language for the criterion to be met.

Criterion type IP address range

Here you can specify a criterion where the user comes from a specific IP address range.

Criteria type Login

 Here you can specify a criterion where the visitor must be logged in.

Criterion type Catalog object

Here you can select a catalog object to which the view should apply.

Criterion type Virtual group

Here you can select a virtual group to which the view should apply. All virtual groups available on the website are displayed in a list.

Criterion type User attribute

Here you can specify a particular attribute that the view should apply to. For example, if you want the profile to apply to all managers, enter Title as the attribute name and Manager as the attribute value. Click OK.

For this to work, the user must have a value entered in the directory service. You can also specify your own attribute that is available in your directory service.

Criterion type User field

This criterion is linked to Social Collaboration, which must be enabled on the website for you to be able to select user fields.

Criterion type Session attribute

Here you can select a session attribute, for example if you want to use a value that exists in the visitor's session. Such values can be set via scripts or your own portlets, for example.

Criterion type Sitevision intranet app

Here you can select a criterion that the view is shown if the visit comes from the Sitevision intranet app.

Criterion type User agent

 This criterion allows you to check whether the visitor is accessing the site using a mobile device.

Criterion type Referrer

A referrer is a header that tells you where the visitor came from. If someone clicks on a link that goes to your page, you can find out where they came from.

If the visitor clicks on a shared post on Facebook, the referrer will contain facebook.

Criterion type Referrer setting

A referrer parameter allows you to use the parameters in the referrer header.

If a visitor has clicked on www.minsida.se/index.html?banner=mail, you can create a criterion based on banner=mail.

Our search modules use Ajax-based searches. Searches that are to display their results on the same page as the search is performed will be done using Ajax. Such searches are performed without changing the parameters of the page. A referrer criterion will therefore not find such searches. However, if a search result is to be presented on another page, the page is called with a parameter and can be found by a referrer criterion. If the visitor has disabled JavaScript in their browser, parameters are always sent.

Criterion type URL parameter

A URL parameter allows you to use the parameters in the URL. For example, campaign ID.

Criterion type Google search

Criterion type Last visit

If the visitor has not been on the website for, say, five days, a view can be displayed for them.

Criterion type Number of visits

You can use this type if you want to create customized content for those visiting the page for the first time.

Criterion type Javascript

Here you can enter a script to check that something is fulfilled, for example, whether the user is logged in or whether the user lacks an email address in the directory service. It is the variable result that should be set to true or false.

Criterion type User

Here you can select a user, folder or group in the directory to which the view should apply. Click on the person icon on the right to select the current user/folder/group.

Criterion type Tags

With this type, you can choose to customize content for pages that are tagged with certain labels.

Criterion type Tag groups

With this type, you can choose to customize content for pages that are tagged with certain tag groups. If you choose Tag group instead of Tag, you can be sure that you won't forget any tags.

Criterion type UserData

With this type, you can choose to customize content on pages with data you have saved about the user using User Data (requires development).

The page published:

Did the information help you?

help.sitevision.se always refers to the latest version of Sitevision