> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-doc-2312-standard-user-attributes.mintlify.site/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-doc-2312-standard-user-attributes/q-m6-QeYxyfzu8HA/images/moengage_e9fb32.png?s=c01c8b26345c302c4e1de2a17ec246c2" 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-doc-2312-standard-user-attributes/VzLudu7zLKo8SKPZ/images/moengage_8afaf4.png?fit=max&auto=format&n=VzLudu7zLKo8SKPZ&q=85&s=b0e1c042d2e4a391acb894e0e354f78c" 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-doc-2312-standard-user-attributes/uQQBVo0IZQG5v4hi/images/moengage_b6f8fb.png?fit=max&auto=format&n=uQQBVo0IZQG5v4hi&q=85&s=efb043c8bb8be61623c742496211634a" 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-doc-2312-standard-user-attributes/eHOsdV3v21ml59Lk/images/moengage_336524.png?fit=max&auto=format&n=eHOsdV3v21ml59Lk&q=85&s=c51960cb1e9f00a8ff81fe5d537c7b6b" 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-doc-2312-standard-user-attributes/D4S3XiOLq4FOdDtE/images/moengage_ef1920.png?fit=max&auto=format&n=D4S3XiOLq4FOdDtE&q=85&s=de06cdc050fa8436415f2599eb422be3" 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-doc-2312-standard-user-attributes/0_PlPAEhltjHsIFw/images/moengage_291a8a.png?fit=max&auto=format&n=0_PlPAEhltjHsIFw&q=85&s=0c8b4235c7f0c957bcdf3ccadbb50989" 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-doc-2312-standard-user-attributes/qeqMAWLgkEengTUo/images/moengage_d9bcbb.png?s=bfd895867d77506a4bdae3cbaf26bdfe" 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-doc-2312-standard-user-attributes/SqcYdW9SNHCvx5rj/images/moengage_16e02b.png?fit=max&auto=format&n=SqcYdW9SNHCvx5rj&q=85&s=d7092db4b5a2796446071f09a0eaa13c" 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-doc-2312-standard-user-attributes/w2ZjyKMVGvFWm7DS/images/moengage_240bb4.png?s=f9e4e391cca24afdb6ecf6089f142418" 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-doc-2312-standard-user-attributes/gFDzhT3yApCAEJZA/images/moengage_40d756.png?fit=max&auto=format&n=gFDzhT3yApCAEJZA&q=85&s=5d4f16e086ec42c4ea155fa8ffae5f90" 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-doc-2312-standard-user-attributes/32d3jWZ_J4OCLe7s/images/moengage_7ffde7.png?fit=max&auto=format&n=32d3jWZ_J4OCLe7s&q=85&s=a02cd75c8d1909503f30c6f230d31058" 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-doc-2312-standard-user-attributes/mad898szy8fQY9jc/images/moengage_ff18d6.png?fit=max&auto=format&n=mad898szy8fQY9jc&q=85&s=8c6e1cd8f5c0bce2dc8601a402eaf292" 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-doc-2312-standard-user-attributes/ZK98IpY6_1Feu6HG/images/moengage_fddee1.png?fit=max&auto=format&n=ZK98IpY6_1Feu6HG&q=85&s=57c885c163d498095fc86f30c3960185" 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-doc-2312-standard-user-attributes/skiukG8Na9alfCbu/images/moengage_f44f2c.png?fit=max&auto=format&n=skiukG8Na9alfCbu&q=85&s=137a5e76c8059f66375bcf2296e6e6c1" 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-doc-2312-standard-user-attributes/2HJVO0h8Fdbk96M2/images/moengage_0ebc3c.png?fit=max&auto=format&n=2HJVO0h8Fdbk96M2&q=85&s=254f15c2cb60eac17aeab5f5379a9b49" 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-doc-2312-standard-user-attributes/qeqMAWLgkEengTUo/images/moengage_dabafd.png?fit=max&auto=format&n=qeqMAWLgkEengTUo&q=85&s=f6dde63f9e4f5ca06fae7a2f973d3812" 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-doc-2312-standard-user-attributes/q0kvUKYbePZYME3K/images/moengage_2df132.png?fit=max&auto=format&n=q0kvUKYbePZYME3K&q=85&s=c6bfb98969f158f261767d778666bd71" 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-doc-2312-standard-user-attributes/eHOsdV3v21ml59Lk/images/moengage_32650c.png?fit=max&auto=format&n=eHOsdV3v21ml59Lk&q=85&s=3d54168438047b0225669a77788fd418" 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-doc-2312-standard-user-attributes/Pb8gsATESH9mCROK/images/moengage_1ab58f.png?fit=max&auto=format&n=Pb8gsATESH9mCROK&q=85&s=515972dcce2317a75f5cc6f3f10412d2" 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**.
