# Display campaign insights

> The campaign insights page displays detailed data about the influence of the campaign on coupon redemptions, discount costs, and other related data points with up to daily and hourly granularity.

> For the complete documentation index, see [llms.txt](https://docs.talon.one/llms.txt).

:::note
This section only shows information for campaigns with rules that have been or are active.
:::

## Display campaign data

To display campaign insights data:

1. On the leftmost menu, click <Apps className="icon" /> **Apps**,
   and select an [Application][app].
1. On the left-side menu, click <Campaigns className="icon" /> **Campaigns**,
   and select a [campaign][campaign].
1. On the left-side menu of your campaign, click <Insights className="icon" /> **Insights**.

The <Insights className="icon" /> **Insights** section displays:

- **Coupon Redemptions**: Number of coupons successfully redeemed, calculated by counting
  the number of `acceptCoupon` effects. Unaffected by session reopening or cancellation.
- **Basket Value**: Aggregate value of all session totals.
- **Discount Cost**: Total discounted amount for the campaign, calculated by summing up the
  value of all discount effects.
- **Campaign Performance**: Graph displaying the following variables over time:
  - **Coupons Created**
  - **Coupon Redemptions**
  - **Discount Costs**
  - **Campaign Basket Value**
  - **Accepted Referrals**
  - **Created Referrals**
  - **Loyalty Points Collected**
  - **Loyalty Points Redeemed**
  - **Free Items**
  - **Canceled Discounts (rollback)**
  - **Canceled Coupon Redemptions (rollback)**
  - **Campaign Refunded Basket Value (rollback)**

- **Basket Value per Redemption**: Graph displaying **Basket Value** per **Coupon Redemptions**
  over time.
- **Basket Value vs Cost**: Bar chart displaying **Basket Value** and **Discount Costs**.

## Time frame

The default time frame for metrics is the last seven days. You can set custom start and end
dates at the top of the page and select a granularity level:

- **Hourly**
- **Daily**
- **Weekly**
- **Monthly**
- **Quarterly**

:::note
The availability of the granularity options depends on the selected time frame.

For example, if your selected time frame is two days, **Hourly** and **Daily** are available.
If your selected time frame is four weeks, **Daily** and **Weekly** are available.
:::

## Export triggered effects

Download a CSV file with all effects triggered in the campaign for a certain time range.
It allows you to further analyze the performance of the campaign.

1. Click **Insights** on the left-side menu of a campaign.
1. Click **Export Triggered Effects** at the top-right of the page.
1. Use the tabs at the top of the page to choose a time frame:
   - **Date range**: Set custom start and end dates.
   - **After Recent Export**: Use the drop-down menu to select a previous export.
1. In **Date format**, select the date format of your choice.
1. Click **Export Data**.

The CSV file contains the following information for each effect:

| Column                 |                                       Description                                                 |
| ---------------------- | ------------------------------------------------------------------------------------------------- |
| Created                | Date and time when the session with the triggered effect was created.                             |
| Name                   | [Type of effect](/docs/dev/integration-api/api-effects.md) in the integration layer. For example, `setDiscountPerItem`.                                                                                                        |
| Application ID         | Integration identifier of the Application.                                                        |
| Campaign ID            | Integration identifier of the campaign.                                                           |
| Ruleset ID             | Integration identifier of the set of rules that were evaluated. It is set by the integration layer.                                                                                                                       |
| Rule index             | Position of the rule with the triggered effect in the set of rules. It is set by the integration layer.                                                                                                                       |
| Session integration ID | Integration identifier of the [customer session](/docs/dev/concepts/entities/customer-sessions.md). It is set by the integration layer.                                                                                          |
| Profile integration ID | Integration identifier of the [customer profile](/docs/dev/concepts/entities/customer-profiles.md). It is set by the integration layer.                                                                                          |
| Session ID             | Internal ID of the session in Talon.One.                                                          |
| Profile ID             | Internal ID of the profile in Talon.One                                                           |
| Event ID               | Internal ID of the event in Talon.One.                                                            |
| Event type             | [Type of event](/docs/dev/concepts/entities/events.md) in the integration layer. For example, `talon_session_closed`.                                                                                                      |
| Total revenue          | Total value of the session, including any additional costs, before applying any discounts.        |
| Props                  | Properties of the rule. Learn more in our [Dev docs](/docs/dev/integration-api/api-effects.md).      |
| Coupon ID              | Integration identifier of any coupons redeemed in the session. It is set by the integration layer.|

## Related pages

- [API effects](/docs/dev/integration-api/api-effects.md)
- [Display customer sessions](/docs/product/applications/display-customer-sessions.md)
- [Display customer profiles](/docs/product/applications/display-customer-profiles.md)

[app]: /docs/product/applications/overview.md
[campaign]: /docs/product/applications/display-campaigns.md
