Skip to content

Conversation

@Spencer-Smith
Copy link
Collaborator

Description

Removes event timestamp during event finalization and adds a meta property to determine the amount of time the event was enqueued.

Related Issue

Jira

Motivation and Context

Timestamps from the WebSDK are dependent on user device settings and so can be inaccurate. In order to avoid TIME DRIFT in Konductor, we should no longer send event timestamps in the SDK. Instead, Konductor will insert the timestamp when the request is received. Because send event commands can be queued (while they wait for script load, consent, identity, etc.), we need to track the delta between when the command is enqueued and when it is actually sent to determine in Konductor when the event occurred.

Screenshots (if appropriate):

N/A

Checklist:

  • I have signed the Adobe Open Source CLA or I'm an Adobe employee.
  • I have made any necessary test changes and all tests pass.
  • I have run the Sandbox successfully.

Copy link
Contributor

@jonsnyder jonsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Be sure to manually test it with an assurance session to make sure the queuedTimeMillis is applied to the event when xdm.timestamp is deleted.

@Spencer-Smith Spencer-Smith self-assigned this Jan 8, 2026
@Spencer-Smith Spencer-Smith changed the title IMPROVEMENT: Removed xdm.timestamp and added meta.queueTimeMillis IMPROVEMENT: Added meta.queueTimeMillis to network request to record time between event creation and sent Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants