v1.12.30 긴 접속 시간 표시와 중단 후 새 방문 처리 개선
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { z } from 'zod'
|
||||
import {
|
||||
ANALYTICS_MAX_REALTIME_DURATION_SECONDS,
|
||||
isBotUserAgent,
|
||||
isTrackableAnalyticsPath,
|
||||
normalizePageSlugForAnalytics,
|
||||
@@ -20,7 +21,7 @@ const heartbeatInputSchema = z.object({
|
||||
pageSlug: z.string().trim().max(200).optional().default(''),
|
||||
clientSessionId: z.string().trim().min(8).max(120),
|
||||
contentSessionId: z.string().trim().max(120).optional().default(''),
|
||||
durationSeconds: z.number().int().min(0).max(1800),
|
||||
durationSeconds: z.number().int().min(0).max(ANALYTICS_MAX_REALTIME_DURATION_SECONDS),
|
||||
maxScrollRatio: z.number().min(0).max(1)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user