Page Views API is an open-source, developer-first API that lets you track page views with a single script – no setup, no dashboard, and no complexity. Built for modern web apps, it automatically tracks visits across pages and SPAs with minimal overhead.
Features
- One-line script integration to start tracking instantly without any setup.
- Automatically tracks page views and handles route changes in SPAs like React and Next.js.
- Time-based deduplication prevents duplicate counts within a defined window.
- Lightweight and fast with minimal network overhead and no dependencies.
- Privacy-friendly approach with no storage of raw personal data.
- Simple API to fetch view counts for any page or entire site.
- Built on serverless architecture with Redis for reliable and scalable performance.
Technologies and Skills
- Next.js
- TypeScript
- TailwindCSS
- Redis
- shadcn/ui
- Bun