Skip to content

feat: add blog analytics dashboard with collapsible UI - #511

Open
GorillaGigabytes wants to merge 1 commit into
mainfrom
feat/blog-analytics-dashboard
Open

feat: add blog analytics dashboard with collapsible UI#511
GorillaGigabytes wants to merge 1 commit into
mainfrom
feat/blog-analytics-dashboard

Conversation

@GorillaGigabytes

Copy link
Copy Markdown
Collaborator
  • Add useGetBlogStats hook with typed BlogAnalytics interface and time_range support
  • Add BlogAnalyticsDashboard with collapsible slide-down panel
  • Show inline stats summary (reads, unique readers, avg read time) near blog date
  • Full dashboard: stat cards, daily/monthly activity charts, countries, cities, platforms, referrers, read time distribution
  • Country normalization (US/USA/United States merged)
  • Filter out local network entries from analytics
  • Time range selector (24h/48h/7d/30d/90d/1y)
  • Responsive layout with mobile-friendly grid

📃 Why Merge This PR?

Briefly describe the changes, fixes, or new features introduced in this PR.

🛠️ Issue Fixed

List any issues this PR resolves (e.g., Fixes #123).

🔍 PR Type

  • 💡 Feature
  • 🐛 Bug Fix
  • 📃 Documentation
  • 🎨 UI Improvements
  • 💻 Code Refactor
  • ✅ Tests

- Add useGetBlogStats hook with typed BlogAnalytics interface and time_range support
- Add BlogAnalyticsDashboard with collapsible slide-down panel
- Show inline stats summary (reads, unique readers, avg read time) near blog date
- Full dashboard: stat cards, daily/monthly activity charts, countries, cities, platforms, referrers, read time distribution
- Country normalization (US/USA/United States merged)
- Filter out local network entries from analytics
- Time range selector (24h/48h/7d/30d/90d/1y)
- Responsive layout with mobile-friendly grid
@netlify

netlify Bot commented Mar 9, 2026

Copy link
Copy Markdown

Deploy Preview for incredible-eclair-ada155 ready!

Name Link
🔨 Latest commit 5b7dae6
🔍 Latest deploy log https://app.netlify.com/projects/incredible-eclair-ada155/deploys/69caab0217ca860691c538bc
😎 Deploy Preview https://deploy-preview-511--incredible-eclair-ada155.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants