Swetrix / roadmap

Write down feature requests and bugs here
13 stars 1 forks source link

Ability to unsubscrible from the reports by clicking the link #98

Closed Blaumaus closed 1 year ago

Blaumaus commented 2 years ago

Add an unsubscribe button:

Screenshot 2022-09-05 at 15 59 09

After clicking on this link (e.g. https://swetrix.com/unsubscribe/userId), the user will be redirected to a FE page that makes an API request to disable reports for a user-id (set the reports to never).

Bonus points:

  1. Add a webhook for postmark to track when user click unsubscribe button for broadcasting emails (the postmark's unsubscribe button, not our's), the reports should be set to never for this user as well.
Blaumaus commented 1 year ago

For now this task may be closed and implemented later when we have some time. Currently report frequency is set to never for inactive users automatically, people who use the website are able to switch the frequency to whatever they want without any issues.

For anyone reading this - feel free to pick this task up, I'll be happy to merge and deploy it.