> For the complete documentation index, see [llms.txt](https://help.twinr.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.twinr.dev/twinr-in-built-analytics/revenue.md).

# Revenue

See your app's revenue, orders, top products and promo code use, and how other currencies are converted.

The **Revenue** tab shows the money your app brings in: revenue, orders, your best-selling products and how many orders used a promo code.

## Where orders come from

* **Your Twinr Shopify or WooCommerce plugin.** If your store is connected through one of them, orders placed in your app are sent automatically and linked to the person who placed them. You don't need to do anything. If your store sends the same order twice, it counts once.
* **Your own website.** Send the reserved `order_completed` and `product_purchased` events from your site. See [Reserved events](https://help.twinr.dev/twinr-in-built-analytics/track-custom-events.md#reserved-events).

If there are no orders in your range, the tab shows **Track your sales**: "Report orders from your app to see revenue here." **Read the guide** opens the reserved events guide.

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2Fgit-blob-56cbcc6bfaebdf0a0a629267873a93143f5b3ee4%2Fanalytics-revenue-1.png?alt=media" alt="The Revenue tab with the key numbers, Revenue and orders over time, Revenue by device and Top 10 products"><figcaption></figcaption></figure>

## Key numbers

| Number                  | What it means                                       |
| ----------------------- | --------------------------------------------------- |
| **Revenue**             | The total of all orders in your range               |
| **Orders**              | How many orders were placed                         |
| **Average order value** | **Revenue** divided by **Orders**                   |
| **Revenue per user**    | Revenue from buyers divided by the number of buyers |

**Revenue**, **Orders** and **Average order value** show their change against the previous period.

**Revenue and orders over time** shows your revenue for each day, week or month of your range, with the number of orders under the total.

## Buyers

These cards look at the people who ordered: store orders from your plugin and `order_completed` events from your website. Each of those belongs to a person in your app, so they also count toward **Revenue per user**.

| Card                                        | What it means                                                                                                                         |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| **Repeat purchase rate**                    | Buyers who ordered 2 or more times in your range                                                                                      |
| **Average time between orders**             | For buyers who ordered on 2 or more days, the average number of days between those orders                                             |
| **Revenue from new vs returning customers** | **New customers** is revenue from people on the day of their first order ever. **Returning customers** is revenue from everyone else. |

## Revenue by device

**Revenue by device** splits revenue by platform: iOS, Android or web. The middle of the chart shows the total.

## Top 10 products

**Top 10 products** lists the products that sold the most units in your range, with **Units sold** for each. It includes products from your plugin store orders and from `product_purchased` events.

## Promo codes

**Promo code revenue vs revenue** shows how much revenue came from orders that used a promo code, and its share of all revenue. The bar splits revenue into **With a code** and **Without a code**.

An order from your website counts as using a code when its `order_completed` event has a `discount_code`. A plugin store order counts when a discount was applied, even if your store doesn't send the code.

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2Fgit-blob-931b04ef0ca1632bcc5aafa3350a7567e6d5ebfa%2Fanalytics-revenue-2.png?alt=media" alt="Promo code revenue vs revenue, Repeat purchase rate, Average time between orders, and Revenue from new vs returning customers"><figcaption></figcaption></figure>

## Currency

All amounts show in your reporting currency. The line above the key numbers says which, for example **Amounts in USD**. Choose it to open [Settings](https://help.twinr.dev/twinr-in-built-analytics/settings.md#reporting-currency) and change it. The reporting currency starts as USD.

An order in another currency is converted at that day's exchange rate. A plugin store order uses the currency your store sends. If your store doesn't send one, the order is taken to be in your reporting currency. Changing your reporting currency recalculates all past revenue in the new currency.

If an order's currency has no exchange rate yet, a note shows under the key numbers, for example: "3 orders are in a currency we can't convert yet. They count as orders and add nothing to revenue."
