For developer tools, open-source libraries and APIs, GitHub is often the front door. People land on a repository, read the README, and follow the link to your website, docs or pricing page. Those visitors already know what you do, which is why their sign-ups and payments are worth tracking separately.
What Reveata counts as GitHub
| Field | Value |
|---|---|
| Display name | GitHub |
| Channel | Organic social |
| Referrer domain | github.com (and any subdomain) |
| Alias for tagged links | github |
The referrer host is lower-cased and www. is removed, then it must be github.com or end in .github.com. That covers repositories, issues, pull requests, discussions and gist.github.com.
What is not GitHub
- GitHub Pages sites live on
github.io, which is a separate domain, not a subdomain ofgithub.com. A visit fromsomeone.github.iois a Referral with that host as the source. - Raw files and package registries have their own domains and are not on the list either.
Why some GitHub visitors arrive as Direct
By default, browsers send only the origin of the referring page to another site (MDN: Referrer-Policy (opens in a new tab)). So Reveata sees github.com but not which repository or issue sent the visit. Visits from links copied out of a terminal, an editor, a desktop Git client or a mobile app usually have no referrer at all and count as Direct. That is common for developer audiences.
Tag the links in your README
A tagged link names its own source and can carry the repository name:
https://example.com/docs/install?utm_source=github&utm_medium=social&utm_campaign=readme-main-repoOther places worth tagging: the repository's website field, release notes, the issue template and your organisation profile. Use utm_content to tell apart links within one README, such as the badge and the "Get started" link. Keep utm_source=github on all of them so every link adds up under one source. See UTM tags, ?ref and ad click ids.
See whether GitHub visitors pay
- Record sign-ups or API-key creation as goals (Custom goals).
- Connect a payment provider and identify users when they sign in, so an upgrade weeks later still finds the GitHub visit.
- On the Dashboard, open the Sources card, click Organic social, then
github.comon the Referrer tab or your README campaigns on the Campaign tab. Sort by Revenue.
curl -G https://reveata.com/api/v1/websites/example.com/analytics/breakdown \
-H "Authorization: Bearer $REVEATA_TOKEN" \
--data-urlencode "dimension=utm_campaign" \
--data-urlencode "metrics=visitors,goal_completions,revenue,revenue_per_visitor" \
--data-urlencode "period=last_90d" \
--data-urlencode 'filters=[{"dimension":"source","operator":"is","values":["GitHub"]}]'Compare GitHub with Stack Overflow, Hacker News and DEV on revenue per visitor.
Releases on the chart
A separate feature, GitHub commits on the chart, marks each commit to your default branch on the dashboard chart, so you can see whether a release moved visits, sign-ups or revenue. It does not change how GitHub traffic is counted.