matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.94k stars 2.66k forks source link

Feature request: Send instant email notification on rule match #7427

Open rigide opened 9 years ago

rigide commented 9 years ago

I find the plug-in CustomAlerts useful but it would be nice to have the emails sent as soon as the threshold is met. A period setting of "intra-day" or "live" maybe, and also the option to have it triggered by each user more than once or not.

It would also be nice to know the IP of the user(s) that have met the threshold and have the report split up by user.

I came across a similar request from Jeremyh in the Piwik forums where Matt requested that he post it in github but it doesn't look like they did.

http://forum.piwik.org/read.php?3,123818,123818

tsteur commented 9 years ago

:+1: makes sense!

Note: We can't do this for all alerts but for some. Eg if someone created an alert "Number of visits < 1000" we have to wait for the day of the website to end.

mattab commented 9 years ago

Maybe this is related to https://github.com/piwik/piwik/issues/6209 ?

tsteur commented 9 years ago

Don't think so. In the end we could just simply run the alerts check more often. Eg every hour instead of once daily per site.

rigide commented 9 years ago

@tsteur yes exactly. It could be triggered during your cron job.