Ensure you have started an experiment to the status
In Progress
before
following the guideStep One: Copy Embeded Code
Navigate to the website settings and insert our script tag in theCustom Code
section.
Replace value of
YOUR_WORKSPACE_ID
with your unique data_1p
found on
connectWe recommend only placing the script in the
/pricing
page of your website
(or any place you have pricing) rather than the entire website. This will
ensure more accurate results.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.
You can always contact us via live chat or email and we can
set up a price experiment together!