mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Add distinct ID to filters/expanded metrics. Closes #3861
This commit is contained in:
parent
7f43a0d41a
commit
7bb30443a8
9 changed files with 24 additions and 1 deletions
|
|
@ -55,6 +55,7 @@ export const SESSION_COLUMNS = [
|
|||
'country',
|
||||
'city',
|
||||
'region',
|
||||
'distinctId',
|
||||
];
|
||||
|
||||
export const SEGMENT_TYPES = {
|
||||
|
|
@ -69,6 +70,7 @@ export const FILTER_COLUMNS = {
|
|||
referrer: 'referrer_domain',
|
||||
domain: 'referrer_domain',
|
||||
hostname: 'hostname',
|
||||
distinctId: 'distinct_id',
|
||||
title: 'page_title',
|
||||
query: 'url_query',
|
||||
os: 'os',
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ export const filterParams = {
|
|||
city: z.string().optional(),
|
||||
tag: z.string().optional(),
|
||||
hostname: z.string().optional(),
|
||||
distinctId: z.string().optional(),
|
||||
language: z.string().optional(),
|
||||
event: z.string().optional(),
|
||||
segment: z.uuid().optional(),
|
||||
|
|
@ -89,6 +90,7 @@ export const fieldsParam = z.enum([
|
|||
'city',
|
||||
'tag',
|
||||
'hostname',
|
||||
'distinctId',
|
||||
'language',
|
||||
'event',
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue