mirror of
https://github.com/umami-software/umami.git
synced 2026-02-16 10:35:35 +01:00
implement UTM filters and fields
This commit is contained in:
parent
7514af4236
commit
49adaa32d0
11 changed files with 336 additions and 55 deletions
|
|
@ -39,6 +39,11 @@ export const filterParams = {
|
|||
distinctId: z.string().optional(),
|
||||
language: z.string().optional(),
|
||||
event: z.string().optional(),
|
||||
utmSource: z.string().optional(),
|
||||
utmMedium: z.string().optional(),
|
||||
utmCampaign: z.string().optional(),
|
||||
utmContent: z.string().optional(),
|
||||
utmTerm: z.string().optional(),
|
||||
segment: z.uuid().optional(),
|
||||
cohort: z.uuid().optional(),
|
||||
eventType: z.coerce.number().int().positive().optional(),
|
||||
|
|
@ -94,6 +99,11 @@ export const fieldsParam = z.enum([
|
|||
'distinctId',
|
||||
'language',
|
||||
'event',
|
||||
'utmSource',
|
||||
'utmMedium',
|
||||
'utmCampaign',
|
||||
'utmContent',
|
||||
'utmTerm',
|
||||
]);
|
||||
|
||||
export const reportTypeParam = z.enum([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue