Working with groups
Last updated
Last updated
Groups allow you to combine multiple rules using logical operators like AND, OR, and NOT to create more complex conditions for your segment. Once you set up your rules and groups, you can apply additional logic to refine the segment further.
1. Creating a Group:
A group contains multiple rules, and you can define the relationship between the rules using AND, OR, or NOT.
For example, if you create a rule like:
- Rule 1: Fans who attended more than 3 matches this season.
Then, you add a group that contains conditions like:
- Rule 2 AND Rule 3: Fans who purchased merchandise AND signed up for a membership.
- Rule 2 OR Rule 3: Fans who purchased merchandise OR signed up for a membership.
- NOT Rule 2 NOT Rule 3: Fans who did not purchase merchandise and did not sign up for a membership.
Let’s call this group of conditions Group 1.
Once you have Rule 1 and Group 1 (with any combination of conditions), you can apply logical operators to connect them:
Rule 1 AND Group 1: The segment will include fans who attended more than 3 matches AND either purchased merchandise or signed up for a membership (depending on the conditions in Group 1).
Rule 1 OR Group 1: The segment will include fans who either attended more than 3 matches OR meet any condition in Group 1 (e.g., purchased merchandise or signed up for membership).
Rule 1 NOT Group 1: The segment will include fans who attended more than 3 matches but will exclude fans who meet any condition in Group 1 (e.g., fans who purchased merchandise or signed up for membership).
When you apply the main NOT operator at the top level, the entire segment will exclude fans who meet any of the combined rules and group conditions. This means the segment will subtract the fans who meet the specified rules or group conditions from your total fan base.
Example:
Rule 1: Fans who attended more than 3 matches this season.
Group 1: Fans who purchased merchandise OR signed up for a membership
When you apply the main NOT operator, the entire fanbase will be reduced by the fans who meet these combined conditions. The formula would be:
Total Fan Base - (Fans who attended more than 3 matches AND/OR purchased merchandise or signed up for membership). This means the segment will exclude fans who either attended more than 3 matches, purchased merchandise, or signed up for a membership. Only fans who do not meet these conditions will remain in the segment.