Skip to content

Traffic

Website traffic sources explained: channels, referrals and direct

What website traffic sources and channels are, what referral traffic is, how tools sort each visit from the referrer and UTM tags, and how to compare sources.

The CrispStats team · · 8 min read

In short

Website traffic sources are where your visits come from, grouped into channels such as organic search, paid, social, email, referral, AI assistants and direct. Referral traffic is visits that arrive through a link on another website that is not a search engine, a social network or an ad, recognised by the referrer the browser sends. Analytics tools sort every visit with fixed rules that read the ad click id, the UTM tags and the referrer in a set order. Knowing those rules tells you how far to trust each line of the report, and which links to tag.

The traffic sources report answers the first question most site owners ask: where do my visitors come from? It looks like a plain list. Behind it is a set of rules that turn a few pieces of evidence into a label, and each label is only as good as the evidence the browser sent.

What are website traffic sources?

A traffic source is where a visit came from: Google, a newsletter, a link on another site, an ad. Tools describe it with three related terms that are easy to mix up.

What are website traffic sources?
TermMeaningExample
SourceThe specific origin of the visitgoogle, newsletter, news.ycombinator.com, chatgpt.com
MediumThe type of link, usually from a UTM tagorganic, cpc, email, referral
ChannelA group of sources and mediums, assigned by rulesOrganic search, Paid, Email, Referral, Direct

Reports by channel tell you which kind of marketing works. Reports by source tell you which specific site, campaign or platform within it. A traffic channel is always a rule applied to a source, never something the visitor tells you.

What are the main traffic channels?

What are the main traffic channels?
ChannelHow it is recognisedWhat it tells you
Organic searchReferrer is a search engine, with no ad click id or paid tagSearch demand and rankings
PaidAn ad click id such as gclid, or a paid UTM medium such as cpcReturn on ad spend
SocialReferrer is a social network, or a social UTM sourceReach of posts and profiles
EmailUTM medium email or newsletterNewsletter and lifecycle email performance
ReferralReferrer is another website that fits no other channelPartners, mentions, directories, press
AI assistantsReferrer or UTM source is an assistant such as ChatGPT or PerplexityHow often AI answers send people to you
Affiliate and displayUTM mediums such as affiliate or displayPartner programmes and banner campaigns
DirectNo referrer and no tagsPeople who already know you, plus visits whose origin was lost

Google Analytics 4 publishes its full rule set as the default channel group. Its Referral channel, for example, is any session whose medium is referral, app or link, and it uses an Unassigned channel for traffic that matches no rule. Other tools use fewer or more channels, so a channel total from one tool rarely equals the same channel in another. Our glossary entry on the default channel group lists the rules side by side.

What is referral traffic?

Referral traffic is visits that arrive by a link on another website: a blog post, a forum thread, a directory listing, a news article, a partner’s docs. The browser tells your site where the click happened through the Referer HTTP header, and your analytics reads that referrer on the first pageview. If the referring site is not a search engine, a social network, a video site or an AI assistant, and the link carries no tags that say otherwise, the visit is a referral.

One detail changes what you can see. Browsers apply a default Referrer-Policy of strict-origin-when-cross-origin when a site sets none. For a link from one site to another, that sends only the origin, such as https://example.com/, not the full page address, and sends nothing at all when the link goes from an HTTPS page to an HTTP one. So most referral reports can tell you which site linked to you, but not which page on that site.

Which referrals are not real referrals?

Some sites in the referral list are not sending you new visitors. Treat these separately:

  • Your own domains. A link from your blog subdomain to your main site, or from your app back to your marketing site, is internal navigation. A good setup treats your own domains as internal so they never appear as sources.
  • Payment providers and login pages. A visitor who pays on a hosted checkout and returns to a thank-you page arrives with the payment provider as the referrer. Google’s help page on unwanted referrals uses this exact case to explain why such domains should be excluded, so the sale stays credited to the original source.
  • Webmail and link wrappers. Some email services and security scanners pass clicks through their own domain. Those are email visits with the wrong label; tag your email links.
  • Referrer spam. Fake referrers sent by bots to get their domain into your reports. They tend to have no engagement at all and should be filtered as bot traffic; how to filter bot traffic shows how.

How does a tool decide which channel a visit belongs to?

Rules run in a fixed order, and the first match wins. That order matters: a visit from a Google ad has a Google referrer and an ad click id, and only the order of the rules makes it Paid rather than Organic. A typical order:

  1. Ad click id or a paid UTM medium: Paid.
  2. Other UTM mediums: Email, Affiliate, Display.
  3. AI assistant referrer or UTM source: AI assistants.
  4. Search engine referrer: Organic search.
  5. Social network or video site referrer: Social or Video.
  6. Any other outside referrer, or a UTM source with no recognised medium: Referral.
  7. Nothing at all: Direct.

Here is that order applied to six visits:

How does a tool decide which channel a visit belongs to?
ReferrerLanding URL tagsChannelWhy
google.comnoneOrganic searchSearch referrer, no paid signal
google.comgclid=…PaidThe ad click id is checked first
noneutm_source=newsletter&utm_medium=emailEmailMedium email, no referrer needed
stackoverflow.comnoneReferralAn outside site that fits no other channel
chatgpt.comnoneAI assistantsKnown assistant referrer
nonenoneDirectNo evidence at all

Try your own combinations in the traffic source classifier, which applies the same order and shows the result. When the last row is a large share of your traffic, what is direct traffic lists every cause and how to shrink it, and direct traffic in Google Analytics covers GA4’s reports.

Why do two tools show different traffic sources?

  • Different channel rules. One tool has an AI assistants channel and another counts the same visits as referrals.
  • Different session rules. If a new campaign starts a new session in one tool and not the other, the same visit is credited differently.
  • Different attribution. Some reports credit the source of the session; others credit the first or last known source of the visitor. First touch vs last touch explains the difference, and marketing attribution models explained covers the rest.
  • Blocking and consent. A cookie tool that waits for consent misses visitors who decline, and those are not spread evenly across sources.

Which traffic source is the best?

The one that brings the outcome you want per visitor, not the one with the most visitors. Compare sources by conversion and, if you can, revenue.

Illustrative numbers for one month.
ChannelVisitorsPaying customersConversion rateRevenueRevenue per visitor
Organic search18,000900.50%$4,500$0.25
Referral3,000451.50%$2,700$0.90
Social9,000180.20%$720$0.08
Email1,500302.00%$1,500$1.00

Search brings the most people and the most revenue in total, but each referral or email visitor is worth three to four times as much. That suggests where to put the next hour of work: more partners like the referring sites that convert, and a bigger email list. Revenue per visitor is the fairest single comparison; the revenue per visitor calculator shows how it is built, and which marketing channel drives revenue works through the comparison in depth.

How CrispStats sorts traffic sources

CrispStats classifies each session from the referrer, the UTM tags and any ad click id on its first pageview, in this order: paid, email, affiliate, display, AI assistants, organic search, social, video, referral and direct. Paid includes mediums such as cpc and paid_social and click ids such as gclid, msclkid and fbclid. Self-referrals are dropped by hostname: if your site is example.com, a click from docs.example.com counts as no referrer at all, never as a referral. The rule only looks downward, so a separate app domain, or example.com linking to a site tracked as docs.example.com, still shows up in the referral list.

Known search engines, social networks, video sites and assistants are shown by name, and any other site appears as a referral under its hostname. Each channel and source carries its visitors, bounce rate and conversion rate, and with revenue attribution connected, the revenue credited to the first source known for the visitor. AI assistants have their own AI traffic page with the pages they send people to.

CrispStats has no setting to add your own unwanted referral domains: a hosted checkout that returns visitors to your site shows up as a referral visit, while the payment itself is still credited to the visitor’s first source.

Guide questions. Straight answers.

What people ask after reading this.

  • Organic search, paid ads, social media, email, referrals from other websites, AI assistants and direct traffic. Some tools add affiliate, display and video. Each is a channel assigned by rules that read the referrer, the UTM tags and any ad click id.

  • Referral traffic is visits that arrive by a link on another website that is not a search engine, a social network or an ad. The browser sends the linking site in the Referer header, and analytics tools list those sites as referral sources.

  • Because browsers default to the strict-origin-when-cross-origin referrer policy, which sends only the origin of the linking site when the link goes to another site. Ask partners to use UTM-tagged links if you need to know the exact placement.

  • Visitors who pay on a hosted checkout come back to your site from the provider's domain, so the return visit has that referrer. In Google Analytics 4 you can list the domain as an unwanted referral. Revenue attribution should credit the sale to the source that first brought the visitor.

  • Referral traffic carries a referrer from another website, so you know where it came from. Direct traffic carries no referrer and no tags, so its source is unknown, which includes typed addresses and bookmarks but also links from apps, documents and untagged emails.

Not answered here? Write to hello@crispstats.com

Go further

Free tools

  • Traffic source classifier

    Paste a referrer or a tagged link and see the channel and source a visit is filed under, with the rule that decided it.

  • Revenue per visitor calculator

    Enter visitors, conversion rate and average order value to get revenue per visitor, monthly revenue, and what a 10% improvement is worth.

  • Conversion rate calculator

    Work out your conversion rate from visitors and conversions: conversions ÷ visitors × 100.

Use cases

  • CrispStats for indie hackers

    Traffic, revenue by source, uptime and errors for every side project in one dashboard.

  • CrispStats for SaaS

    See which channels bring paying customers, where trials stall in the funnel, and how your app performs for real users, from one cookieless script.

  • CrispStats for ecommerce

    Tie orders to the campaign, page and source they came from, find where checkout loses people, and watch page speed, without cookies.

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.