Step One: Copy Embeded Code
Navigate to the website settings and insert our script tag in theCustom Code section.
Step Two: Dynamic Price Number
You can createCode Components on Framer in the Assets Tab by clicking +.
Then, use can the 1Price API to change the price value to match with your experiment.
Here is a template you can copy and paste to include as part of your Code Component.
[TEMPLATE] Dynamic Price
[TEMPLATE] Dynamic Price
That’s it!
There is no need, to track checkout sessions since your users will likely purchase within your app, not on your landing page.The following are a couple other cases you might fall in:
For Stripe Payment Links
For Stripe Payment Links
Add a function have all Stripe buttons tagged on the experiment.
updateButton()
🧪 Test Integration:
- Start an experiment on 1Price
- Make a test purchase on your website
- Ensure transaction was tracked on dashboard
BONUS: You can create a 100% off coupon on Stripe and use that code to make the test purchase, so you do not get charged.