Ruby on Rails Friday, March 16, 2018

On Fri, Mar 16, 2018 at 11:18 AM, Rob Jonson <rob@hobbyistsoftware.com> wrote:

> 1) visited the dashboard (identified by a url, controller/action)
> 2) clicked on a button that showed a 'you need to upgrade to use this
> feature' message (no interaction with the server)
>
>
> in both cases, it would be easy for me to call some js code
>
> log_feature(user_id,feature_name)

OK, then, you're set :-)

I mean, consider it writing a feature that is "tracking use of features".
It seems similar in concept to integrated A/B testing, and I imagine
there are gems for that you could use for ideas.

HTH!
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDThBcne7_X9sW66WFJNJFJvxN1tVRyDjwFSyXqmpv2og%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment