Expand my Community achievements bar.

Webinar: Adobe Customer Journey Analytics Product Innovations: A Quarterly Overview. Come learn for the Adobe Analytics Product team who will be covering AJO reporting, Graph-based Stitching, guided analysis for CJA, and more!
SOLVED

Alert Preview Showing Incorrect Numbers

Avatar

Level 4

Background - I am setting up an alert to see if the tracking is broken for certain products. I have set up the following alert conditions:

Yohan_khan00_0-1678670036818.png

The alert preview is showing that it would have triggered 9 times in the last 30 days

Yohan_khan00_1-1678670089862.png

However, the data in Adobe Analytics indicates it should have triggered 18 times. 

Yohan_khan00_2-1678670172084.png

What can I do to set up this alert to be accurate?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hmm interestingly, while I don't have any days where my visits are 0; if I create that alert it returns 10 for me... the exact number of "weekends" where the "Weekday" filter is applied (resulting in 0 values on the weekends....)

 

Jennifer_Dungan_0-1678685667877.png

 

I am going to have to think about this.. and see if I can figure out a better way to pull what you need.. 

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hmm interestingly, while I don't have any days where my visits are 0; if I create that alert it returns 10 for me... the exact number of "weekends" where the "Weekday" filter is applied (resulting in 0 values on the weekends....)

 

Jennifer_Dungan_0-1678685667877.png

 

I am going to have to think about this.. and see if I can figure out a better way to pull what you need.. 

 

Avatar

Community Advisor

hi @Yohan_khan00 I am assuming that your intention here is prevent alerts over the weekend? So basically, you only want to alerts to fire for weekdays when your Visits are 0?

 

If so, I think you will need to do a modified variant of 

https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-blogs/woken-up-at-3am-by-false-hour...

 

But, instead of creating a segment for time of day and applying it to a calculated metric, you would need to create a calculated metric that looks at the weekday/weekend dimension:

 

Jennifer_Dungan_2-1678744397328.png

 

 

In the above definition, I am looking for IF there are ANY occurrences on a weekend (trying to get the most inclusive definition possible here), then I force the value to be "1000" (well above your threshold). This means that the "value if false"; should fall on Weekdays, and use standard Visits metric.

 

If you create an alert using this segment, you would use this custom metric in your check for "is below or equal to 0" (all the logic should be built into the calculated metric and result in your weekdays that have 0 as being the alerted days).