Custom Metrics Table
blended_stats_tvf
The Custom Metrics table stores the metrics a shop created. One row per shop per day, or per hour for hourly data.
Table GuideWhat You Can Answer With This Table
- What values did the custom metrics my shop created return? — use
event_dateBefore You Query
- Required field:
event_date- Custom metric column ids start with
custom_metric_.- The
include_amazonparameter acceptstrueorfalseand defaults tofalse.When to Use a Different Table
- Use Summary Metrics table when you need Triple Whale Summary metrics such as Net Profit, MER, or Blended ROAS. The Custom Metrics table is for metrics a shop created.
Parameters
Parameters can be used to customize and filter the data in the table, and are applied before aggregation.
| Title | ID | Description |
|---|---|---|
| Include Amazon | include_amazon | Includes Amazon Sales data in the results, in addition to the main sales platform. Possible values: Defaults to |
Dimensions
Dimensions are immutable properties that can be used for grouping data.
| Title | ID | Type | Description |
|---|---|---|---|
| Event Hour | event_hour | string | The hour of the day on which the order was placed, according to a 24-hour clock. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected). Example values: |
| Event Date | event_date | date | The date the order was placed. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected). |
| Event Day | event_date_day | date | The day on which the ad was run or the order was placed. Derived from event_date. |
| Event Week | event_date_week | date | The Sunday of the week during which the event occurred. Derived from event_date. |
| Event Month | event_date_month | date | The month during which the event occurred. Derived from event_date. |
| Event Quarter | event_date_quarter | date | The first month of the quarter during which the event occurred. Derived from event_date. |
| Event Year | event_date_year | date | The year during which the event occurred. Derived from event_date. |
| Shop ID | shop_id | string | The unique ID of the shop (often corresponds to the shop domain). Can be used to group or filter data by shop in multi-store reports. Example values: |
| Shop Name | shop_name | string | The name of the shop. Can be used to group or filter data by shop in multi-store reports. Example values: |
Custom metrics
Column ids for metrics a shop created start with custom_metric_.
Updated 20 days ago