You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As input for a regular email notification we could make our users aware of missed opportunities.
This includes:
a user with no impression (never visitied /find-broadcasts page)
a user with no positive impression (never supported a broadcast)
a user whose impressions all have an amount == nil (never visited /invoice)
many broadcasts with a created_at > user.last_login i.e. broadcasts that were created after the user logged in the last time
a user without a location (geolocation by IP failed)
So I propose a method User#suggestions. This method may return a list of suggestions that we can send to the user. Optionally, they are ordered by priority.
In the email template we could iterate through these suggestions and generate a nice descriptive text and some links. Example:
Hey John Doe,
....
Did you know that you have a virtual monthly budget of €17.50? Just visit
https://rundfunk-mitbestimmen.de/invoice and see how it gets distributed
evenly. There are also 47 new broadcasts in our database since your last visit.
...
Cheers,
Your team of Rundfunk MITBESTIMMEN
The text was updated successfully, but these errors were encountered:
As input for a regular email notification we could make our users aware of missed opportunities.
This includes:
/find-broadcasts
page)amount == nil
(never visited/invoice
)created_at > user.last_login
i.e. broadcasts that were created after the user logged in the last timeSo I propose a method
User#suggestions
. This method may return a list of suggestions that we can send to the user. Optionally, they are ordered by priority.In the email template we could iterate through these suggestions and generate a nice descriptive text and some links. Example:
The text was updated successfully, but these errors were encountered: