This is a simple dashboard application that displays analytics data from Swetrix Analytics API. It includes:
- Visitor statistics (sessions, pagesviews, session duration)
- Top referring websites
- Weekly traffic data
It uses /v1/log and /v1/log/birdseye endpoints to fetch data.
To get started with this dashboard, follow these steps:
- Clone the repository
- Navigate to the project directory
- Install dependencies
npm install
- Start the development server
npm run dev
- Open your browser and navigate to the URL shown in the terminal
This dashboard uses the Swetrix API to fetch data for our live stats (public) project with ID STEzHcB1rALV
.
For more information about the Swetrix Analytics API, visit the documentation.