benwbrum / fromthepage

FromThePage is a wiki-like application for crowdsourcing transcription of handwritten documents.
http://fromthepage.com
GNU Affero General Public License v3.0
171 stars 51 forks source link

Send email upon signup #3010

Open saracarl opened 2 years ago

saracarl commented 2 years ago

Thom at Mt. A says they do a lot of outreach on social media, and that tends to engage people on their phones. They'll sign up for an account from their phones, but need to find it again when they are in front of their computers.

Basically, if you sign up with a specific collection or organization, send them an email that includes a link to sign back in from their computer and will take them there.

saracarl commented 2 years ago

more input from Thom: Found an example!

https://www.hubspot.com/email-signature-generator ˆIf you view this article from a phone it give you a different pop up prompt saying "(Article Title) isn't available on mobile yet. We hope you'll try it out on a larger screen: Email Me the Link"

saracarl commented 2 years ago

From our analysis of referrer success, the 11 referrers from m.facebook.com resulted in no transcribed pages (in Feb): http://m.facebook.com/ 11 0 0.00%

saracarl commented 1 year ago

I just tried this (went to a collection page on my phone, wasn't logged in. Tried safari, chrome, and chrome incognito), and couldn't get it to work. Not sure what's going on, but I'd like @sylvieed to investigate (we can help) so we can get it working.

sylvieed commented 1 year ago

Odd -- when I test this in production, it doesn't work, but testing the same way in development does work. I wonder if it's something with the mobile_device? helper function: https://github.com/benwbrum/fromthepage/blob/e84bbc4e92e9fc0e82e56dd798d6c112bca07a56/app/helpers/application_helper.rb#L262-L264 that doesn't work in production? Is there any way to test this? I can't see anywhere else that could be different in production.