Skip to main content
Question

User's current subscription entitlement as customer attribution for Targeting

  • December 21, 2024
  • 1 reply
  • 10 views

Forum|alt.badge.img

Hi,

 

I have 2 packages to offer: Starter, Premium.

I have multiple offering that I’d like to display, based on the user sub.

Free User will get Offering A, which has Starter Plan or Premium Plan.

Starter Users will get Offering B, which has Starter->Premium special offer.

 

I have a few placements in my app, where I want to display the right offering based on the user’s current subscription, but I don’t see any attribute in the Targeting which I can relay on as user entitlement/subscription.

 

What’s the best way to do it, if possible at all?

This post has been closed for comments

1 reply

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 277 replies
  • January 7, 2025

Hi ​@idan-gozlan-91a42a! We don’t yet support entitlements as a targeting rule, but one workaround would be to set the entitlement as a Customer Attribute, which you can then use as a targeting rule. One thing to keep in mind is to syncAttributesAndOfferingsIfNeeded when setting attributes client-side. You’ll also want to subscribe to webhooks and update the entitlement attribute server-side if it expires, to ensure it’s always in sync.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings