seladb / github-traffic-stats

A small Python project to pull and store traffic stats for GitHub projects using GitHub API
MIT License
28 stars 13 forks source link

Feature Request get top referral sources for repo included in DB #6

Closed NotoriousRebel closed 3 years ago

NotoriousRebel commented 4 years ago

Would be pretty nice to see where exactly traffic is coming from :) This mighthelp.

seladb commented 4 years ago

Thanks for your suggestion!

How do you suggest we incorporate this data in the DB? Should we add a column for each referrer?

NotoriousRebel commented 4 years ago

That sounds like a good way to do it!

seladb commented 4 years ago

Actually I'm not sure adding a column for each referrer would be a good idea because that way we have no control on the number of columns and the data each column contains.

I'm not sure I can find a nice and clean way to do it. What do you think?