开发者

Rails: is there a way to tell the source of the request?

开发者 https://www.devze.com 2023-03-13 19:11 出处:网络
Google analytics tells me what the source of my traffic is (search engines, facebook etc). Is there a way to get this information fo开发者_如何学Cr each request from the request object or otherwise? I

Google analytics tells me what the source of my traffic is (search engines, facebook etc). Is there a way to get this information fo开发者_如何学Cr each request from the request object or otherwise? I'd appreciate any help.


request.referrer will give you the HTTP referrer value.

0

精彩评论

暂无评论...
验证码 换一张
取 消