Skip to content
Social networks

Hacker News traffic: what a front-page post sends and who buys

3 min read · Updated · By the Reveata team

Short answerReveata 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.

A post that reaches the Hacker News front page can send a sudden crowd of technical readers. The crowd is easy to see. The useful question is how many of those readers signed up, paid, and kept paying, and that needs the visits and the payments in one place.

How Reveata recognises Hacker News

Reveata keeps a list of known sources. The Hacker News entry reads:

Field Value
Display name Hacker News
Kind social, so the channel is Organic social
Referrer domain news.ycombinator.com
Aliases for tagged links hackernews, hn, ycombinator

A referrer matches when its host, lower-cased and without www., is news.ycombinator.com or a subdomain of it. The bare ycombinator.com host is not on the list, so a visit from the Y Combinator website itself is counted as a Referral with ycombinator.com as its source.

Aliases are matched without regard to case, and spaces, hyphens and underscores are ignored, so utm_source=Hacker_News and ?ref=hacker-news both become Hacker News. A value that looks like a domain is looked up as a host, so utm_source=news.ycombinator.com works too.

Why some Hacker News readers arrive as Direct

The source of an untagged visit comes from the referrer the browser sends. Browsers today default to the strict-origin-when-cross-origin policy, which sends only the origin of the page, such as https://news.ycombinator.com/, and never the item URL (MDN: Referrer-Policy (opens in a new tab)). That is enough to recognise Hacker News, but not to tell which thread sent the visit.

Visits lose their referrer altogether when a reader opens the link from a third-party Hacker News app, copies it into another browser, or shares it in a chat. Those visits have nothing to identify them, so they count as Direct. That is why the Direct line often rises at the same time as a front-page run.

You cannot control what other people post, but you can control your own submission and the link in your first comment. Use a short tag that survives copying:

text
https://example.com/?ref=hn

or a full UTM set if you want to name the post:

text
https://example.com/?utm_source=hn&utm_medium=social&utm_campaign=show-hn-launch

Both are counted as Hacker News in Organic social, so tagged and untagged visits add up in one row. Note that a tagged link names its own source: the referrer of that visit is not used. See UTM tags, ?ref and ad click ids.

Do not tag links between your own pages. A tagged click starts a new visit with a new source and hides where the reader really came from.

See the revenue a Hacker News post brought

  1. Connect a payment provider and pass the visitor id at checkout, so payments are matched to visits.
  2. On the Dashboard, open the Sources card. On the Channel tab, click Organic social.
  3. Switch to the Referrer tab. The row news.ycombinator.com holds untagged visits; the Campaign tab with ?ref= shows the tagged ones.
  4. Press the sort toggle until it says Revenue to see revenue, revenue per visitor and conversion rate.

With the API, the source dimension already combines tagged and untagged visits:

bash
curl -G https://reveata.com/api/v1/websites/example.com/analytics/breakdown \
  -H "Authorization: Bearer $REVEATA_TOKEN" \
  --data-urlencode "dimension=entry_page" \
  --data-urlencode "metrics=visitors,revenue,conversion_rate" \
  --data-urlencode "period=last_30d" \
  --data-urlencode 'filters=[{"dimension":"source","operator":"is","values":["Hacker News"]}]'

Readers who come back weeks later by typing your address still credit the launch under first-touch attribution, within the attribution window. See How revenue attribution works and the full launch checklist in Measure a launch.

Frequently asked questions

Why does Hacker News count as social rather than referral?

It is a community where people share and discuss links, so Reveata groups it with Reddit, Product Hunt and the other communities in Organic social. Grouping them lets you compare communities against search and email in one table.

Can I see which Hacker News thread sent a visit?

Not from the referrer, because browsers send only news.ycombinator.com. If you post the link yourself, add utm_campaign with a name for the post, and the Campaign tab will separate it from other mentions.

Will a big spike from Hacker News hurt my numbers?

No. Every visit is counted once, and the spike shows up as Organic social on the day it happened. Add a note to the chart so the spike still makes sense months later.

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 sourceProduct Hunt traffic: judge a launch by customers, not upvotesVisits referred by producthunt.com, or arriving on links tagged producthunt or product_hunt, are counted as Product Hunt in Reveata's Organic social channel. Connect your payment provider and the same row shows the revenue those launch visitors went on to pay.Traffic sourceReddit traffic: visitors from subreddits, comments and Reddit adsReveata counts a visit as Reddit when the referrer is reddit.com, redd.it or the Android app com.reddit.frontpage, or a link is tagged utm_source=reddit. Untagged visits land in Organic social; an rdt_cid click id or paid tag makes them Paid social.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 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 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.