Environment conditions cover properties that are not necessarily related to the user’s profile or the current time. For example, the type of Web browser a visitor is using might not be included in his or her profile, but that information is available when the visitor accesses the site and it can be used for targeting then. For example:

Show this content:
   items whose platform is Macintosh
Under these conditions:
   if Browser's using Macintosh system is true

To set a rule’s environment conditions:

  1. Click in the Under These Conditions field in the Rule Set panel. The following options appear:

  2. Use the options as described below.

    Browser’s

    Select Browser’s to set a browser-related condition. For example: Browser's supports cookies is true.

    Locale’s

    Select Locale’s to set a locale-related condition. For example, if Locale's defaultRequestLocale is en_ US.

    Note: Locale options are relevant if you are working on a localized Web site that displays content in different languages depending on the language setting in a visitor’s browser. For more information about internationalization and localization, refer to the ATG Programming Guide.

    Profile’s

    Select Profile’s to set a person-related condition. For example, if Profile's Home address's State is NY.

    Request’s

    Select Request’s to set an HTTP request-related condition. For example, if Request's loggingInfo is false.

    Developer’s Note: The ATG Business Control Center does not display form parameters in the drop-down list of Request properties. If you want to include form request parameters in your targeting business rules, you can work around this by creating a new request-scoped Form Handler object and adding it to the TargetingSourceMap service in the Personalization module. (For more information on setting up a TargetingSourceMap service, see Setting Up Targeting Services in the ATG Personalization Programming Guide.) Once your new Form Handler is in the TargetingSourceMap, all the object’s properties should appear in a drop-down list of Form Handler properties in the ATG Business Control Center. You can then select them for your targeting business rules.

    Today’s

    Select Today’s to set a time-related condition. For example, if Today's date is 10/20/2006.

    The application developers working on your Web site can add other environment options to this list by setting up a TargetingSourceMap service in the Personalization module. For more information, see Setting Up Targeting Services in the ATG Personalization Programming Guide.

    When you select one of these options, the ATG Business Control Center displays additional fields (illustrated below), allowing you to select the property, comparison operator, and value you want to use.

    The selections in the Comparison Operator and Value drop-down lists change depending on the property you select. If the property has a limited set of values, the Value list will include all your possible choices. If the property has an unlimited number of values, you can type a unique value directly into the field. An instruction showing the value type required (“Type a string,” for example) appears below the text field:

  3. If you want to add other environment conditions, click the period at the end of the phrase, as shown, and then select “And” or “Or” as appropriate: