Lightweight in-app popups & surveys for React SPAs
TinyPopups works with any React SPA (Vite, CRA, Remix, TanStack Router) via one async script tag in index.html — not a version-locked NPM component package. Target users by plan, route, or custom events to launch feature announcements, NPS/CSAT surveys, and upgrade nudges from $19/mo.
- Paste script tag in index.html: Add your async TinyPopups script tag inside <head> or before </body> in your Vite/React index.html.
- Pass user traits in a top-level useEffect: When your auth user loads, call window.tinypopups?.identify({ id: user.id, plan: user.plan, createdAt: user.createdAt }).
- Fire track() on key milestones: Call window.tinypopups?.track('report_generated') inside event handlers to trigger contextual CSAT, NPS, or upgrade prompts.
- Create & target campaigns visually: Pick from 48+ templates, filter by React Router path or user traits, and publish in seconds.
- Onboarding welcome popup with video: Greet first-time signups on /onboarding or /dashboard with a 60-second YouTube walkthrough.
- G2 & Capterra review collection: Prompt happy power users right after a milestone to grow social proof.
- In-app 1-click roadmap polls: Ask active users 'Which integration should we build next?' directly inside your React app.
- Cancellation save survey: Capture churn reasons on /settings/billing before a user confirms cancellation.
Frequently asked questions
Does TinyPopups work with React 18, React 19, and Vite?
Yes. Because TinyPopups loads via a standalone async script tag and communicates through window.tinypopups, it works identically across React 17, 18, 19, Vite, Remix, and React Router.
How do TypeScript projects type window.tinypopups?
Declare an optional global interface on Window (identify and track methods) in vite-env.d.ts — 4 lines of TypeScript and full autocomplete.
Does it detect React Router SPA URL changes?
Yes — URL targeting rules match SPA navigation changes without requiring full browser page reloads.