I need to create an alerting bot for anomaly on data regarding funnel monitoring of different product on my company website.
The specific metrics I need to monitor are:
- The conversion rate between users who visit our website and those who start the funnel.
- The conversion rate between users who start the funnel and those who reach the end (Thank you page).
After a bit of experimenting with complex models (using pyOD, adtk and darts Python library mostly), I found out that the simpler the better and I'm using the Interquartile Range (IQR).
Each day, for each metrics, I will send an alert if the current value is lower or greater than [Q1−1.5IQR, Q3+1.5IQR] , where IQR is calculated on the data of previous month.
The only drawback is that my data has a weekly seasonality (visits peaks on friday and decrease on weekend) that leads to frequent false positives and false alarms on weekends.
Do you have any suggestions on how take in account the seasonality and still using IQR?
Thank you!