Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(web-analytics): Add flag to send server hash instead of distinct id #1490

Merged
merged 20 commits into from
Dec 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert session duration
robbie-c committed Dec 13, 2024
commit 93af8022409e164d0b593ba0e49ccc697fcb0fd4
3 changes: 0 additions & 3 deletions src/extensions/replay/sessionrecording.ts
Original file line number Diff line number Diff line change
@@ -315,9 +315,6 @@ export class SessionRecording {
private get sessionDuration(): number | null {
const mostRecentSnapshot = this.buffer?.data[this.buffer?.data.length - 1]
const { sessionStartTimestamp } = this.sessionManager.checkAndGetSessionAndWindowId(true)
if (sessionStartTimestamp == null) {
return null
}
return mostRecentSnapshot ? mostRecentSnapshot.timestamp - sessionStartTimestamp : null
}