This task can be performed using Repohistory
GitHub repo analytics
Best product for this task
Repohistory
analytics
Repohistory is an analytics tool for tracking GitHub repo traffic history longer than 14 days

What to expect from an ideal product
- Automatically collects and stores your GitHub repository traffic data before it expires after 14 days
- Provides historical charts showing visitor trends, clone activity, and referral sources over months or years
- Connects directly to GitHub's API to pull traffic metrics and saves them in a permanent database
- Displays long-term analytics through an easy-to-read dashboard with downloadable reports
- Runs continuous background monitoring so you never lose traffic data again
