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 |