How do I create an alert with the following requirements:
When I choose the Revenue metric, there are 4 choices:
For anomaly exceeds, I can choose between 5 threshold options:
Thanks!
Solved! Go to Solution.
you can do it by a workaround using a calc metric.
steps to go:
1) segment „workday hits“ with definition „Hits“ and „weekday/weekend“ equals „weekday“.
2) calc metric „workday revenue“ with following formula:
IF
“workday hits“ {metric „page views“}
GREATER THAN
static number “0“
THEN
metric „revenue“
ELSE
static number „1“
3) Alert on „workday revenue“
Condition: is below or equals “0“
Explanation:
the calc metric returns only the revenue if you have hits (page views), otherwise it will always return „1“.
and if checking for “0“ in revenue, you should get an alert if revenue is 0.
AddOn: you can expand the segment to only working hours (that‘s what i did ...)
hope that helps ...
you can do it by a workaround using a calc metric.
steps to go:
1) segment „workday hits“ with definition „Hits“ and „weekday/weekend“ equals „weekday“.
2) calc metric „workday revenue“ with following formula:
IF
“workday hits“ {metric „page views“}
GREATER THAN
static number “0“
THEN
metric „revenue“
ELSE
static number „1“
3) Alert on „workday revenue“
Condition: is below or equals “0“
Explanation:
the calc metric returns only the revenue if you have hits (page views), otherwise it will always return „1“.
and if checking for “0“ in revenue, you should get an alert if revenue is 0.
AddOn: you can expand the segment to only working hours (that‘s what i did ...)
hope that helps ...