Rule Basics
How Rules Work
- Rules evaluate consumer attributes
- If conditions are met, the consumer is a member
- Membership updates automatically as data changes
- No manual maintenance required
Rule Components
Each rule consists of:
Caption: Each rule has three main components
Available Fields
Contact Information
Loyalty & Engagement
Dates & Timing
Tags & Attributes
Custom Attributes
Custom attributes you’ve defined for consumers can also be used in rules:Operators
String Operators
Number Operators
Date Operators
Array Operators
Combining Rules
AND Logic
When rules are combined with AND, consumers must match all rules:OR Logic
When rules are combined with OR, consumers must match any rule:Complex Logic
Combine AND and OR for complex targeting:Rule Groups
Group rules for cleaner organization and complex logic: Caption: Group rules for complex logicCreating Groups
- Click Add Group
- Add rules within the group
- Set logic within the group (AND/OR)
- Set logic between groups (AND/OR)
Common Rule Patterns
VIP Customers
Active Customers
High-Value Prospects
New Customers
Corporate Customers
Lapsed Customers
Testing Rules
Preview Matching Consumers
Before saving, preview which consumers match:- Configure your rules
- Click Preview Matches
- Review the list of matching consumers
- Adjust rules if needed
Test Specific Consumer
Check if a specific consumer matches:- Click Test Consumer
- Search for a consumer
- See which rules they match/fail
- Understand why they’re included or excluded
Rule Performance
Best Practices
- Use indexed fields - Email, phone, and ID fields are fastest
- Avoid complex calculations - Simple rules perform better
- Limit nested groups - Keep logic straightforward
- Test with samples - Preview before saving
Performance Considerations
Editing Rules
Modifying Existing Rules
- Navigate to the audience detail page
- Go to the Rules tab
- Click on a rule to edit
- Save changes
Adding Rules to Existing Audience
- Click Add Rule on the Rules tab
- Configure the new rule
- Set logic connection (AND/OR)
- Save
Removing Rules
- Click the delete icon on the rule
- Confirm removal
- Membership updates automatically
Troubleshooting
Rules Not Matching Expected Consumers
- Check field names - Ensure using correct field
- Verify operators - equals vs. contains
- Check data types - String vs. number
- Review logic - AND vs. OR
Rules Matching Too Many Consumers
- Add more restrictive conditions
- Change OR to AND logic
- Add exclusion rules
Rules Matching Too Few Consumers
- Relax conditions (greaterThan 500 vs. 1000)
- Change AND to OR logic
- Remove restrictive rules
Related Guides
- Create Audience - Build new audiences
- Audiences Overview - Managing audiences
- Consumer Management - Understanding consumer data