EarnedStats Docs

Get started

How visits are counted

Visitors, sessions, sources and channels, and how a payment finds its visit.

Visitors

A visitor is a keyed one way hash of the site, the IP address and the browser, with a secret that changes every month. Nothing is stored in the browser, so the same person is one visitor for the month and a new one after that. See Privacy.

Sessions

A session is a run of pageviews from one visitor. It ends after 30 minutes without activity. Bounce rate is the share of sessions with a single pageview.

Sources and channels

The source comes from utm_source (or ref, via) when the link has one, otherwise from the referring site. Sources are grouped into channels:

ChannelExamples
DirectTyped, bookmarked, or no referrer
Organic SearchGoogle, Bing, DuckDuckGo
AIChatGPT, Claude, Perplexity, Gemini
Organic SocialX, Reddit, LinkedIn, YouTube
ReferralAny other site that links to you
EmailNewsletters and links tagged utm_medium=email
PaidLinks tagged as ads (utm_medium=cpc and similar)

Revenue attribution

Each payment is linked to the visitor who paid, then credited to the source of that visitor's first visit. Revenue explains how the visitor reaches the payment.