Install Widget
Add ChurnRecovery to your app in under 5 minutes. Choose your preferred integration method.
1
Add the script tag
Add this snippet before the closing </body> tag on every page of your app.
2
Trigger the cancel flow
Call ChurnRecovery.showCancelFlow() when a user clicks your cancel button.
3
You're done!
💡 That's it! The widget handles the cancel flow UI, reason collection, offer presentation, and event logging automatically.
✅ Verify Installation
After installing, trigger a test cancel flow. You should see the modal appear with your configured reasons and offers. Events will appear in your Analytics tab within seconds.