Skip to main content

Hello - I’ve tried to summarise our problem as concisely as possible below: 

Problem: How do we understand promotion code redemption & user behaviour using RevenueCat?

Context: We recently ran a promotion using codes generated in App Store Connect. Users who redeemed these codes received two months free on our product. The promotion is now complete and we want to understand what behaviour was like for this cohort. e.g. How many of these users continued with us or did they churn? What’s their LTV? etc. 

 

Details: 

Within App Store Connect Reporting we can identify users who redeemed a code and see their ‘Subscriber ID’. 

Within RevenueCat we then have no method of tying users together i.e. there appears to be no common identifier across the two systems for a given user. Additionally it doesn’t appear that promotion codes sync across the two platforms i.e. when viewing an individual customer in RC, I can’t see within their history if they have utilised a promo code.

 

Any advice appreciated or there’s a different way to solve this problem I’d appreciate any pointers. 

Thank you 

Hey @Saagar Bains ,

Unfortunately we don't have a way to differentiate promo code redemptions from normal purchases at the moment- this is an Apple limitation. Sorry for any inconvenience this causes!


Thanks @jazmine - that’s good to know. We could potentially work around this if there is a common user identifier between App store connect and RC? Do you know if there is one - we’ve looked but can’t seem to find one. We can find ‘Subscriber ID' in Apple reports but this doesn’t appear to sync to RC.

Thanks


@jazmine our team have been looking into this some more. We noticed that the Apple receipt does contain both the offer_code_reference and promotion_offer_id. Can this data not be passed to RC?

I have included links to the relevant Apple Docs:

https://developer.apple.com/documentation/appstorereceipts/offer_code_ref_name

https://developer.apple.com/documentation/appstorereceipts/promotional_offer_id

 

Thanks 


Hey @Saagar Bains ,

I will pass this along to our engineering team and see if this is a possibility! Although I can’t give a timeline if/when this will be completed. 


Hey @Saagar Bains!

To follow up here: we do currently send offer_code_ref_name in our webhooks, so you might be able to leverage those events that have this field to get a better picture of the users redeeming the codes. If you have webhooks setup, you can see this code in the body of the event: https://docs.revenuecat.com/docs/customer-history#event-details

We do have this item in our backlog to improve the way we display offer codes. Let us know if you have any other questions!


Hey @Saagar Bains!

To follow up here: we do currently send offer_code_ref_name in our webhooks, so you might be able to leverage those events that have this field to get a better picture of the users redeeming the codes. If you have webhooks setup, you can see this code in the body of the event: https://docs.revenuecat.com/docs/customer-history#event-details

We do have this item in our backlog to improve the way we display offer codes. Let us know if you have any other questions!

 

This would be extremely helpful for us!


Thank you all - I will pass this to our engineering team to review. 


Hey @Saagar Bains!

To follow up here: we do currently send offer_code_ref_name in our webhooks, so you might be able to leverage those events that have this field to get a better picture of the users redeeming the codes. If you have webhooks setup, you can see this code in the body of the event: https://docs.revenuecat.com/docs/customer-history#event-details

We do have this item in our backlog to improve the way we display offer codes. Let us know if you have any other questions!

Is the offer_code in the webhook only shown if it is from iOS? I checked the webhook for user that redeem offer code for Android, the offer_code is null in the webhook.


Hey @Saagar Bains!

To follow up here: we do currently send offer_code_ref_name in our webhooks, so you might be able to leverage those events that have this field to get a better picture of the users redeeming the codes. If you have webhooks setup, you can see this code in the body of the event: https://docs.revenuecat.com/docs/customer-history#event-details

We do have this item in our backlog to improve the way we display offer codes. Let us know if you have any other questions!

Hello Cody,

Could you please also include promotional_offer_id for iOS alongside offer_code_ref_name for us please? 

https://developer.apple.com/documentation/appstorereceipts/promotional_offer_id

Thank you in advance!


Just to clarify, altho `offer_code_ref_name` is sent to web hooks, it’s not sent to other integrations? I can’t see it anywhere in my Amplitude data tab for example? 


At the very least on the overview page it would be great to see if user opted out of renewal -- as happens automatically with promos, I think -- or not. Or they’re opted out or in status, really.


Reply