Partager via


How to Create a Target Expression

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

You create target expressions to specify the users you want to target ads and discounts to. Expressions are a combination of properties, operators, and values that yield a result upon evaluation. You create an expression by selecting from a list of pre-defined targets, operators, and if required, entering the value to be evaluated by the expression, such as a number. For example, a target expression might be "Account Class is equal to 10" or "Female User is True".

In addition to targeting users of your site, you might also want to target other information representing the context of a request for content. Examples of this are targeting content to users who are visiting your site from a particular domain, targeting content to specific pages or page groups on your site, and targeting content to pages where specific search keywords are provided.

This topic describes how to create a target expression.

To create a target expression

  1. Click Start, point to Microsoft Commerce Server 2007 , and then click Marketing Manager.

  2. In Commerce Server Marketing Manager, in the Views pane, click Expressions.

  3. In the Tasks pane, click Create New Target Expression.

  4. In the New Target Expression screen, do the following:

Use this

To do this

Expression Name

Type a name for the new target expression.

Field

Select the field that you want to use in this condition from the drop-down list. The list of properties available depends on the targeting profile you selected. Built-in Commerce Server fields are the following:

  • Targeting Context.<Property>. Properties that have been created for the Targeting Context profile, such as the Unique ID and Page Group properties.

  • Time Context.<Timeframe>. Timeframes such as Month or Year that you use for the expression.

Condition

Select an operator type for the expression from the drop-down list. Available types of conditions are operators such as Is equal to and Is greater than.

Value

Type the property or value to be evaluated by the expression.

  1. Click Add to add an additional And/Or condition to the expression.

  2. Click OK after you add all the conditions you want to the expression.

See Also

Other Resources

What is a Catalog Expression?

What is a Target Expression?

What is an Expression/Action Pair?

How to Create a Catalog Expression

How to Add a Property Definition

How to Create a Property