GitTrends icon indicating copy to clipboard operation
GitTrends copied to clipboard

Referral sites should show individual pages

Open Happypig375 opened this issue 5 years ago • 4 comments

In GitHub, you can see individual pages under referral sites in Traffic. It would be really useful to expose this data via GitTrends instead of opening the site root upon pressing the site.

Happypig375 avatar May 29 '20 16:05 Happypig375

Thanks for the feedback!

To help me understand the feature request, are you asking to see both Referring Sites data and Views/Clones data on the same page?

I.e., When you tap on a repository to see its views/clones chart you’d also like to see the Referring Sites data on the same page without needing to tap on the Referring Sites icon.

Am I on the right track?

TheCodeTraveler avatar May 29 '20 17:05 TheCodeTraveler

Ah - I see now!

On GitHub, you can tap on the referring site to see the actual website from the specific domain.

Love it! I’ll have to dig into the GitHub API to see if they expose this data 👍

Referring Sites Domains
image image

TheCodeTraveler avatar May 29 '20 17:05 TheCodeTraveler

Found the Top Referral Paths in the GitHub API Docs: https://developer.github.com/v3/repos/traffic/#get-top-referral-paths

This doesn't give me the specific referring sites, rather it provides the specific link in GitHub that the user visited.

I'll keep looking for API documentation for the Domains, above

TheCodeTraveler avatar Jun 18 '20 15:06 TheCodeTraveler

Marking this as blocked, because it doesn't look like GitHub has an API for Domains.

If I've missed it and anyone else has found it, let me know!

TheCodeTraveler avatar Jun 22 '20 20:06 TheCodeTraveler