Between 25-jul and 1-ago the upgrade modals logged 35 checkout clicks and Stripe recorded one new subscription. Nothing in between was measured: TopUpModal fired only QuotaWallCheckout/UpsellModalCheckout, and CheckoutStarted lived exclusively in PricingSection, so the funnel could not tell "never reached Stripe" from "reached Stripe and abandoned". Both surfaces now emit the same chain — CheckoutStarted (click) -> CheckoutRedirected (we hold a Stripe URL) -> CheckoutFailed (we don't, with the reason) — segmented by a `source` prop of wall | upsell | pricing. The modal also writes the os_pending_checkout stash that PricingSection already wrote, so a plan bought from a modal stops losing its revenue attribution on the Subscribed goal. The modal copy now leads with what the user gets (clips ready to post, a library that stays) and states the free-plan limit second. Leading with the watermark and the 7-day deletion framed the paid tier as "pay to undo restrictions we added", which is the losing side of an argument against our own MIT repo, whose headline is "no watermarks, no limits". GPU rendering and the bundled Gemini key stay out of the modal on purpose: they are the real reasons the cloud beats self-hosting, but the free plan already gets both, so they belong on the pricing surface facing repo visitors rather than in a modal shown to someone already using them. |
||
|---|---|---|
| .. | ||
| public | ||
| seo | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| vite-plugin-seo.js | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.