KeyMetrics
Display high-level engagement metrics like page views and visits for a specified time range (defaults to the past 30 days).
This predefined report view is based on the corresponding Adobe Analytics template. By default, the report covers the last 30 days. To customize the date range, specify StartDate and EndDate in the WHERE clause. If only StartDate is provided, EndDate defaults to today. If only EndDate is provided, StartDate defaults to two years before the specified EndDate.
You can also filter the report by segment using the SegmentId column in the WHERE clause. For instance, an example query might be:
SELECT * FROM [KeyMetrics] WHERE [StartDate] = '2025-01-01' AND [EndDate] = '2025-01-31' AND [SegmentId] = 's300012345_1234567890'
Columns
| Name | Type | IsDimension | IsMetric | DefaultDimension | DefaultMetric | Description |
| Date | Date | True | True | The day the given metrics occurred. | ||
| PageViews | Int | True | True | The number of times a given dimension item was set or persisted on a page. It is one of the most common and basic metrics in reports. | ||
| Visits | Int | True | True | The number of sessions across all visitors on the site. | ||
| UniqueVisitors | Int | True | True | The number of unique individuals who have visited the site during a specified time period. This can help you understand the overall reach of the site. | ||
| StartDate | String | Specifies the beginning of the reporting period. | ||||
| EndDate | String | Specifies the end of the reporting period. | ||||
| SegmentId | String | Specifies the ID of a predefined or custom segment to filter the report data. |