Dynamic Customer Group Attributes in B2C Commerce

Use these attributes for dynamic customer groups.

Profile Attributes

Attribute Type Operators
Birthday (customer.profile.birthday) Date is on, is after, is before, is in range, isn’t in range, is today, is yesterday, is tomorrow, is in the last x days, isn’t in the last x days, is in the next x days, isn’t in the next x days, is in the last, is in the current, is in the next, exists
Company (customer.profile.companyName) String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Creation Date (customer.profile.creationDate) Date is on, is after, is before, is in range, isn’t in range, is today, is yesterday, is tomorrow, is in the last x days, isn’t in the last x days, is in the next x days, isn’t in the next x days, is in the last, is in the current, is in the next, exists, doesn't exist
Email (customer.profile.email) String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Gender (customer.profile.gender) String is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, exists, doesn't exist
Last Login Time (customer.profile.lastLoginTime) Date is on, is after, is before, is in range, isn’t in range, is today, is yesterday, is tomorrow, is in the last x days, isn’t in the last x days, is in the next x days, isn’t in the next x days, is in the last, is in the current, is in the next, exists
Last Visit Time (customer.profile.lastVisitTime) Date is on, is after, is before, is in range, isn’t in range, is today, is yesterday, is tomorrow, is in the last x days, isn’t in the last x days, is in the next x days, isn’t in the next x days, is in the last, is in the current, is in the next, exists
Login (customer.profile.login) Date is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Next Birthday (customer.profile.nextBirthday) Date is on, is after, is before, is in range, isn’t in range, is today, is yesterday, is tomorrow, is in the last x days, isn’t in the last x days, is in the next x days, isn’t in the next x days, is in the last, is in the current, is in the next, exists
Preferred Locale (customer.profile.preferredLocale String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Salutation (customer.profile.salutation) String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
This Year's Birthday (customer.profile.thisYearsBirthday) Date is on, is after, is before, is in range, isn’t in range, is today, is yesterday, is tomorrow, is in the last x days, isn’t in the last x days, is in the next x days, isn’t in the next x days, is in the last, is in the current, is in the next, exists

Title

(customer.profile.title)

String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist

Address Attributes

Attribute Type Operators
City (customer.addressBook.preferredAddress.city) String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Country (customer.addressBook.preferredAddress.countryCode) Enum-of-Int is equal, isn’t equal, exists, doesn't exist
Postal Code (customer.addressBook.preferredAddress.postalCode) Boolean is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
State (customer.addressBook.preferredAddress.stateCode) Boolean is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist

Active Data Attributes

Attribute Type Operators
Average Order Value (customer.activeData.avgOrderValue) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Creation Date (customer.activeData.creationDate) Date is on, is after, is before, is in range, isn’t in range, is today, is yesterday, is tomorrow, is in the last x days, isn’t in the last x days, is in the next x days, isn’t in the next x days, is in the last, is in the current, is in the next, exists
Discount Value (With Coupon) (customer.activeData.discountValueWithCoupon) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Discount Value (Without Coupon) (customer.activeData.discountValueWithoutCoupon) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Gift Orders (customer.activeData.giftOrders) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Gift Units (customer.activeData.giftUnits) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Last Modified (customer.activeData.lastModified) Date is on, is after, is before, is in range, isn’t in range, is today, is yesterday, is tomorrow, is in the last x days, isn’t in the last x days, is in the next x days, isn’t in the next x days, is in the last, is in the current, is in the next, exists
Last Order Date (customer.activeData.lastOrderDate) Date is on, is after, is before, is in range, isn’t in range, is today, is yesterday, is tomorrow, is in the last x days, isn’t in the last x days, is in the next x days, isn’t in the next x days, is in the last, is in the current, is in the next, exists
Order Value (30 Days) (customer.activeData.orderValueMonth) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Order Value (Lifetime) (customer.activeData.orderValue) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Orders (customer.activeData.orders) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Base Products Ordered (customer.activeData.productMastersOrdered) Set-of-String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Products Abandoned (30 Days) (customer.activeData.productsAbandoned) Set-of-String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Products Ordered (customer.activeData.productsOrdered) Set-of-String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Products Viewed (30 Days) (customer.activeData.productsViewedMonth) Set-of-String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Return Value (customer.activeData.returnValue) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Returned Items (customer.activeData.custom.returnItems) Set-of-String is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Returns (customer.activeData.returns) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Source Code Orders (customer.activeData.sourceCodeOrders) Set-of-String is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Top Categories Ordered (customer.activeData.topCategoriesOrdered) Set-of-String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Visits (30 Days) (customer.activeData.visitsMonth) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Visits (365 Days) (customer.activeData.visitsYear) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Visits (7 Days) (customer.activeData.visitsWeek) Integer is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist

Request Attributes

Attribute Type Operators
Request Locale (request.locale)   is equal, isn’t equal

Geolocation Attributes

Attribute Type Operators
City (request.geoLocation.city) String is equal, isn’t equal, starts with, ends with, contains, doesn't contain, exists, doesn't exist
Country Code (request.geoLocation.countryCode) String is equal, isn’t equal, exists, doesn't exist
Latitude (request.geoLocation.latitude) Number is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Longitude (request.geoLocation.longitude) Number is equal, isn’t equal, is greater than, is less than, is greater than or equals, is less than or equals, is in range, exists, doesn't exist
Metro Code (request.geoLocation.metroCode) String is equal, isn’t equal, starts with, ends with, contains, doesn't contain
Postal Code (request.geoLocation.postalCode) String is equal, isn’t equal, starts with, ends with, contains, doesn't contain

Region Code (request.geoLocation.regionCode)

Note
Note this is state or province
String is equal, isn’t equal, starts with, ends with, contains, doesn't contain

Storefront Session Attributes

Attribute Type Operators
Active Source Code Group (session.sourceCodeGroups) String, user can enter multiple, comma-separated values. The source codes aren’t validated. is equal, isn’t equal, starts with, ends with, contains, doesn't contain
Agent User Authenticated (session.agentUserAuthenticated) Boolean is true, is false. Evaluates if an agent user is logged into the storefront.
Authenticated (session.authenticated) Enum-of-Boolean is true, is false
Customer Groups (customer.customerGroups)

String. User enters the customer group id.

is equal, isn’t equal
Referrer Host (session.referrerHost) String, user can enter a single value (see Using Referrer Attributes.) is equal, isn’t equal, starts with, ends with, contains, doesn't contain
Referrer Keywords (session.referrer.Keywords) String, user can enter a single value (see Using Referrer Attributes.) is equal, isn’t equal, starts with, ends with, contains, doesn't contain
Referrer URL (session.referrerURL) String, user can enter a single value (see Using Referrer Attributes.) is equal, isn’t equal, starts with, ends with, contains, doesn't contain
Registered (customer.registered) Enum-of-Boolean is true, is false
Session Currency (session.currency) String. User selects a currency. is equal, isn’t equal
Session Custom Attribute String (see Using Session Custom Attributes for details on how this rule is evaluated). is equal, isn’t equal, starts with, ends with, contains, doesn't contain, is greater than, is less than, is greater than or equals, is less than or equals, is in range, is true, is false, exists, doesn't exist