🔍 Discount Manager: Using the Preview Tool
Overview
The Preview Tool lets you test how your setup behaves for real users.
Why it’s important
It helps you understand:
-
which variant matches
-
why rules pass or fail
-
whether a push will be queued
How to use it
Step 1
Open your page
Step 2
Click Preview Tool
Step 3
Select an app user
Step 4
(Optional) select a variant
Step 5
Click Run Preview
What you will see
Summary
-
matched variant
-
push decision
-
queue reason
User context
Actual values used in rules:
-
days since first seen
-
OS status
-
email
-
device type
Rule breakdown
For each variant:
-
rule results (pass/fail)
-
expected vs actual values
Common results explained
-
✅ Would queue → all conditions met
-
❌ No OneSignal ID → cannot send push
-
❌ Not opted in → push disabled
-
❌ Cooldown active → too soon
-
❌ Max pushes reached → limit hit
Best practice
Always test:
-
expected matches
-
expected non-matches
-
push-enabled variants