Skip to content

Commit 1fc8e74

Browse files
Merge pull request #6252 from segmentio/ashton-huxtable-patch-3
Add note about change in sentat in new mobile libraries
2 parents 1da1ee7 + 8f67b7e commit 1fc8e74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/connections/spec/common.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ The `sentAt` timestamp specifies the clock time for the client's device when the
276276

277277
**Note:** The `sentAt` timestamp is not useful for any analysis since it's tainted by user's clock skew.
278278

279+
> warning "Segment now adds `sentAt` to a payload when the batch is complete and initially tried to the Segment API for the Swift, Kotlin, and C# mobile libraries"
280+
> This update changes the value of the Segment-calculated `timestamp` to align closer with the `receivedAt` value rather than the `originalTimestamp` value. For most users who are online when events are sent, this does not significantly impact their data. However, if your application utilizes an offline mode where events are queued up for any period of time, the `timestamp` value for those users now more closely reflects when Segment received the events rather than the time they occurred on the users' devices.
281+
279282

280283
### receivedAt
281284

0 commit comments

Comments
 (0)