How Can I Determine Where a User Has Come From?

0
0
Asked By CuriousCat123 On

Hey everyone! I've been trying to figure out how to find out the website a user visited before arriving at mine. I came across a discussion on this topic where someone mentioned using the "Referer" parameter. However, when I tried testing it in the console after clicking a link, it returned an empty string. According to the documentation, it shouldn't be empty, so I'm a bit confused. Does anyone have insights on how this actually works?

2 Answers

Answered By NetSecNerd On

Checking the Referer header is a good start, but keep in mind that it's not very reliable since browsers block it in certain situations for security reasons. This is usually a good measure to protect user privacy.

Answered By SkepticalSteve On

Boooo! Sounds complicated!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.