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

# Trial Ending Soon: Track Expiring Trial Alerts

> Count trial ending soon events to identify conversion opportunities. Track users approaching trial expiration for targeted outreach.

<Tip>
  Trial Ending Soon counts the total number of times a trial was flagged as approaching expiration, typically within a defined window before the trial ends.
</Tip>

## Formula

<Info>
  **Trial Ending Soon** = **COUNT** ( trial\_ending\_soon events )
</Info>

### Formula Components

| Metric                         | Definition                                                      |
| ------------------------------ | --------------------------------------------------------------- |
| **trial\_ending\_soon events** | Individual instances when a trial enters the ending-soon window |

| Metadata        |                         |
| --------------- | ----------------------- |
| **Type**        | Number                  |
| **Data Source** | [Upstack Pixel](/pixel) |
| **Aggregation** | Count                   |

***

## Example

Your SaaS product flagged **1,420 trials ending soon** in Q1, triggering conversion workflows.

| Month        | Ending Soon | Converted Before Expiry | Extended | Expired |
| ------------ | ----------- | ----------------------- | -------- | ------- |
| January      | 460         | 184                     | 46       | 230     |
| February     | 480         | 202                     | 53       | 225     |
| March        | 480         | 211                     | 48       | 221     |
| **Q1 Total** | **1,420**   | **597**                 | **147**  | **676** |

***

## How It Works

The Upstack Pixel fires when a trial enters a predefined warning period before expiration, typically 3-7 days. This event triggers conversion workflows, reminder emails, and sales outreach. It helps identify users who need intervention before their trial expires without converting.

***

## When to Use

| Scenario                      | Action                                   |
| ----------------------------- | ---------------------------------------- |
| Trigger conversion campaigns  | Send targeted messaging to ending trials |
| Prioritize sales outreach     | Focus on high-value trials ending soon   |
| Measure warning effectiveness | Compare conversion rates after alerts    |
| Optimize trial duration       | Adjust timing of ending-soon triggers    |

***

## Related Metrics

| Metric                                                                   | Relationship                           |
| ------------------------------------------------------------------------ | -------------------------------------- |
| Cost per Trial Ending Soon                                               | Acquisition cost for ending trials     |
| Trial Expired                                                            | Trials that expired without converting |
| [Trial Converted](/reference/metrics/funnel/conversions/trial-converted) | Successful conversions from trial      |

[See all Funnel Conversion metrics →](/reference/metrics/funnel/conversions)
