📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Reorganise
Blue Mousec541f00c3dee
diff --git a/docs/docs/features/ask-ai.md b/docs/docs/analytics-dashboard/ask-ai.mdsimilarity index 91%rename from docs/docs/features/ask-ai.mdrename to docs/docs/analytics-dashboard/ask-ai.mdindex 29c8d5846..353af0317 100644--- a/docs/docs/features/ask-ai.md+++ b/docs/docs/analytics-dashboard/ask-ai.md@@ -1,6 +1,6 @@---title: Ask AI-slug: /features/ask-ai+slug: /analytics-dashboard/ask-ai---import useBaseUrl from '@docusaurus/useBaseUrl';@@ -11,7 +11,7 @@ Ask AI is a powerful feature that allows you to query your analytics data usingAsk AI uses advanced language models to understand your questions and translate them into queries against your analytics data. It can help you find trends, anomalies, and specific metrics without needing to know the underlying query language or navigate through multiple dashboard views.-<img alt="Ask AI" src={useBaseUrl('img/features/ask-ai.png')} />+<img alt="Ask AI" src={useBaseUrl('img/analytics-dashboard/ask-ai.png')} />## Examplesdiff --git a/docs/docs/features/experiments.md b/docs/docs/analytics-dashboard/experiments.mdsimilarity index 87%rename from docs/docs/features/experiments.mdrename to docs/docs/analytics-dashboard/experiments.mdindex 2cb04a7bc..9ce533dc4 100644--- a/docs/docs/features/experiments.md+++ b/docs/docs/analytics-dashboard/experiments.md@@ -1,6 +1,6 @@---title: Experiments (A/B Testing)-slug: /features/experiments+slug: /analytics-dashboard/experiments---import useBaseUrl from '@docusaurus/useBaseUrl';@@ -50,8 +50,8 @@ When a user participates in an experiment (i.e., they are assigned a variant), SYou can create and manage your experiments in the **Experiments** tab of your project dashboard.-<img alt="Experiments list" src={useBaseUrl('img/features/experiments-list.png')} />+<img alt="Experiments list" src={useBaseUrl('img/analytics-dashboard/experiments-list.png')} />You can also see how your experiments are performing by clicking on the Results button.-<img alt="Experiment results" src={useBaseUrl('img/features/experiment.png')} />+<img alt="Experiment results" src={useBaseUrl('img/analytics-dashboard/experiment.png')} />diff --git a/docs/docs/features/feature-flags.md b/docs/docs/analytics-dashboard/feature-flags.mdsimilarity index 91%rename from docs/docs/features/feature-flags.mdrename to docs/docs/analytics-dashboard/feature-flags.mdindex 0bfa85d0f..f71702efb 100644--- a/docs/docs/features/feature-flags.md+++ b/docs/docs/analytics-dashboard/feature-flags.md@@ -1,6 +1,6 @@---title: Feature Flags-slug: /features/feature-flags+slug: /analytics-dashboard/feature-flags---import useBaseUrl from '@docusaurus/useBaseUrl';@@ -62,4 +62,4 @@ clearFeatureFlagsCache()You can create and manage your feature flags in the **Feature Flags** tab of your project dashboard.-<img alt="Feature flags list" src={useBaseUrl('img/features/feature-flags-list.png')} />+<img alt="Feature flags list" src={useBaseUrl('img/analytics-dashboard/feature-flags-list.png')} />diff --git a/docs/docs/analytics-dashboard/profiles-and-sessions.md b/docs/docs/analytics-dashboard/profiles-and-sessions.mdnew file mode 100644index 000000000..26e3c0dcc--- /dev/null+++ b/docs/docs/analytics-dashboard/profiles-and-sessions.md@@ -0,0 +1,73 @@+---+sidebar_label: Profiles & Sessions+title: Individual User Insights (Profiles & Sessions)+---++The Profiles and Sessions tabs allow for a granular view of user behavior, helping you understand individual user journeys and debug specific issues.++## Profiles++The **Profiles** tab lists all unique visitors to your website within the selected time period. Each row represents a unique user (or profile).++### Understanding the Profiles List++For each profile, you can see:++- **Profile ID**: A unique identifier for the user. If the user is identified (e.g., logged in), this might display their name or email if you have set up User Identification.+- **Status**:+ - **Online**: User is currently active (green indicator).+ - **Recently Active**: User was active in the last 30 minutes (yellow indicator).+ - **Offline**: User has not been active recently.+- **Metadata**: Country, Operating System, and Browser.+- **Stats**: Total sessions, pageviews, events, and errors associated with this profile.+- **Last Seen**: The date and time the user was last active.++### Filtering Profiles++You can filter the profiles list to find specific users or segments:++1. **User Type**: Use the toggle buttons at the top to filter by:+ - **All Users**: Show everyone.+ - **Anonymous**: Show only users who haven't been identified.+ - **Identified**: Show only users with a User ID.++2. **General Filters**: Use the main dashboard filters (top bar) to narrow down by:+ - **Country / Region / City**+ - **Browser / OS / Device**+ - **Source / Medium / Campaign**+ - **Custom Events**++This is particularly useful for finding users who experienced specific bugs (e.g., filter by "Browser: Safari" if you suspect a Safari-specific issue).++## Profile Details++Clicking on any profile in the list opens the **Profile Details** view. This view provides a comprehensive history of that specific user's interaction with your site.++### Overview & Activity Calendar++The top section shows a summary of the user:++- **First Seen & Last Seen**: When they first visited and when they were last active.+- **Total Revenue**: If you are tracking revenue, the total amount generated by this user.+- **Activity Calendar**: A heat map visualization (similar to GitHub contributions) showing the user's activity intensity over the last few months. This helps you quickly identify when the user is most active.++### Session History++Below the overview, you will see a list of all **Sessions** for this user. A session represents a continuous period of activity.++For each session, you can see:++- **Duration**: How long the session lasted.+- **Entry & Exit Pages**: Where they started and ended their session.+- **Timeline**: A step-by-step log of every pageview and custom event within that session.++This "User Journey" view is incredibly powerful for:++- **Debugging**: See exactly what steps a user took before encountering an error.+- **UX Analysis**: Understand common paths users take and where they might be getting stuck or dropping off.++## Sessions Tab++While the **Profiles** tab groups activity by user, the **Sessions** tab lists all individual sessions from all users chronologically.++Use this view when you want to analyze global session trends or spot anomalies across the entire user base, rather than focusing on specific individuals.diff --git a/docs/docs/features/revenue-tracking.md b/docs/docs/analytics-dashboard/revenue-tracking.mdsimilarity index 96%rename from docs/docs/features/revenue-tracking.mdrename to docs/docs/analytics-dashboard/revenue-tracking.mdindex 263eddca0..6b8f7714d 100644--- a/docs/docs/features/revenue-tracking.md+++ b/docs/docs/analytics-dashboard/revenue-tracking.md@@ -1,6 +1,6 @@---title: Revenue Tracking-slug: /features/revenue-tracking+slug: /analytics-dashboard/revenue-tracking---Swetrix allows you to track revenue generated by your users, giving you insights into your project's financial performance alongside your analytics data.diff --git a/docs/sidebars.js b/docs/sidebars.jsindex 56947ab8d..d22960859 100644--- a/docs/sidebars.js+++ b/docs/sidebars.js@@ -24,11 +24,12 @@ module.exports = {},'troubleshooting',],- Features: [- 'features/revenue-tracking',- 'features/ask-ai',- 'features/feature-flags',- 'features/experiments',+ 'Analytics Dashboard': [+ 'analytics-dashboard/revenue-tracking',+ 'analytics-dashboard/ask-ai',+ 'analytics-dashboard/feature-flags',+ 'analytics-dashboard/experiments',+ 'analytics-dashboard/profiles-and-sessions',],'Site settings': ['sitesettings/how-to-access-site-settings',diff --git a/docs/static/img/features/ask-ai.png b/docs/static/img/analytics-dashboard/ask-ai.pngsimilarity index 100%rename from docs/static/img/features/ask-ai.pngrename to docs/static/img/analytics-dashboard/ask-ai.pngdiff --git a/docs/static/img/features/experiment.png b/docs/static/img/analytics-dashboard/experiment.pngsimilarity index 100%rename from docs/static/img/features/experiment.pngrename to docs/static/img/analytics-dashboard/experiment.pngdiff --git a/docs/static/img/features/experiments-list.png b/docs/static/img/analytics-dashboard/experiments-list.pngsimilarity index 100%rename from docs/static/img/features/experiments-list.pngrename to docs/static/img/analytics-dashboard/experiments-list.pngdiff --git a/docs/static/img/features/feature-flags-list.png b/docs/static/img/analytics-dashboard/feature-flags-list.pngsimilarity index 100%rename from docs/static/img/features/feature-flags-list.pngrename to docs/static/img/analytics-dashboard/feature-flags-list.png