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

后端 未结 1 416
太阳男子
太阳男子 2021-01-18 08:08

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

相关标签:
1条回答
  • 2021-01-18 08:43

    request.referrer will give you the HTTP referrer value.

    0 讨论(0)
提交回复
热议问题