Skip to main content
Question

String Variables


Forum|alt.badge.img

I switched to V2 Paywall, I want to print “Try 7 Days Free & Subscribe” on the purchase button and I tried it like this: Try {{ product.offer_period_with_unit }} Free & Subscribe. This is not working, I want this variable to say 7 Days when monthly package is selected and 14 Days when annual package is selected.

This post has been closed for comments

3 replies

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 282 replies
  • March 12, 2025

Hi ​@oguzd - when you say it’s not working, what’s happening, exactly? Have you set up the 7/14 day offers as Introductory Offers in App Store Connect? Also, have you input the string you shared in the “Text field for an introductory offer” section, like the example below?

 

 


Forum|alt.badge.img
  • Author
  • New Member
  • 3 replies
  • March 13, 2025

Hey ​@jeffrey_bunn . My app is in the play store, unfortunately. According to the document, what you say does not apply.


jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 282 replies
  • March 19, 2025

Hi ​@oguzd, this should still work for Google Play apps. Have you configured the appropriate offers on your subscription’s base plans? Also, you mentioned that it’s not working - can you share more about what the paywall actually renders when you use the product.offer_period_with_unit variable?


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