About revenue

Some charts on the dashboards in the Advanced Reports (platform-ca | platform-eu | platform-au) page of the Coveo Administration Console use the revenue metric.

revenue is calculated by adding up the revenue from every product sold in each purchase event.

The revenue metric is calculated as either net or gross revenue. The Top selling products charts display net revenue figures. All other reported revenue metrics use gross revenue, unless otherwise stated.

Net revenue

Net revenue represents the revenue attributed to each product within a purchase event, excluding taxes, shipping costs, and discounts.

It’s calculated by multiplying the product’s base price by the quantity of units sold, as in the following formula:

product net revenue = product base price * quantity

Gross revenue

Gross revenue represents the revenue attributed to each product within a purchase event, including taxes, shipping costs, and discounts.

The total taxes, shipping costs, and discounts for a given product are calculated based on a weighted average, as in the following formula:

(transaction total/transaction total net revenue) * product net revenue

Example

To illustrate how the net and gross revenue metrics are calculated, consider the following example:

A customer makes one purchase containing three different products:

Product Base price Quantity Product net revenue

A

$25

1

$25

B

$10

4

$40

C

$40

3

$120

The transaction’s total net revenue is $185, but the total amount of the transaction logged by the associated purchase event is $200, which includes $15 in taxes and shipping costs.

By applying the weighted average formula, the taxes and shipping costs are distributed among the products to calculate the gross revenue as follows:

Product Base price Quantity Product net revenue Tax and shipping costs Product gross revenue

A

$25

1

$25

$2

$27

B

$10

4

$40

$3

$43

C

$40

3

$120

$10

$130