Skip to content

Commit 016e499

Browse files
LilyL0uCopilot
andauthored
Update src/app/components/OptimizelyPageMetrics/PageViewTracking/index.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 942ecbc commit 016e499

File tree

1 file changed

+2
-2
lines changed
  • src/app/components/OptimizelyPageMetrics/PageViewTracking

1 file changed

+2
-2
lines changed

src/app/components/OptimizelyPageMetrics/PageViewTracking/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ const PageViewTracking = ({ trackVisit = false }: Props) => {
9292
const visitState = trackVisit ? getVisitTrackingState(now) : null;
9393

9494
if (trackVisit) {
95-
// always update activity so the 60 minute window rolls forward on each page view
96-
// this means a page view at minute 59 extends the same visit, while minute 61 starts a new visit
95+
// always update activity so the 30 minute window rolls forward on each page view
96+
// this means a page view at minute 29 extends the same visit, while minute 31 starts a new visit
9797
recordVisitActivity(visitState?.storage ?? null, now);
9898
}
9999

0 commit comments

Comments
 (0)