Is it possible to get the Referer URL path? [ SOLVED ]
Why does the referer in the header never show the complete url from where the access to a link started? It only shows the domain and I need to get the full url.
@mvnobrega It happens because you should not be relying on containing any value. Depending on the other site’s Referer-Policy you could get a URL, just a host name (like you are now), or nothing at all. So don’t rely on it.
thanks. But how does Amazon identify where the link came from? Because I found out that I can't use my own redirection on amazon affiliates and I was curious how they discovered this, because some days using this type of redirection they block my account and show where the accesses came from (the complete url). How do they know this since the header does not have this information?
@mvnobrega It’s all down to the referrer policy. If a website restricts sending referrer information then there’s nothing you can do to read it—the information isn’t there.