Skip to content

Commit ebc6991

Browse files
authored
Update common.md
Add info on client-sdie timestamp spoofing
1 parent 968ecc0 commit ebc6991

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/connections/spec/common.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,3 +285,5 @@ The `timestamp` timestamp specifies when the data point occurred, corrected for
285285
If you are using the Segment server Source libraries, or passing calls directly to the HTTP API endpoint, you can manually set the `timestamp` field. This change updates the `originalTimestamp` field of the Segment event. If you use a Segment Source in device mode, the library generates `timestamp` and you cannot manually set one directly in the call payload.
286286

287287
Segment calculates `timestamp` as `timestamp = receivedAt - (sentAt - originalTimeStamp)`.
288+
289+
**Note:** For client-side tracking it's possible for the client to spoof the `originalTimeStamp`, which may result in a calcualted `timestamp` value set in the future.

0 commit comments

Comments
 (0)