← Documentation

Revenue

Revenue reporting sums up money from your events so you can track ROI, compare channels, or see which pages or products earn the most. We add up events that include revenue and currency. Unknown currency codes are treated as USD.

Sending revenue

Include revenue (number) and currency (ISO 4217, e.g. USD) on the event. You can do that via the tracker or data attributes.

From JavaScript

intrily.track('checkout-cart', { revenue: 19.99, currency: 'USD' });

From data attributes

Revenue has to be a string in attributes:

<button data-intrily-event="checkout-cart" data-intrily-event-revenue="19.99" data-intrily-event-currency="USD">Checkout</button>

Running the report

In the Revenue report, pick the Currency to aggregate (e.g. USD). The report will show total revenue and, where available, breakdowns by page, event, or other dimensions for that period.