Rulesets

Sublytics Analytics is extremely customizable through filtering and pivot table style reporting. But when there is a need to drill in, include certain components & exclude others, this is where rulesets come in. 

  Business Use Case

Use Case 1: I want to see only Initial Offers. I name my offers "Brand A Initial" and "Brand A Upsell". I am going to create a ruleset where Offer Name 'contains' Initial.

Use Case 2: I have an issue and need to isolate anyone from Campaign A who are on billing cycle 2+ and used any discount code that starts with "JULY". I am going to create a ruleset where Campaign = A ; Transaction Cycle greater than 2 ; Discount Code starts with JULY. I also want all these definitions to be true.

In this article you will learn how to: 

  1. Create a Ruleset
  2. Save a Ruleset
  3. Creating Alerts using Rulesets

Create a Ruleset

Rulesets allow a user to create a very specific cohort of customer, orders, transactions to analyze. 

Rulesets use defined field operator relationship to determine what is included in the cohort. These can be created from:

  • Configuration settings such as Campaign, Offer, Item, etc
  • Marketing Sources: Network, Source, UTM Parameters, etc
  • Customer Data - AOV, CLV, Revenue, etc
  • Transactional Data - Cycle, attempt, Add On, Upsell, etc
  • Payment Data - Discounts Used, Payment Methods used, Processor, etc

Within every report, you can use Rulesets: 

How to create a Ruleset

  1. In the report, navigate to the Ruleset Builder tab
  2. Click Choose Field Screen_Shot_2021-09-22_at_3.26.02_PM.png
  3. Click Choose Operator
  4. Select values to define the ruleset. Using "," will allow multiple selections within one rule.
  5. Click Add Rule
  6. Repeat this process with any combination of Fields operator values until Ruleset / cohort is defined
  7. Select Apply to ReportScreen_Shot_2021-09-22_at_3.30.23_PM.png

Operators will determine what the ruleset should be limited to: 

Operator Definition
Doesn't End With Wild Search - the field selected does not end with xxx. Anything that ends with the input definition will be excluded in the cohort
Equals Include all fields selected in the cohort.
Does Not Equal Exclude all fields selected in the cohort.
Starts With Wild Search - the field selected starts with xxx. Anything that starts with the input definition will be included in the cohort
Contains Wild Search - the field selected contains xxx. Anything that contains xxx will be included in the cohort
Ends With Wild Search - the field selected ends with xxx. Anything that ends with the input definition will be included in the cohort
Doesn't Start With Wild Search - the field selected does not start with xxx. Anything that starts with the input definition will be excluded in the cohort
Doesn't Contain Wild Search - the field selected contains xxx. Anything that contains xxx will be excluded in the cohort

 

Lastly, define how restrictive the ruleset logic should be:

Any Definition Can Be True
In this Ruleset, anything defined can be true. NOT ALL definitions have to be present for a customer to be in this ruleset. 
Example: A ruleset has discount code ABC and Transaction Cycle = 2. When Any Definitions Can be True is set, customers with cycle 1 using discount code ABC can be in this ruleset. Similarly, customers on transaction cycle 2 without discount code ABC can be in this ruleset. 
All Definitions Must Be True
In this Ruleset, everything that is defined must be true for a customer/transaction to remain in this ruleset. 
Example: A ruleset has discount code ABC and Transaction Cycle = 2. When All Definitions Must be True is set, customers with cycle 1 using discount code ABC will not be in this ruleset. Only customers on cycle 2 with a discount code of ABC will be in this Ruleset. 
 

Validation Tips

Create your ruleset, then use the filters included/excluded in your ruleset across a large date range. If you expect something to be excluded that you see in your report, double check the definitions are configured correctly

Save a Ruleset

To Save a Ruleset, simply navigate to the right corner and select "Save Ruleset".

Screen_Shot_2021-09-22_at_3.32.12_PM.png

Once the ruleset has a name, it will appear in the dropdown "Load Ruleset" with all other saved Rulesets:

Screen_Shot_2021-09-22_at_3.33.47_PM.png

 

Applying a Ruleset to an Alert

When creating an alert, there is the option to select Ruleset. Choose the ruleset as the alert filter and create the alert as normal. See more on alerts here.

Screen_Shot_2021-09-22_at_3.38.48_PM.png

 

Was this article helpful?
0 out of 0 found this helpful