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.
Tag the link you submit
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:
https://example.com/?ref=hnor a full UTM set if you want to name the post:
https://example.com/?utm_source=hn&utm_medium=social&utm_campaign=show-hn-launchBoth 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
- Connect a payment provider and pass the visitor id at checkout, so payments are matched to visits.
- On the Dashboard, open the Sources card. On the Channel tab, click Organic social.
- Switch to the Referrer tab. The row
news.ycombinator.comholds untagged visits; the Campaign tab with?ref=shows the tagged ones. - 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:
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.