Skip to main content
Question

sub_offer_duration not allowed in CTA


Forum|alt.badge.img+5

The doc says:

To address this with RevenueCat Paywalls, consider using sub_offer_price and sub_offer_duration in either your package details or your CTA to ensure that the introductory offer is clearly disclosed.

 

In the paywall editor:

Variable "sub_offer_duration" is not allowed in this field.

This seems an odd and unecessary restriction.

So I’m not sure where to put this information. The “Call to action for an introductory offer” does not display in the preview so how are you supposed to do this generically? Where do you put the cancel anytime? Where do you inform people of the free trial?

This post has been closed for comments

2 replies

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 369 replies
  • July 18, 2024

Which template/field are you referring to? And could you post a screenshot? You should be able to add this variable virtually anywhere that accepts a variable input. (Also, have you seen this display toggle?)

 

 


Forum|alt.badge.img+5
  • Author
  • Helper
  • 17 replies
  • July 18, 2024

I figured out it doesn’t work in the CTA as suggested. You need to use the introductory offer CTA. I decided to put the information in the package anyway. 

BTW, you really need to update the example code. The swiftui example code is years old and doesn’t show using the new paywall mechanism. I’m afraid people might think the old way is the right way. Using this new system is fantastically simpler than hand coding everything.


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