Use this reference when you are creating a custom order rule and want to know what each Data Field means.
Order rules compare information from a Shopify order, product, or customer record against a value you enter in Glow. The field you choose controls which operators are available and what kind of rule you can create.
For step-by-step setup instructions, start with How do I create custom order rules for points?
How operators work
The available operators change based on the field you choose.
Numeric fields use:
is greater than
is less than
is equal to
Text and list fields use:
is equal to
contains
does not contain
includes
does not include
Use contains when the field can include your text as part of a longer value. For example, gmail.com matches someone@gmail.com.
Use includes when the field is a list and one item in the list should match exactly. For example, a product with tags SALE, Summer includes SALE.
Text matching is case-sensitive, so SALE and sale are treated differently.
Order fields
Order Total
Field in Glow: Order Total
Operators: is greater than, is less than, is equal to
What Glow checks: The order total.
Use it for: Awarding or preventing points based on order value.
Example: Use Order Total > 500 to award a fixed number of points for high-value orders.
Order Tags
Field in Glow: Order Tags
Operators: is equal to, contains, does not contain, includes, does not include
What Glow checks: Tags on the Shopify order.
Use it for: Changing points for orders that have a specific Shopify order tag.
Use includes when you want to match one tag in a list of order tags.
Discount Code
Field in Glow: Discount Code
Operators: is equal to, contains, does not contain, includes, does not include
What Glow checks: The discount code Glow receives for the order.
Use it for: Preventing points for certain promotions or campaign codes.
Example: Use Discount Code contains ABC to match discount codes with an ABC campaign prefix.
If an order has more than one discount code, Glow checks the last discount code in the order data it receives from Shopify. If you are trying to match automatic discounts that do not appear as a discount code, consider using Total Discounted Amount instead.
Total Discounted Amount
Field in Glow: Total Discounted Amount
Operators: is greater than, is less than, is equal to
What Glow checks: The total discount amount on the order.
Use it for: Changing points when an order has a large discount.
Example: Use Total Discounted Amount > 25 when orders with more than $25 in discounts should earn different points.
Gateway
Field in Glow: Gateway
Operators: is equal to, contains, does not contain, includes, does not include
What Glow checks: The payment gateway or payment method names on the order.
Use it for: Changing points for orders paid with a specific gateway.
Gateway values depend on how Shopify reports the payment method for the order.
Source Name
Field in Glow: Source Name
Operators: is equal to, contains, does not contain, includes, does not include
What Glow checks: Where the order came from.
Use it for: Changing points based on sales channel.
Common source values can include web, pos, shopify_draft_order, iphone, android, or an app-specific source value.
Product fields
Product Tags
Field in Glow: Product Tags
Operators: is equal to, contains, does not contain, includes, does not include
What Glow checks: Tags on products in the order.
Use it for: Changing points when an order includes products with a specific tag.
Product Tags is also the only field that supports Exclude matching items.
For example, use Product Tags + includes + SALE + Exclude matching items when products tagged SALE should not earn base order points.
Enter the product tag exactly as it appears in Shopify.
Customer fields
Customer Email Address
Field in Glow: Customer Email Address
Operators: is equal to, contains, does not contain, includes, does not include
What Glow checks: The customer's email address on the order.
Use it for: Matching or excluding customers by email address or email domain.
Example: Use Customer Email Address contains gmail.com when a rule should apply to Gmail addresses.
Customer State
Field in Glow: Customer State
Operators: is equal to, contains, does not contain, includes, does not include
What Glow checks: The customer's Shopify account state.
Use it for: Matching customers by account status.
Common Shopify customer states include:
disabledinvitedenableddeclined
Customer Tags
Field in Glow: Customer Tags
Operators: is equal to, contains, does not contain, includes, does not include
What Glow checks: Tags on the Shopify customer record.
Use it for: Changing points for wholesale customers, VIP groups, staff accounts, test customers, or other customer segments.
Use includes when you want to match one tag in a list of customer tags.
Customer Note
Field in Glow: Customer Note
Operators: is equal to, contains, does not contain, includes, does not include
What Glow checks: The note on the Shopify customer record.
Use it for: Special cases where your team consistently stores useful rule information in customer notes.
Customer notes are flexible, so this field works best when your store uses a consistent note format.
Customer Order Count
Field in Glow: Customer Order Count
Operators: is greater than, is less than, is equal to
What Glow checks: The customer's total number of orders.
Use it for: Changing points for new or returning customers.
Example: Use Customer Order Count > 5 when customers with more than five orders should earn different points.
Customer Total Spent
Field in Glow: Customer Total Spent
Operators: is greater than, is less than, is equal to
What Glow checks: The customer's total spend in your store.
Use it for: Changing points for high-value customers.
Example: Use Customer Total Spent > 1000 when customers who have spent more than $1,000 should earn different points.
Quick reference table
Field | Type | Best operator to start with | Example value |
Order Total | Number | is greater than |
|
Order Tags | List/text | includes |
|
Product Tags | List/text | includes |
|
Discount Code | Text | contains |
|
Total Discounted Amount | Number | is greater than |
|
Gateway | List/text | contains |
|
Source Name | Text | is equal to |
|
Customer Email Address | Text | contains |
|
Customer State | Text | is equal to |
|
Customer Tags | List/text | includes |
|
Customer Note | Text | contains |
|
Customer Order Count | Number | is greater than |
|
Customer Total Spent | Number | is greater than |
|
Troubleshooting field matching
The rule does not match
Check capitalization and spacing. Text matching is case-sensitive, and includes looks for an exact list item.
The operator I want is not available
Glow limits operators based on the selected field. Numeric fields use greater than, less than, and equal to. Text and list fields use contains and includes options.
I am not sure whether to use contains or includes
Use contains for partial text matches. Use includes for exact matches inside a comma-separated list, such as tags.
Product Tags are not matching
Confirm the tag exists on the product in Shopify and enter it exactly as it appears. If you want to exclude only the matching products in an order, use Exclude matching items as the rule type.
Related articles



