Skip to content

analytics: report every Optable matcher in V2 prebid analytics - #376

Merged
mosherBT merged 2 commits into
masterfrom
mo/analytics-v2-optable-matchers
Oct 28, 2026
Merged

mosherBT merged 2 commits into
masterfrom
mo/analytics-v2-optable-matchers

Conversation

@mosherBT

Copy link
Copy Markdown
Contributor

Why

V2 builds optableMatchers from EIDs deduped by source|inserter, so two Optable EIDs with the same source and different matchers report only the last matcher.

What Changed

  • analytics: Optable and competitor EIDs are read from the full ext.eids + eids list. optableMatchers and optableSources were already unique through their Sets, so the dedupe only ever dropped matchers.
  • analytics: the dedupe tests now expect both matchers.

How to Test

  • Tested
  • Docs updated — if this adds, changes or removes anything a consumer calls, update the module's .md alongside the code (for example lib/addons/<addon>.md) and the matching README section. New addons ship with a new .md.

Notes

  • Breaking change
  • Requires release

@mosherBT mosherBT self-assigned this Oct 27, 2026
@mosherBT
mosherBT marked this pull request as ready for review October 27, 2026 16:56
@mosherBT
mosherBT requested review from a team as code owners October 27, 2026 16:56

@jplaroche jplaroche left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: it("reports LiveIntent and Optable EIDs side by side, before the source dedupe") (analytics.test.ts L469) refers to a step this PR removes. Suggest it("reports LiveIntent and Optable EIDs side by side").

Comment thread lib/addons/prebid/analytics.test.ts Resolved

@jplaroche jplaroche left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

mostly nitpicking stuff, can release without it

@mosherBT
mosherBT merged commit d4b6268 into master Oct 28, 2026
7 checks passed
@mosherBT
mosherBT deleted the mo/analytics-v2-optable-matchers branch October 28, 2026 15:35
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