External Revenue Table
external_revenue_table
The External Revenue table stores revenue data from sources outside your main e-commerce platform, such as retail stores, wholesale channels, point-of-sale (POS) systems, and offline sales. Querying this table enables you to track revenue from all sales channels, analyze performance across different source types and locations, and gain a comprehensive view of your total business revenue beyond your online store.
Note
event_dateis a required field for queries on this table.
Dimensions
Dimensions are immutable properties that can be used for grouping data.
Title | ID | Type | Description |
|---|---|---|---|
Event Date |
| date | The date the external revenue was generated. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected). Note: Each uploaded row can represent either a single date of revenue, or a start and end date. For rows containing a date range, Triple Whale will amortize the amount over the time range. |
Event Day |
| date | The day the event occurred. Derived from |
Event Week |
| date | The Sunday of the week during which the event occurred. Derived from |
Event Month |
| date | The month during which the event occurred. Derived from |
Event Quarter |
| date | The first month of the quarter during which the event occurred. Derived from |
Event Year |
| date | The year during which the event occurred. Derived from |
Breakdown |
| JSON | A JSON array containing product-level details for the revenue. Each element in the array is an object with the following properties:
|
Channel |
| string | The marketing or sales channel through which the revenue was generated. Example values: |
City |
| string | The city where the revenue was generated. Example values: |
Created At |
| timestamp | The timestamp when the revenue record was created in Triple Whale (when the CSV was uploaded and processed). Example value: |
Currency |
| string | The original currency in which the revenue was recorded. Example values: Note: All revenue metrics are automatically converted to your shop's selected currency for display. |
Location |
| string | The physical location or store where the revenue was generated. Example values: |
Source Name |
| string | Free-text identifier to name the specific revenue source. Example values: |
Source Type |
| string | The type of revenue source. Possible values:
|
State |
| string | The full state name where the revenue was generated. Example values: |
State Code |
| string | The two-letter state code where the revenue was generated. Example values: |
ZIP Code |
| string | The ZIP or postal code where the revenue was generated. Example values: |
Measures
Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.
| Title | ID | Type | Description |
|---|---|---|---|
| Amount Total | amount_total | numeric | The total revenue amount for the record. |
Updated 19 days ago