Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Include rule types in a persona customer segment rule

Describes the rule types to include in a persona customer segment rule in Optimizely Configured Commerce.

A persona/customer segment is built on the user and customer characteristics that you add to a persona/customer segment rule. You select these characteristics from groups of similar characteristics like the data fields on the Customer screen. You can also use characteristics outside of the Admin Console like the shopper's location. The groups of similar characteristics appear in the Rule Type dropdown field in the Rules Tab. When you choose a Rule Type the remaining fields in the Rule Tab are updated to display only the fields you need to complete for that Rule Type. The following tables list each Rule Type and the data fields that must be completed to build the persona/customer segment rule.

User Custom Properties
Custom Property Name This text box is used to determine the User Custom Property that the rule will attempt to compare using the Comparison Operator and Value
Comparison Operator This drop-down is used to select the comparison criteria. The options are: Equals, Not Equals, Less Than, Less Than or Equals, Greater Than, Greater Than or Equals, Matches, Range, List
Value This text box will hold a value that the Comparison Operator will attempt to resolve against
Condition An And/Or option that is used to determine if the rule is intended to resolve in addition to other rules, or if it is supposed to resolve true in an either/or case
Customer Fields
Criteria Property This drop-down is used to determine the Criteria Property that the rule will attempt to compare using the Comparison Operator and Value
Comparison Operator This drop-down is used to select the comparison criteria. The options are: Equals, Not Equals, Less Than, Less Than or Equals, Greater Than, Greater Than or Equals, Matches, Range, List
Value This text box will hold a value that the Comparison Operator will attempt to resolve against
Condition An And/Or Option that is used to determine if the rule is intended to resolve in addition to other rules, or if it is supposed to resolve true in an either/or case
Distance from a Point
Location Phrase This text box is used to enter an address that will be translated into a specific Latitude and Longitude by Google Maps
Latitude This text box is used to determine the Latitude for the origination point of this rule
Longitude This text box is used to determine the Longitude for the origination point of this rule
Within/Outside This selector is used to determine if the distance is intended to be within the area originating from the geographic location, or outside of that area
Distance This text box and selector is used to determine the numerical distance from the origination point this rule will resolve true for, and if that distance is in Kilometers or Miles
Condition An And/Or Option that is used to determine if the rule is intended to resolve in addition to other rules, or if it is supposed to resolve true in an either/or case
Customer Custom Properties
Custom Property Name This text box is used to determine the Customer Custom Property that the rule will attempt to compare using the Comparison Operator and Value
Comparison Operator This drop-down is used to select the comparison criteria. The options are: Equals, Not Equals, Less Than, Less Than or Equals, Greater Than, Greater Than or Equals, Matches, Range, List
Value This text box will hold a value that the Comparison Operator will attempt to resolve against
Condition An And/Or option that is used to determine if the rule is intended to resolve in addition to other rules, or if it is supposed to resolve true in an either/or case
Current Location
Criteria Property This drop-down is used to determine the property type for the Location Criteria. The options available are: City, Country/Abbreviation, IDString, Latitude, Longitude, PostalCode, StateAbbreviation.
Comparison Operator This drop-down is used to select the comparison criteria. The options are: Equals, Not Equals, Less Than, Less Than or Equals, Greater Than, Greater Than or Equals, Matches, Range, List
Value This text box will hold a value that the Comparison Operator will attempt to resolve against
Condition An And/Or option that is used to determine if the rule is intended to resolve in addition to other rules, or if it is supposed to resolve true in an either/or case
Authenticated
Value This checkbox is used to check and see if the user has been authenticated.
Condition An And/Or option that is used to determine if the rule is intended to resolve in addition to other rules, or if it is supposed to resolve true in an either/or case