Skip to content
Social networks

GitHub traffic: visitors from READMEs, issues and gists

3 min read · Updated · By the Reveata team

Short answerVisits referred by github.com or any of its subdomains, such as gist.github.com, and links tagged github, are counted as GitHub in Reveata's Organic social channel. Sites hosted on github.io are a different domain and arrive as Referral.

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 of github.com. A visit from someone.github.io is 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.

A tagged link names its own source and can carry the repository name:

text
https://example.com/docs/install?utm_source=github&utm_medium=social&utm_campaign=readme-main-repo

Other 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

  1. Record sign-ups or API-key creation as goals (Custom goals).
  2. Connect a payment provider and identify users when they sign in, so an upgrade weeks later still finds the GitHub visit.
  3. On the Dashboard, open the Sources card, click Organic social, then github.com on the Referrer tab or your README campaigns on the Campaign tab. Sort by Revenue.
bash
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.

Frequently asked questions

Why is GitHub in Organic social rather than Referral?

GitHub is a community where people share and discuss projects, so Reveata groups it with the other communities in Organic social. That keeps developer communities in one place when you compare channels.

Can I see which repository sent a visit?

Only if you tag the link. The referrer is cut down to github.com by the browser's default referrer policy.

My docs are on GitHub Pages. How are visits from them counted?

Visits that move from yourname.github.io to your main site are Referral, with the github.io host as the source. If both sites are yours, consider cross-domain tracking so one visitor is followed across them.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
Traffic sourceOrganic social traffic: networks, communities and chat appsOrganic social in Reveata holds unpaid visits from the social networks, communities and chat apps it recognises, from Facebook, X and Reddit to Hacker News, GitHub and WhatsApp, plus any link tagged utm_medium=social, social media, sm or community, as long as no ad click id or paid tag says otherwise.Traffic sourceStack Overflow traffic: developers who arrive from an answerA visit referred by stackoverflow.com or a subdomain, or a link tagged stackoverflow, is counted as Stack Overflow in Reveata's Organic social channel. Other Stack Exchange sites are not on the list, so their visits arrive as Referral under their own host.Traffic sourceHacker News traffic: what a front-page post sends and who buysReveata counts a visit as Hacker News when the referrer is news.ycombinator.com or the link is tagged with hn, hackernews or ycombinator. Those visits land in the Organic social channel, so you can compare their sign-ups and revenue with every other source.Traffic sourceDEV Community traffic: from dev.to posts to sign-ups and revenueA visit referred by dev.to, or a link tagged devto, dev-to or dev.to, is counted as DEV in Reveata's Organic social channel. Tag the links in your posts so you can compare articles and see which ones lead to sign-ups and payments.Traffic sourceBluesky traffic: count the visitors your posts sendA visit referred by bsky.app or bsky.social, or a link tagged bluesky or bsky, is counted as Bluesky in Reveata's Organic social channel. Tag the links you post so visits opened in apps without a referrer still count, then sort the source by revenue.Traffic sourceDiscord traffic: measure visitors from servers and invite linksReveata counts a visit as Discord when the referrer is discord.com, discord.gg or discordapp.com, or when the link is tagged discord. These visits land in Organic social. Links clicked in the desktop or mobile app often carry no referrer, so tag the links you share.