The most effective way to manage audiences based on subscription status is to use a custom Tag to represent whether a user is an active subscriber.
Here is the recommended approach:
Create a Single Source-of-Truth Tag: From your backend, send a custom Tag to Pushwoosh that reflects the user's current subscription status. For example, you could use a Tag named
is_premiumwith a boolean value (truefor active subscribers,falsefor free or expired users).Manage the Tag from Your Backend: Your server should be responsible for updating this Tag's value whenever a user's subscription status changes.
- When a user subscribes or renews, set the Tag value to
true. - When a subscription expires or is canceled, update the Tag value to
false. This approach allows you to consolidate subscription data from multiple sources (e.g., Adapty, Stripe, direct payments) into one reliable Tag.
- When a user subscribes or renews, set the Tag value to
Build a Segment: In your Pushwoosh account, create a Segment that filters users based on this custom Tag. For example, an "Active Subscribers" segment would be configured with the condition "
is_premiumistrue".
This segment will remain dynamically updated. As your backend updates the Tag for each user, they will automatically be added to or removed from the segment, ensuring your campaigns always target the correct audience.
Comments
0 comments
Please sign in to leave a comment.