Referring URL Explained: What It Is and How to Find Yours

What is a referring URL (referrer)? Learn how the HTTP referer header works, how to find referring URLs in GA4 & server logs, and how to filter referrer spam.

JSJun Sing Tan Updated Jun 23, 202611 min readReviewed by DMA editorial team

What you’ll learn

  • What is a referring URL?
  • Referring URL vs referring domain vs referral traffic
  • How the HTTP referer header works
  • Where to find referring URLs (GA4, server logs, Search Console)
  • Why referring URLs matter for SEO, marketing and analytics
  • Referral traffic vs direct vs organic

A referring URL is one of the most useful — and most misunderstood — data points in web analytics. Whether you call it a referring URL, a referral URL, or simply the referrer, it tells you the exact page a visitor was on right before they clicked through to your site. Get comfortable reading referring URLs and you can pinpoint which blogs, partners, and campaigns actually send you traffic — and which "direct" visits are really mislabelled referrals. This guide explains what a referring URL is, how the HTTP referer header works, where to find your referring URLs in GA4, Search Console and server logs, and how to filter out referrer spam.

What is a referring URL?

A referring URL is the full web address of the page a user was on immediately before they clicked a link to your site. The browser sends it automatically in the HTTP referer header, so analytics tools can record exactly which external page — for example a specific blog post or social profile — drove that visit to your website.

In plain terms: if a reader is on searchenginejournal.com/some-article, clicks a link to your homepage, and lands there, then that article's URL is your referring URL. The site it sits on (searchenginejournal.com) is the referring domain. People use the terms referral urls, referring urls, url referral and refer site interchangeably, but they all point at the same idea — the origin of a click.

~30%of traffic browsers label "direct" is really lost referral data
2014year the Referrer-Policy / referrerpolicy attribute was standardised
0referrer sent on HTTPS to HTTP downgrades by default
3places to find it: GA4, server logs, Search Console

Referring URL vs referring domain vs referral traffic

These three terms are constantly mixed up, yet they describe different levels of the same signal. The referring URL is the most granular, the referring domain rolls it up to the site level, and referral traffic is the aggregate metric in your analytics. Here is how they compare.

TermWhat it meansGranularityWhere you see it
Referring URLThe exact page that linked to you, e.g. blog.example.com/best-toolsPage-level (most specific)GA4 "Page referrer", server logs
Referring domainThe website the link lived on, e.g. example.comDomain-levelGA4 "Session source", backlink tools
Referral trafficTotal sessions arriving from other sites via linksChannel-level (aggregate)GA4 "Referral" channel report

Reading both layers matters. A referring domain like reddit.com tells you a platform sends traffic; the referring URL tells you it was one specific thread. That distinction is what turns analytics into action — you can go deepen the partnership or the thread that actually performed.

Need help with marketing? DMA builds and runs campaigns that grow Singapore businesses.

Free strategy call ›

How the HTTP referer header works

The referer header (famously misspelled in the original 1996 HTTP specification, and the spelling stuck) is sent by the browser with each request. When someone clicks a link, the browser attaches the address of the current page to the outgoing request so the destination server knows where the click came from — no tracking pixel or special setup required. This passive collection is why referring URLs appear in your logs and analytics automatically.

  • User clicks a link on Page A pointing to your Page B.
  • The browser builds the request for Page B and adds a Referer: header containing Page A's URL.
  • Your server (and analytics) read that header and store it as the referring URL.
  • The header may be trimmed or dropped depending on the sending site's Referrer-Policy (more on that below).
Note The header is only ever as trustworthy as the sending browser. Direct address-bar visits, bookmarks, most native mobile apps, and HTTPS→HTTP downgrades send no referer at all — which is why a chunk of genuine referral traffic gets bucketed as "direct." Treat a missing referrer as "unknown," not "typed it in."

Where to find referring URLs (GA4, server logs, Search Console)

You can surface referring URLs in three complementary places. Analytics gives you the clean, deduplicated view; server logs give you the raw truth; Search Console covers the search-engine slice. Use all three for a complete picture, and pair them with your wider analytics and reporting workflow.

1. Find referring URLs in GA4 (referral report)

  1. Open Reports → Acquisition → Traffic acquisition.
  2. Set the primary dimension to Session source / medium and look for the referral medium.
  3. For the exact page, build an Exploration: add the dimension Page referrer to rows and Sessions as the value. This exposes the full referring URL, not just the domain.
  4. Apply a filter for Session medium = referral to strip out organic and direct noise.

2. Read referring URLs in server logs

Every request line in an Apache or Nginx access log contains the referer field. Server logs catch visits that JavaScript analytics miss (blocked scripts, bots, API calls), making them the ground truth when GA4 numbers look off. Grep the log for the referer column and you will see the raw referring URLs exactly as the browser sent them.

3. See search referrers in Search Console

Google strips query terms from the referer for privacy, so individual search referring URLs are masked in analytics. Google Search Console fills that gap with the queries and pages that sent organic clicks. Combine it with your on-page SEO strategy and SERP tracking to understand the search side of your referrals.

Why referring URLs matter for SEO, marketing and analytics

Referring URLs are the connective tissue between your content and the wider web. For SEO, every referring URL that links to you is effectively a backlink, and search engines treat quality links as votes of confidence that lift rankings and authority. The more relevant referring domains you earn, the stronger your off-site signal — which is exactly what a disciplined link building programme is designed to grow.

  • SEO: referring URLs reveal your backlink profile and which pages attract links worth replicating.
  • Marketing attribution: they show which partnerships, PR placements and campaigns actually convert.
  • Analytics & CRO: segmenting by referrer surfaces which sources bring visitors who buy versus bounce.
  • Security: sudden spikes from odd referring domains can flag scraping, hotlinking or spam.
A referring URL is the single line in your data that answers "where did this person actually come from?" — and the marketers who read it well stop guessing about attribution.

Referral traffic vs direct vs organic

Analytics platforms classify every session into a channel based largely on the referring URL. Knowing the difference stops you from misreading your numbers — especially the inflated "direct" bucket that hides lost referrers.

ChannelWhat the referrer looks likeTypical sourcesCommon gotcha
ReferralAn external non-search site URLBlogs, news, forums, partner sitesSelf-referrals from your own subdomains
Organic searchA search engine URL (query stripped)Google, Bing, DuckDuckGoSearch terms hidden — use Search Console
DirectNo referrer sent at allBookmarks, typed URLs, apps, dark socialHides ~20-30% of real referrals

Because a missing referrer defaults to "direct," that channel is the noisiest. Tightening UTM tagging and a sensible Referrer-Policy on outbound links recovers a surprising amount of attribution that would otherwise vanish. For deeper context on how search classifies visits, see our guide to the search term data behind organic sessions.

Referrer spam and how to filter it

Referrer spam (also called referral spam or ghost spam) is fake traffic that injects bogus referring URLs into your reports — usually to lure you into visiting a spammy site shown in your referral list, or simply to pollute your data. It rarely represents real visitors and can badly skew bounce rate and conversion numbers if left unfiltered.

  1. Spot it: referring URLs with 100% bounce, one-second sessions, or obvious spam domains you have never partnered with.
  2. Filter it in GA4: create a data filter or a custom report exclusion for the offending referring domains, and rely on GA4's bot-traffic exclusion which is on by default.
  3. Block at the server: deny known spam referrers in your .htaccess or Nginx config so they never hit your stats.
  4. Keep a referral exclusion list: add payment gateways and your own subdomains so legitimate hand-offs are not double-counted as referrals.
Pro tip Never click a suspicious referring URL from inside your analytics on a work machine. Investigate the domain with a reputation tool first — referrer spam often points at malware or phishing pages designed for exactly that curiosity click.

Privacy and the Referrer-Policy header

Modern browsers no longer send full referring URLs by default. The Referrer-Policy header — and the matching referrerpolicy attribute on links and images — lets a site control how much of its URL is shared. The current browser default, strict-origin-when-cross-origin, sends only the origin (domain) to other sites and nothing at all when downgrading from HTTPS to HTTP.

Referrer-Policy valueWhat it sends cross-siteEffect on your data
no-referrerNothingYou see only "direct" — zero referring URL
originDomain onlyReferring domain, no page path
strict-origin-when-cross-origin (default)Domain cross-site, full URL same-siteMost common — domain-level referrals
unsafe-urlFull URL alwaysMaximum data, weakest privacy

The practical takeaway: you increasingly see referring domains rather than full referring URLs, and that trend is one to bake into your technical SEO and measurement plans. It is also why server logs and UTM parameters have become essential complements to the raw referer header.

Frequently asked questions about referring URLs

What is the difference between a referring URL and a referring domain?

A referring URL is the exact page that linked to you (e.g. blog.example.com/post), while the referring domain is just the site it lived on (example.com). The URL is page-level; the domain is site-level.

Why is some of my referral traffic showing as "direct"?

When no referer header is sent — from bookmarks, typed URLs, native apps, dark social, or HTTPS-to-HTTP downgrades — analytics has no referring URL to read, so it defaults the session to direct. This commonly hides 20-30% of genuine referrals.

How do I find the referring URL in Google Analytics 4?

Build an Exploration and add the Page referrer dimension, or check Reports → Acquisition → Traffic acquisition and filter for the referral medium. Page referrer exposes the full referring URL rather than just the source domain.

Is "referer" or "referrer" the correct spelling?

Both are "correct" in context. The HTTP header is officially spelled Referer (a 1996 typo that was never fixed), while the everyday English word and the newer Referrer-Policy header use the correct double-r referrer.

How do I stop referrer spam from skewing my reports?

Keep GA4's bot-exclusion on, add spam domains to a data filter or referral exclusion list, and block known offenders at the server level in .htaccess. Never click an unknown referring URL straight from your analytics.

Turn referring URLs into growth with D'Marketing Agency

Reading your referring URLs is step one; earning more high-quality ones is where real growth happens. D'Marketing Agency helps brands audit their referral data, recover lost attribution, and build the kind of authoritative backlinks that show up as valuable referring URLs in your reports. Explore our SEO agency services or request a free quote using the form on this page to get a tailored plan for capturing more referral traffic.

JS

Jun Sing Tan

Jun Sing Tan is part of the content team at D’Marketing Agency, a Singapore digital marketing agency specialising in SEO, SEM, social media & lead generation. About DMA ›

Get weekly SEO & marketing tips

Join 3,000+ marketers growing with D’Marketing Agency.

Share f X in

Want results like this for your business?

D’Marketing Agency helps Singapore brands grow with SEO, Google Ads, social & lead generation.

Get a free strategy call
Call Us
Chat With Us
Contact Us

Important Notice: Protect Yourself from Scammers

We have been informed that scammers are impersonating D’Marketing Agency Pte. Ltd. Please note that our official website is / , and phone number is +65 8971 9405

Always verify contacts before engaging and do not share personal information with unverified sources. If you have been scammed or approached by scammers impersonating us, please report the number to the platform you are using. We are not responsible for these fraudulent activities.

For any concerns or to confirm the legitimacy of any communication, contact us directly through our official phone number or website. Your safety and security are our top priorities.

Thank you and stay safe!