> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Alerts in Analytics

> Set up analytics alerts in MoEngage to get notified when metrics in Behavior, Retention, Funnels, or Session and source cross your defined thresholds.

# Overview

Alerts let you monitor your analysis data without manually checking dashboards. You define a condition on a saved analysis, and MoEngage emails you when that condition is met — so you can respond to anomalies, drops, and spikes as soon as they happen.

You can create alerts on the following analysis types:

* [Behavior](/user-guide/analyze/analytics/behavior/behavior-analysis)
* [Retention](/user-guide/analyze/analytics/retention/retention-analysis)
* [Funnels](/user-guide/analyze/analytics/funnels/funnel-analysis)
* [Session and source](/user-guide/analyze/analytics/session-and-source/session-and-source-analysis)

<iframe src="https://www.loom.com/embed/3ba77bae60e74b6592cb120f0928af3f" title="Loom video player" frameborder="0" className="w-full aspect-video rounded-xl" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />

# Applications

With alerts, you can:

* **Track behavior trends** — get notified when total events, unique users, or unique sessions for a tracked event change significantly.
* **Monitor retention** — watch a specific retention day, such as D7, and get notified when retention moves up or down.
* **Catch funnel drop-offs** — alert on the number of users converting between any two steps of a funnel to spot regressions in the customer journey.
* **Watch session and acquisition health** — track session count, bounce rate, or revenue across sources and get notified when a key metric shifts.

# Who Can Create Alerts

Users with the **Admin**, **Manager**, **Marketer**, or **Analyst** role can create and manage alerts. **Developers** can't create or manage alerts.

You can configure alert access for each role under **Settings > Account > Team Management > Roles > OOB Alerts Management**.

# Create an Alert

Creating an alert is a two-step process:

**Step 1**: [Create Analysis](/user-guide/analyze/analytics/alerts-in-analytics#create-analysis)

**Step 2**: [Create a New Alert](/user-guide/analyze/analytics/alerts-in-analytics#create-a-new-alert)

## Create Analysis

You can set an alert on any saved Behavior, Retention, Funnel, or Session and source analysis. The high-level flow is the same across analysis types:

<Steps>
  <Step title="Build your analysis">
    From the left sidebar, go to **Analyze** and choose the analysis type you want to alert on — [Behavior](/user-guide/analyze/analytics/behavior/behavior-analysis), [Retention](/user-guide/analyze/analytics/retention/retention-analysis), [Funnels](/user-guide/analyze/analytics/funnels/funnel-analysis), or [Session and source](/user-guide/analyze/analytics/session-and-source/session-and-source-analysis). Configure events, filters, and options, then click **Apply** to view the chart.
  </Step>

  <Step title="Save to My Studio">
    Click the **Save** dropdown and select **Save to My Studio**.

    <Info>
      You must save the analysis to My Studio before you can set an alert on it.
    </Info>
  </Step>
</Steps>

### Example: Behavior Analysis

This walkthrough builds a Behavior analysis on the *App/Site Opened* event so you can alert when the app or site is opened more than 50 times.

1. In the left sidebar of your MoEngage dashboard, go to **Analyze > Behavior**.
2. In the **Events & Filters** section, click the dropdown and then select **App/Site Opened**.

   <img src="https://mintcdn.com/moengage/50ZszvUJB4M_6y_L/images/moengage_e9fb32.png?s=c3273d94ef645ddd4cc156ddb0c9e582" alt="Selecting the App/Site Opened event in the Events and Filters dropdown" width="688" height="472" data-path="images/moengage_e9fb32.png" />

   <Accordion title="Optional">
     You can add the following filters to your event:

     * Add multiple attributes — Combine attributes on your event using the **AND** or **OR** logical operators. The analysis applies all attributes and displays the result.

         <img src="https://mintcdn.com/moengage/431DqtwGIOyvyx6H/images/moengage_8afaf4.png?fit=max&auto=format&n=431DqtwGIOyvyx6H&q=85&s=7c9db32735e4e655f03a55fc867c0321" alt="Adding multiple attributes to an event with AND or OR operators" width="823" height="388" data-path="images/moengage_8afaf4.png" />
     * Split events — Use the **Split by** option to compare the selected attribute with another from the dropdown. To learn more, see [Comparing Properties](/user-guide/analyze/analytics/compare-mode-in-analytics).

         <img src="https://mintcdn.com/moengage/SBG7um9Fqotw1CFo/images/moengage_b6f8fb.png?fit=max&auto=format&n=SBG7um9Fqotw1CFo&q=85&s=c2646b072f4a5eff1268d613a4f4072e" alt="Using Split by to compare a selected attribute with another" width="1264" height="978" data-path="images/moengage_b6f8fb.png" />
     * Add multiple events — Use the **+ Add Event** button to add up to 10 events. The analysis runs all events and displays the result.

         <img src="https://mintcdn.com/moengage/60BzFdXTJDO5dnCb/images/moengage_336524.png?fit=max&auto=format&n=60BzFdXTJDO5dnCb&q=85&s=b283599e979e1320b1e6358edb92f35c" alt="Adding multiple events to a Behavior analysis with the Add Event button" width="2660" height="796" data-path="images/moengage_336524.png" />
   </Accordion>
3. Choose which users this analysis applies to. By default, the analysis runs on all users in the workspace. To narrow it down, use the **Filter by users** option.\
   To learn more, see [Filter Users](/user-guide/analyze/analytics/behavior/behavior-analysis).

   <img src="https://mintcdn.com/moengage/o0kXRAcOq2mxzDnY/images/moengage_ef1920.png?fit=max&auto=format&n=o0kXRAcOq2mxzDnY&q=85&s=5c13d5394bbe665e471a6db2b2dd8697" alt="Filter by users option in a Behavior analysis" width="824" height="327" data-path="images/moengage_ef1920.png" />
4. In the **Behavior Options** section, select an analysis type to calculate. You can create alerts on these analysis types:
   * Total Events
   * Unique Users
   * Unique Sessions
   * Aggregation
   * Total Events Per User

     <img src="https://mintcdn.com/moengage/t9nft78wsoLTI2Nx/images/moengage_291a8a.png?fit=max&auto=format&n=t9nft78wsoLTI2Nx&q=85&s=4376fdee86365045bba04c4bba584518" alt="Selecting an analysis type in the Behavior Options section" width="2706" height="400" data-path="images/moengage_291a8a.png" />
5. Click **Apply**.
6. When the **Behavior Chart** appears, click the **Save** dropdown and select **Save to My Studio**.

   <img src="https://mintcdn.com/moengage/cVruC-B7I1TnIZ0h/images/moengage_d9bcbb.png?s=3bb4b3d45f2eba2dac7ace53d4e9bf36" alt="Saving a Behavior analysis to My Studio" width="1352" height="612" data-path="images/moengage_d9bcbb.png" />

## Create a New Alert

After you create your analysis, set an alert for it from My Studio.

To create an alert,

1. In the left sidebar of your MoEngage dashboard, go to **Analyze > My Studio**.
2. Select your analysis from the list of **Saved analysis**.

   <img src="https://mintcdn.com/moengage/tNrQQROY8O0h4yWe/images/moengage_16e02b.png?fit=max&auto=format&n=tNrQQROY8O0h4yWe&q=85&s=5704e69d44934aca15f512c8f12c9176" alt="Selecting a saved analysis from the list in My Studio" width="2676" height="708" data-path="images/moengage_16e02b.png" />
3. Click **Apply** to view the analysis chart, then select your chart type and granularity. See [Alert Subscription Details](/user-guide/analyze/analytics/alerts-in-analytics#alert-subscription-details) for supported chart and granularity combinations.

   <Info>
     * Alerts aren't supported on hourly chart granularity.
     * Alerts aren't supported when time-series or segment comparison is applied.
     * The timezone defaults to your app timezone.
   </Info>
4. Click **Set alert** to create a new alert for the selected analysis.

   <img src="https://mintcdn.com/moengage/8EX_gHAg3q4zA1kw/images/moengage_240bb4.png?s=b4d5513fc7898cea4b9f3529d97aa696" alt="Clicking Set alert to create a new alert for the selected analysis" width="1334" height="606" data-path="images/moengage_240bb4.png" />
5. On the **Create alert** pop-up, enter the following details:
   * **Alert Name** — a unique name for the alert.
   * **Alert Criteria** — the trigger condition. The available conditions depend on the analysis type. See [Alert Criteria by Analysis Type](/user-guide/analyze/analytics/alerts-in-analytics#alert-criteria-by-analysis-type).
   * **Alert Recipients** — the email addresses of subscribers who should receive the alert. Recipients must have access to the workspace.
   * **Alert evaluation time** — when the alert is evaluated and the email is sent.
6. Click **Create**.

# Alert Criteria by Analysis Type

The conditions you can set on an alert depend on the analysis type.

## Behavior

Trigger an alert based on event counts or aggregated values. Available conditions:

* **Above** — triggers when the count for the selected analysis goes above the threshold value.
* **Below** — triggers when the count goes below the threshold value.
* **Increased by percentage (%) or value (#)** — triggers when the count increases relative to the previous period, either by a percentage or by a fixed value.
* **Decreased by percentage (%) or value (#)** — triggers when the count decreases relative to the previous period, either by a percentage or by a fixed value.

You can also refine the criteria using:

* **Select event** — the event you chose during analysis creation.
* **Select Split by** — an event attribute and value. For example, on the *App/Site Opened* event, split by *Platform* where Platform is *Android*.
* **Select Compare by** — a user attribute and value. For example, on the *App/Site Opened* event, compare by *last known country* where country is *USA*.

## Retention

Trigger an alert on retention for a specific day in your cohort, such as **D7**.

* Supports **Increased by** or **Decreased by** percentage (%) or value (#).
* **Above** and **Below** thresholds aren't applicable for Retention.

Retention alerts query a rolling window of recent data — up to 365 days for monthly retention. Data older than the window can't be evaluated for alerts, even if it's stored in your workspace.

## Funnel

Trigger an alert on the number of users who convert between any two steps of the funnel.

* The first step is the fixed starting point. You select a second step, and the alert tracks conversions between the two.
* Funnel alerts evaluate the **count of converted users** between the two steps — not the conversion rate. The condition you set is compared against the number of users who completed the second step, regardless of how many users entered the first step.
* **Split by** attributes are supported.

Available conditions:

* **Above** — triggers when the count of converted users goes above the threshold value. For example, with a threshold of 60, the alert fires when 61 users convert.
* **Below** — triggers when the count of converted users falls below the threshold value. For example, with a threshold of 50, the alert fires when fewer than 50 users convert.
* **Increased by percentage (%) or value (#)** — triggers when the count of converted users increases relative to the previous period, either by a percentage or by a fixed number of users.
* **Decreased by percentage (%) or value (#)** — triggers when the count of converted users decreases relative to the previous period, either by a percentage or by a fixed number of users.

<Note>
  Funnel alerts measure the count of converted users, not the conversion rate. A change in traffic volume can trigger or suppress an alert even when the conversion rate between the two steps hasn't changed.
</Note>

## Session and Source

Trigger an alert on session-level metrics across sources, such as session count, bounce rate, or revenue.

* Most metrics support **Above**, **Below**, **Increased by**, or **Decreased by**. You can set these as a fixed value, or as a percentage (%) or value (#) compared to a baseline.
* **Bounce rate** only supports **Increased by** or **Decreased by** percentage (%).

## Comparison Periods

For **Increased by** and **Decreased by** conditions, the comparison periods you can choose depend on the chart granularity:

| Chart granularity | Available comparison periods                |
| ----------------- | ------------------------------------------- |
| Daily             | Previous Day, Previous Week, Previous Month |
| Weekly            | Previous Week, Previous Month               |
| Monthly           | Previous Month                              |

Previous Quarter and Custom Range aren't supported.

# View the Email Alert

After you set up an alert, you receive an email when the specified conditions are met. The email includes a visualization and details about the alert: the change in the metric, the percentage change, and the timestamp when the data was evaluated.

<img src="https://mintcdn.com/moengage/2kQqTYC5RUPSd8kI/images/moengage_40d756.png?fit=max&auto=format&n=2kQqTYC5RUPSd8kI&q=85&s=edcb528c9257a5ef12e82e216689d086" alt="Example alert email showing the metric change, percentage change, and evaluation timestamp" width="2398" height="1234" data-path="images/moengage_40d756.png" />

<Info>
  Allow at least 10 minutes of inactivity between creating and scheduling an alert. Otherwise, the alert is scheduled for the next day.
</Info>

# Unsubscribe, Subscribe, and Delete Alerts

Follow the steps below to view and manage your alerts in your MoEngage dashboard:

1. Click the Settings icon <Icon icon="gear" size={32} /> on the left sidebar of your MoEngage dashboard.
2. Scroll down to **Reports and Alerts** and then select **Alert management** from the dropdown.

   <img src="https://mintcdn.com/moengage/4hNKOAjPrnhpJB2_/images/moengage_7ffde7.png?fit=max&auto=format&n=4hNKOAjPrnhpJB2_&q=85&s=392c8a4eb8c2c9195a0d0e4fbb8585ce" alt="Reports and Alerts option in dashboard settings" style={{ width:"39%" }} width="540" height="432" data-path="images/moengage_7ffde7.png" />
3. Select the **Analytics alerts** tab and then search for the alert that you want to view or manage.\
   Use these options to narrow down your search:
   * Use the search bar to find your alert.
   * Use the **Created by** dropdown to filter alerts by who created them.
   * Use the **Subscribed by** dropdown to filter alerts by their recipients.

     <img src="https://mintcdn.com/moengage/37Js42lPMANg-cwG/images/moengage_ff18d6.png?fit=max&auto=format&n=37Js42lPMANg-cwG&q=85&s=e427cfec3e861e34469baefb74a11df1" alt="Analytics alerts tab in Alert management with search and filter options" width="2266" height="304" data-path="images/moengage_ff18d6.png" />
4. Once you locate your alert, click the vertical ellipsis icon <Icon icon="ellipsis-vertical" size={32} /> under the **Actions** column at the right end of the table.
5. You can take the following actions:
   * **Unsubscribe**: Remove users from the alert so they no longer receive it for the chosen analysis.
   * **Subscribe Others**: Add other users to the alert by selecting their email addresses from the dropdown.
   * **Delete**: Permanently remove the alert.

     <img src="https://mintcdn.com/moengage/37Js42lPMANg-cwG/images/moengage_fddee1.png?fit=max&auto=format&n=37Js42lPMANg-cwG&q=85&s=379accd8d20716c7b93420196da2847a" alt="Alert actions menu showing Unsubscribe, Subscribe Others, and Delete" style={{ width:"35%" }} width="372" height="362" data-path="images/moengage_fddee1.png" />

# Alert Subscription Details

This section explains how alerts behave for different chart types and granularities.

| Subscription Frequency | Chart                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|                        | Line                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Bar and Column                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Daily                  | You receive the alert at a set time each day.  <img alt="Daily alert email for a line chart" src="https://mintcdn.com/moengage/geRh9DNA2GhPhrjA/images/moengage_f44f2c.png?fit=max&auto=format&n=geRh9DNA2GhPhrjA&q=85&s=40419cd2974f13e375dce23922b1ca79" width="1186" height="1098" data-path="images/moengage_f44f2c.png" />                    | You receive the alert at a set time each day.  <img alt="Daily alert email for a bar or column chart" src="https://mintcdn.com/moengage/OQ0V9ibjQLpsyCSD/images/moengage_0ebc3c.png?fit=max&auto=format&n=OQ0V9ibjQLpsyCSD&q=85&s=796ca9b640cbf5db4790ac8ede4b8c02" width="1182" height="1142" data-path="images/moengage_0ebc3c.png" />            |
| Weekly                 | You receive the alert every Monday at a set time.  <img alt="Weekly alert email for a line chart" src="https://mintcdn.com/moengage/cVruC-B7I1TnIZ0h/images/moengage_dabafd.png?fit=max&auto=format&n=cVruC-B7I1TnIZ0h&q=85&s=4afd54fe1cfda6e10271176d493a7723" width="1186" height="1100" data-path="images/moengage_dabafd.png" />               | You receive the alert on the day and time you select.  <img alt="Weekly alert email for a bar or column chart" src="https://mintcdn.com/moengage/eF2J43N9Ckga5Apm/images/moengage_2df132.png?fit=max&auto=format&n=eF2J43N9Ckga5Apm&q=85&s=e5a0522d58fe0e6544767ee400438b56" width="1180" height="1096" data-path="images/moengage_2df132.png" />   |
| Monthly                | You receive the alert on the 1st of every month at a set time.  <img alt="Monthly alert email for a line chart" src="https://mintcdn.com/moengage/60BzFdXTJDO5dnCb/images/moengage_32650c.png?fit=max&auto=format&n=60BzFdXTJDO5dnCb&q=85&s=2875f8cd9ee8dcd3f5cbecf5fb5e2c87" width="1184" height="1096" data-path="images/moengage_32650c.png" /> | You receive the alert on the date and time you select.  <img alt="Monthly alert email for a bar or column chart" src="https://mintcdn.com/moengage/QVZKszouQuxXOzFr/images/moengage_1ab58f.png?fit=max&auto=format&n=QVZKszouQuxXOzFr&q=85&s=c50b6a2e2e795dfe7d48c669197ff57d" width="1182" height="1098" data-path="images/moengage_1ab58f.png" /> |

# Limitations

* A workspace can have a maximum of **10 alerts**. To increase this limit, reach out to your CSM or account manager.
* Alerts are delivered by **email only**.
