Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detecting which backlink was clicked

I have a website and I want to find out the exact place where the user clicked a link to get to my website. Is there any way to do this? I want to use this data within my code as input to a traffic analysis script.

Sorry, if this is too noobish.

TIA

like image 265
Rohit Avatar asked Jun 12 '26 22:06

Rohit


1 Answers

you can get the referer from Rails through request.referer

like image 81
beanie Avatar answered Jun 15 '26 21:06

beanie