How to keep GitHub traffic data for longer than 14 days
GitHub shows repository traffic for the last 14 days and then lets it go. To keep it, call the traffic API at least once every 14 days (daily is easier), save views and clones as one row per day, and save referrers and popular content as dated snapshots of a 14-day window. Never…