Add scroll heatmaps.

This commit is contained in:
Mike Cao committed 2026-05-05 10:43:39 -07:00
1 parent c7f71e5758
commit 1b69ce6e90
13 files changed
+461 -55

No files matched your search

+7 -7
View File
@@ -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(),
}),
});