A service directory sends visitors to an appliance repair booking page. Your analytics report shows the directory’s domain, but you want to know which listing sent the visit. The browser may have sent the directory’s origin without the listing path. Check what arrived before changing the report.
Check whether the click crosses origins
An origin is the URL’s scheme, host and port. Two pages can share a host and still cross origins if their ports differ. Under the default strict-origin-when-cross-origin policy, a same-origin navigation can send the source path and query. A cross-origin navigation at the same security level sends the source origin. An HTTPS-to-HTTP downgrade sends no referrer.
The policy has a longer name than the request header. The source page can set Referrer-Policy. The browser sends the resulting value in the destination’s Referer request header, with that spelling.
Read the result at the receiving page
SEOWithJack tested four link clicks in Chrome against two local HTTP servers on the same host but different ports. The source URL included a path, query and fragment. In this table, SOURCE stands for the source origin.
| Click and policy | What the receiver logged |
|---|---|
| Same origin, Chrome’s default | SOURCE/services?case=default&campaign=brochure |
| Cross origin, Chrome’s default | SOURCE/ |
Cross origin, source policy no-referrer | No Referer header |
Cross origin, link marked rel="noreferrer" | No Referer header |
The fragment was absent even in the same-origin case. This test checked HTTP requests in one browser. It did not measure HTTPS downgrade behavior or GA4 attribution.
Trace a click from the page to the report
- Start from the referring page. Inspect its response for the policy. Look for a policy in the page or on the clicked link as well. A destination page can control its own outgoing requests, while the incoming referrer for this click depends on the preceding navigation.
- Inspect the landing request. In DevTools → Network, enable Preserve log, click the real link and inspect the final document request. Save the URL, any redirects and the Referer value. Trace the chain if a redirect changes what reaches the last request.
- Check what the report actually groups. An analytics label can depend on campaign tags, session rules or source classification. See how GA4 handles visits from AI referrals for another example. If an approved partner placement needs a separate label, add campaign tags to the destination link and verify they survive redirects.
Frequently asked questions
What does strict-origin-when-cross-origin do?
It sends path and query within the same origin. Across origins it sends the origin where security permits. On an HTTPS-to-HTTP downgrade, it omits the referrer.
Can the receiving site recover the original path from a bare origin?
The request supplies only the origin in that case. For a placement you can configure, use a campaign label or coordinate with the referring site.
Does a missing Referer automatically mean direct traffic in GA4?
Check the destination’s campaign tags and the report’s session rules before assigning a cause. The request header is one signal that can inform attribution.

