is a HTTP header field that identifies the address of the webpage (i.e. the URI or IRI) that linked to the resource being requested.
Questions tagged [referrer]
621 questions
24
votes
2 answers
How to display Full Referrer URL in Google Analytics 4 (GA4)?
In the past, with older Google Analytics accounts and properties I was able to use a Custom Report on a View to show a table of Full Referral URLs.
But with Google Analytics 4 (GA4) I can no longer have Views, so I'm at a loss how I can show Full…

Matt Sephton
- 3,711
- 4
- 35
- 46
18
votes
5 answers
How can I determine if the document.referrer is from my own site?
Each time a page is requested I get the referrer of the page it came from. I need to track just referrer from other sites, I don't want to track going from one page to another within my site. How can I do that?

David Thielen
- 28,723
- 34
- 119
- 193
18
votes
4 answers
Inspect the referrer in PHP
Is it possible to check who is entering your website in PHP. I have a web application ( written in PHP) that should only allow users entering from some particular websites. Is it possible to get the referral websites by examining the _Request…

Graviton
- 81,782
- 146
- 424
- 602
17
votes
0 answers
What service is behind the referrer "android.clients.google.com"?
From Cloudfront report I can see a few thousands download requests on one file attributed to the referrer "android.clients.google.com", any idea about what is behind this referrer?

Joël
- 1,563
- 1
- 18
- 31
15
votes
2 answers
Do I get INSTALL_REFERRER intent from amazon app store?
I couldn't find any documentation that mentions whether Amazon app store sends a referral Intent post install, as Google Play does. Though Amazon's documentation does say that we can set referrer information in the URL under "ref" (compared to…

Jatin Pasrija
- 151
- 4
14
votes
3 answers
Get the referrer, paid/natural and keywords for the current visitor with Google Analytics
Is it possible to get the following information about the current visitor using Google Analytics API with JavaScript?
Referrer site ('Source' in GA)
Paid or natural ('Medium' in GA)
Keyword
First time/returning
Number of visits
If it's not…

Evgenii
- 36,389
- 27
- 134
- 170
13
votes
3 answers
How to set Referrer Policy with nginx
My CMS(https) and image server(http) is separate. I have setup my image server so that it only can serve to whitelisted referrer pages. Now my issue is how do I allow the CMS server to send response header to the image server so the CMS can display…

Maca
- 1,659
- 3
- 18
- 42
13
votes
3 answers
ASP.NET - Response.Redirect Not Populating Url Referrer
I feel like i've done this a ton of times, but i can't for the life of me figure out what is going wrong.
Default.aspx:
protected void Page_Load(object sender, EventArgs e)
{
var r1 = Request.UrlReferrer; // null
var r2 =…

RPM1984
- 72,246
- 58
- 225
- 350
13
votes
2 answers
Prevent hotlinking of Amazon S3 files?
I'd like to allow anyone to play a video located in my s3 on my site as the src on a

tim peterson
- 23,653
- 59
- 177
- 299
12
votes
5 answers
Can I track the referrer of a new window link?
Case:
site A contains a link that opens site B in new window.
The script in site B is trying to get the site A url.
My question: Is there any way to track the referrer of a new window which was opened using target="_blank" or Javascript…

ptrinh
- 121
- 1
- 1
- 3
12
votes
2 answers
Launch app if installed, or open Google Play with install referrer
We are trying to generate a link that, when clicked in a browser, opens our App if it's installed.
This is usually done with something like this:
intent://some.domain/some=parameters#Intent;scheme=somescheme;package=my.package.name
If configured…

cozyconemotel
- 1,121
- 2
- 10
- 22
12
votes
2 answers
How facebook measure app installs - Android/IOS
Facebook ads has a feature that it can knows how many apps are installed from advertising in facebook https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads#advanced
I know google provide referrer/campaign feature to detect which…

Ikarus
- 1,169
- 4
- 14
- 28
12
votes
1 answer
Javascript document.referrer with full querystring
I am trying to get the full referring url to a page via javascript.
So far the closet I have come is
var lastUrl = document.referrer;
This does not include the query attached to the url.
var lastUrl = document.URL;
returns the current URL with…

Sideshow
- 1,321
- 6
- 28
- 50
12
votes
2 answers
Android App A wants to track Google Play referral data for Android App B installation
Let's say I have an Android App A that is installed in the user's device and I have an AppWidget with my App where we let other Android developers publish their App promotion ads on a Cost Per Install basis. So we need to track if App B is being…

Aakash
- 3,101
- 8
- 47
- 78
11
votes
1 answer
URLReferrer is null when page is HTTPS
We use the URLReferrer and a code passed in on the query string to produce online videos so that only our paid clients can link to our video playback page. This system has worked well for some time. I know the URL referrer can be spoofed, but who…

cgraus
- 784
- 2
- 9
- 26