Skip to content

Conversation

tyiuhc
Copy link
Collaborator

@tyiuhc tyiuhc commented Oct 2, 2025

Summary

This update will attach timestamps to $impression events when they are incurred.

This is necessary for consent-aware exposure tracking, which keeps $impression events in memory when consent status is PENDING. When status is updated to GRANTED, the timestamp is required to properly track when the event was incurred, and not when the event was processed by the analytics SDK.

Relevant analytics-browser PR.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

Copy link

promptless bot commented Oct 2, 2025

📝 Documentation updates detected!

New suggestion: Document Exposure object fields including timestamp for custom exposure tracking

Copy link
Contributor

@Mercy811 Mercy811 left a comment

Choose a reason for hiding this comment

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

I've limited knowledge about experiment SDK but it looks good to me as Exposure is just event properties and it aligns with the other pr in analytics SDK.

@tyiuhc tyiuhc merged commit c55b91b into web/cookie-consent-exposure Oct 6, 2025
11 checks passed
@tyiuhc tyiuhc deleted the web/impression-time branch October 6, 2025 18:58
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.

2 participants