04使用指南
篩選欄位參考
篩選欄位的識別碼、值類型、單位、運算子與可用範圍。
在運算式中使用下表的欄位 ID。原生實體表示欄位來自哪類記錄,查詢範圍決定報表依哪種對象篩選。請在篩選編輯器的語法說明中確認目前頁面可用的欄位和運算子。
| 欄位 ID | 類型與單位 | 原生實體 | 儀表板可用性 | 運算子 |
|---|---|---|---|---|
page.path | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
page.title | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
page.hostname | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
page.durationMs | number (ms) | visit | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
page.query | string | visit | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
page.hash | string | visit | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
event.name | string | event | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
event.payload | json-scalar | event | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, gt, gte, lt, lte, between, exists, notExists, isNull, notNull, isEmpty, notEmpty |
session.entryPath | string | session | 私人與公開分享 | eq, neq, in, notIn |
session.exitPath | string | session | 私人與公開分享 | eq, neq, in, notIn |
session.durationMs | number (ms) | session | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
session.views | number | session | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
session.events | number | session | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
session.bounce | boolean | session | 私人與公開分享 | eq, neq, exists, notExists, isNull, notNull |
visitor.sessions | number | visitor | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
visitor.views | number | visitor | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
visitor.events | number | visitor | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
referrer.domain | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
referrer.url | string | visit | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
traffic.channel | enum | visit | 私人與公開分享 | eq, neq, in, notIn, exists, notExists, isNull, notNull, isEmpty, notEmpty |
utm.source | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
utm.medium | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
utm.campaign | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
utm.term | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
utm.content | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
client.deviceType | enum | visit | 私人與公開分享 | eq, neq, in, notIn, exists, notExists, isNull, notNull, isEmpty, notEmpty |
client.browser | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
client.browserVersion | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
client.browserEngine | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
client.os | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
client.osVersion | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
client.language | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
client.screenSize | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
client.screenWidth | number (px) | visit | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
client.screenHeight | number (px) | visit | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
geo.country | enum | visit | 私人與公開分享 | eq, neq, in, notIn, exists, notExists, isNull, notNull, isEmpty, notEmpty |
geo.region | string | visit | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
geo.city | string | visit | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
geo.continent | enum | visit | 私人與公開分享 | eq, neq, in, notIn, exists, notExists, isNull, notNull, isEmpty, notEmpty |
geo.timeZone | string | visit | 私人與公開分享 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
geo.organization | string | visit | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
geo.isEU | boolean | visit | 私人與公開分享 | eq, neq, exists, notExists, isNull, notNull |
performance.lcpMs | number (ms) | visit | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
performance.inpMs | number (ms) | visit | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
performance.cls | number (ratio) | visit | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
performance.ttfbMs | number (ms) | visit | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
performance.fcpMs | number (ms) | visit | 私人與公開分享 | eq, neq, in, notIn, gt, gte, lt, lte, between, exists, notExists, isNull, notNull |
user.id | string | visit | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
user.name | string | visit | 僅私人儀表板 | eq, neq, in, notIn, contains, startsWith, endsWith, exists, notExists, isNull, notNull, isEmpty, notEmpty |
事件資料中的缺漏、空值與空字串
對 event.payload("/plan") 而言,缺漏的鍵、JSON null 和空字串對應不同條件。一般純量欄位的存在判斷可能採用不同規則。
| 事件資料 | 符合的條件 |
|---|---|
{} | event.payload("/plan") notExists |
{"plan":null} | event.payload("/plan") isNull |
{"plan":""} | event.payload("/plan") isEmpty |