Matt Huggins
Matt Huggins

Reputation: 83329

Rails 3 gem for capturing referrer info?

Is there a single (or multiple) Rails gem that will help to easily capture the following on a when registering a new model instance (i.e.: new user)?

I know I could code this in manually, but no reason to recreate this if it's already done.

The only thing I could find through searching is search_sniffer, but that's a plugin, and I'd prefer to use a gem if available.

Upvotes: 4

Views: 762

Answers (2)

Sergey Sokolov
Sergey Sokolov

Reputation: 994

Referrer tracks sources with which users visit your site, converts them into utm markup, computes priority of these sources and provides linking for sources with tracked model's records (orders/requests/etc). Rails 4, 5 supported.

Upvotes: 0

Matt Huggins
Matt Huggins

Reputation: 83329

I ended up solving this on my own without a gem. In case anyone is interested, I wrote a blog post explaining how I did it.

Upvotes: 5

Related Questions