Back to articles

Tag archive

#popup

S
Mar 18, 2019

Set a cookie read a cookie! How to (gently) collect user emails in a Rails application without Devise or requiring a password.

I was asked by a client to "soft-gate" user emails. The client wanted a list of emails from people using the application, but didn't want to discourage anyone from use. This presented a problem - how could I ask users' for their emails without preventing them from use. And how could I remember they had visited and not ask for their email address again?

Mar 18, 20193 min read6 reactions0 comments