Operators

Capabilities to create advanced combinations for your Audience.

Ninetailed's Rule Builder provides powerful operators to help you define Audiences based on specific conditions. The two main operators available are "And" and "Or".

"And" Rules

When using the "And" operator, all conditions within a section must be true for the rule to apply. This also applies to both the "where" and "when" conditions within such a ruleset. By using "And" rules, you can create precise and specific criteria for your target audience.

Example:

Condition 1: User is in the United States Condition 2: User has made a purchase in the last 30 days

Result: The rule will apply only if both conditions are true.

"Or" Rules

The "Or" operator allows you to separate multiple "And" rules by creating a ruleset. With it, any of the "And" rulesets need to be fulfilled for the overall Audience to apply. This provides flexibility in defining audiences with multiple possible criteria.

Example:

Rule 1 (And Rule): Condition 1: User is in the United States Condition 2: User has made a purchase in the past 30 days

-(OR Rule)- Rule 2 (And Rule): Condition 1: User is in Canada Condition 2: User has made a purchase in the past 30 days

Result: The Audience will apply to both US- and Canada-visitors who have made a purchase in the past 30 days.

Last updated