I have a website and I want to know the exact location where the user clicked a link to go to my site. Is there any way to do this? I want to use this data in my code as input to a traffic analysis script.
Sorry if this is too noobish.
TIA
with inline http module
var http = require("http"); http.createServer(function(request, response) { var referrer = request.headers.referer }).listen(8080);
you can get a referent from Rails via request.referer
request.referer