> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-unity-sdk-initialization-split.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-unity-sdk-initialization-split/WCD9PHM9QZsnxcgC/images/moengage_e9fb32.png?s=bfde44539cd0c548b2c8bd548b9c3c00" 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-unity-sdk-initialization-split/lGL78K6d2VV03Hy7/images/moengage_8afaf4.png?fit=max&auto=format&n=lGL78K6d2VV03Hy7&q=85&s=12e68c4b167a5935150096a277baae61" 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-unity-sdk-initialization-split/7I6Q9SBGr41ReRTp/images/moengage_b6f8fb.png?fit=max&auto=format&n=7I6Q9SBGr41ReRTp&q=85&s=ce3f71dda64170a2371cbecadbdba494" 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-unity-sdk-initialization-split/1dd6WS88301wLG4J/images/moengage_336524.png?fit=max&auto=format&n=1dd6WS88301wLG4J&q=85&s=f6ef019ecdaf5e4a5a2c4ae69e3962f1" 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-unity-sdk-initialization-split/5pATfnQZWnbfz9Tn/images/moengage_ef1920.png?fit=max&auto=format&n=5pATfnQZWnbfz9Tn&q=85&s=8bd8b87d5576ef42ecb92f66867692b1" 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-unity-sdk-initialization-split/ISSWCWnXoZ2WUyBs/images/moengage_291a8a.png?fit=max&auto=format&n=ISSWCWnXoZ2WUyBs&q=85&s=a1986b6dd73176da1dd4d23c0829ef1b" 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-unity-sdk-initialization-split/Ct3koeavD-C_n9RD/images/moengage_d9bcbb.png?s=9f04a5db53f40443d5b4981ffd59e9a0" 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-unity-sdk-initialization-split/VIRDnSlIWZ-NqOoJ/images/moengage_16e02b.png?fit=max&auto=format&n=VIRDnSlIWZ-NqOoJ&q=85&s=5d8faa82d23a4676e6ee9685e0db8050" 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-unity-sdk-initialization-split/tQCtKybxhIpS45nc/images/moengage_240bb4.png?s=b216787dc77644ad68c5212661054bd9" 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-unity-sdk-initialization-split/sHkmj9QWjSU59t_I/images/moengage_40d756.png?fit=max&auto=format&n=sHkmj9QWjSU59t_I&q=85&s=d90d436c3d5b1a3dbad26a5f94d98fcc" 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-unity-sdk-initialization-split/t37-50XEsNpFASoe/images/moengage_7ffde7.png?fit=max&auto=format&n=t37-50XEsNpFASoe&q=85&s=347341c3923e61c49bff5708acae05e3" 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-unity-sdk-initialization-split/W8RnVpgMkET8xpID/images/moengage_ff18d6.png?fit=max&auto=format&n=W8RnVpgMkET8xpID&q=85&s=115f868747d8797cbb3b1517ff315ad3" 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-unity-sdk-initialization-split/Hp4VPgqtcEH1RPOv/images/moengage_fddee1.png?fit=max&auto=format&n=Hp4VPgqtcEH1RPOv&q=85&s=f75e3f7179b1fc6a7181a0d12cf51bae" 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-unity-sdk-initialization-split/d4cA3fqbzAaS1Beb/images/moengage_f44f2c.png?fit=max&auto=format&n=d4cA3fqbzAaS1Beb&q=85&s=da21cf457374ceef4dfe4e15f3753616" 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-unity-sdk-initialization-split/diGXIjw7obUVGMLQ/images/moengage_0ebc3c.png?fit=max&auto=format&n=diGXIjw7obUVGMLQ&q=85&s=5f26158e7ac70c9a5e0394bae0998d49" 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-unity-sdk-initialization-split/Ct3koeavD-C_n9RD/images/moengage_dabafd.png?fit=max&auto=format&n=Ct3koeavD-C_n9RD&q=85&s=e33e99aa980f1b8d2767929acd8acb8c" 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-unity-sdk-initialization-split/l57Jshi6mIa6WTxy/images/moengage_2df132.png?fit=max&auto=format&n=l57Jshi6mIa6WTxy&q=85&s=5409504a9ca0de9a107a11eb225e8bb4" 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-unity-sdk-initialization-split/1dd6WS88301wLG4J/images/moengage_32650c.png?fit=max&auto=format&n=1dd6WS88301wLG4J&q=85&s=b94f3a3ebb743092514d6b6bfdb9d0aa" 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-unity-sdk-initialization-split/VIRDnSlIWZ-NqOoJ/images/moengage_1ab58f.png?fit=max&auto=format&n=VIRDnSlIWZ-NqOoJ&q=85&s=608b67bb0ef9193e8816726147c46755" 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**.
