Add scroll heatmaps.
This commit is contained in:
1 parent
c7f71e5758
commit
1b69ce6e90
13 files changed
+461
-55
No files matched your search
+7
-7
@@ -160,13 +160,12 @@ export const operatorParam = z.enum([
|
||||
|
||||
export const goalReportSchema = z.object({
|
||||
type: z.literal('goal'),
|
||||
parameters: z
|
||||
.object({
|
||||
startDate: z.coerce.date(),
|
||||
endDate: z.coerce.date(),
|
||||
type: z.string(),
|
||||
value: z.string(),
|
||||
}),
|
||||
parameters: z.object({
|
||||
startDate: z.coerce.date(),
|
||||
endDate: z.coerce.date(),
|
||||
type: z.string(),
|
||||
value: z.string(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const funnelReportSchema = z.object({
|
||||
@@ -275,6 +274,7 @@ export const heatmapReportSchema = z.object({
|
||||
startDate: z.coerce.date(),
|
||||
endDate: z.coerce.date(),
|
||||
urlPath: z.string().max(500).optional(),
|
||||
mode: z.enum(['click', 'scroll']).optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user