superwall / Superwall-iOS

Remotely configure every aspect of your paywall and double your revenue.
https://superwall.com
MIT License
86 stars 22 forks source link

Feature/add context to no rule match #167

Closed yusuftor closed 1 year ago

yusuftor commented 1 year ago

Changes in this pull request

When a user gets no_rule_match, we now store which part of the unmatched rules failed in the TriggerFire event params. This is in the format "unmatched_rule_<id>": "<outcome>". Where outcome will either be OCCURRENCE, referring to the limit applied to a rule, or EXPRESSION. The id is the experiment id.

Checklist