Insighty is a privacy-focused website analytics platform that tracks anonymous visitor sessions and performs identity stitching to link sessions with converted leads. It provides full customer journey visibility and demonstrates a SaaS demo with secure authentication, payment integration, and a modern frontend.
Add a live demo link or GIF/screenshots here
- Anonymous Visitor Tracking – respects user privacy
- Identity Stitching – connects anonymous sessions to converted leads
- Secure Authentication – HTTP-only refresh tokens and runtime-only access tokens
- Payment Integration – Razorpay webhooks with idempotency for subscriptions and one-time payments
- Intuitive Frontend – Built with Svelte 5; dashboards for leads and analytics
- Backend & Database – FastAPI + PostgreSQL; modular structure for auth, database, models, and schemas
| Layer | Technology |
|---|---|
| Frontend | Svelte 5 |
| Backend | FastAPI, Python |
| Database | PostgreSQL |
| Payments | Razorpay (webhooks, idempotency) |
| Authentication | JWT with HTTP-only refresh tokens and runtime access tokens |
Frontend (Svelte 5)
│
▼
REST API (FastAPI) ──> PostgreSQL
│
▼
Razorpay Webhooks
- Visitors hit the website → tracked anonymously
- Session events stored in PostgreSQL → linked to leads upon conversion
- Dashboard visualizes analytics and lead journeys
- Payments handled securely via Razorpay webhooks with idempotency
- Python 3.11+
- Node.js 20+
- PostgreSQL
cd backend
pip install -r sqlachemy fastapi
# Initialize Database
python init_db.py
# Run FastAPI
uvicorn main:app --reloadcd my-svelte-app
npm install
npm run dev- Visit the frontend (
localhost:5173) - Register a user or login
- Embed tracking snippet on your test website
- View dashboard analytics, leads, and conversion data
- Test payments via Razorpay sandbox
- Fork the repository
- Create a branch:
git checkout -b feature/my-feature - Commit your changes:
git commit -m "Add new feature" - Push to branch:
git push origin feature/my-feature - Open a Pull Request
Developed Insighty, a full-stack SaaS demo for privacy-focused analytics using FastAPI, PostgreSQL, and Svelte 5. Implemented secure JWT-based authentication, Razorpay payment integration with webhooks, and identity stitching to link anonymous sessions to leads, providing **end-to-end customer journey vi



