Rails:有没有办法告诉请求的来源?
问题描述:
Google Analytics(分析)告诉我流量的来源(搜索引擎,facebook等).是否有一种方法可以从request
对象获取每个请求的此信息?我将不胜感激.
Google analytics tells me what the source of my traffic is (search engines, facebook etc). Is there a way to get this information for each request from the request
object or otherwise? I'd appreciate any help.