Use the window.w2w API and custom JS to extend quizzes and paywalls.
When the standard blocks aren't enough, you can drop into JS via window.w2w. The pages here show concrete recipes — most of them are <50 lines of code you can paste into an HTML block.
API and data
window.w2wJS API — read answers, set user properties, fire events.- Making requests from a quiz and saving data
- Callback before the quiz ends
UI and behavior
Payments and post-purchase
- Handling Stripe submit errors
- Sending a Purchase event with test prices
- Custom after-pay page with redirect
- Upsell subscription with cancellation refund