Skip to main content
Answer

Implementing Custom Variables in RevenueCat Paywalls

  • April 20, 2024
  • 2 replies
  • 873 views

Forum|alt.badge.img

Hello,

I'm interested in incorporating custom variables for each package within RevenueCat paywalls. Is this possible? To clarify, let's consider a scenario with two packages displayed on the RC paywall, namely pkgA and pkgB. For each package, I aim to integrate two custom strings: strA1 and strA2 for pkgA, and strB1 and strB2 for pkgB. In this context, these custom variables (strA1, strA2, strB1, strB2) are distinct from the variables mentioned on your "Displaying Paywalls" page. Essentially, I'm seeking complete flexibility in defining the values of strA1, strA2, strB1, and strB2.

Could you provide guidance on how to implement this?

Thank you in advance for your assistance.

Best answer by Michael Fogel

Hey @jbalt !

 

You can customize your paywall with different Strings and variables but these are based on the paywall itself. Another workaround would be to have a different paywall for your other package which displays the completely different strings that you wish to display. 

 

Let me know if that helps! 

This post has been closed for comments

2 replies

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • Answer
  • April 24, 2024

Hey @jbalt !

 

You can customize your paywall with different Strings and variables but these are based on the paywall itself. Another workaround would be to have a different paywall for your other package which displays the completely different strings that you wish to display. 

 

Let me know if that helps! 


Forum|alt.badge.img
  • Author
  • New Member
  • April 25, 2024

Hi @Michael Fogel, I understand. Many thanks for yor answer.