Skip to content

Zeta Global Analytics Adapter: extra events#14964

Open
abermanov-zeta wants to merge 5 commits into
prebid:masterfrom
abermanov-zeta:zeta_global_ssp/extra-analytics-events
Open

Zeta Global Analytics Adapter: extra events#14964
abermanov-zeta wants to merge 5 commits into
prebid:masterfrom
abermanov-zeta:zeta_global_ssp/extra-analytics-events

Conversation

@abermanov-zeta
Copy link
Copy Markdown
Contributor

Type of change

  • Updated Analytics Adapter

Description of change

Support for events:

  • bidTimeout
  • bidderError
  • browserIntervention

abermanov-zeta and others added 3 commits May 26, 2026 18:41
Extract shared site-context, floor, mediaType, and device helpers so analytics
events send complete fields (including auctionId on bidsReceived) with robust
page/domain fallbacks and bounded bidder error payloads.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
Copy link
Copy Markdown

Tread carefully! This PR adds 2 linter errors (possibly disabled through directives):

  • modules/zeta_global_sspAnalyticsAdapter.js (+2 errors)

1 similar comment
@github-actions
Copy link
Copy Markdown

Tread carefully! This PR adds 2 linter errors (possibly disabled through directives):

  • modules/zeta_global_sspAnalyticsAdapter.js (+2 errors)

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d5e1b3922

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

}

function resolveTimeoutSiteContext(timeouts = []) {
const siteBid = timeouts.find(t => t?.ortb2?.site?.page || t?.ortb2?.site?.domain);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve page and domain independently for timeouts

When the BID_TIMEOUT payload contains partial ortb2.site data, this picks the first timeout that has either page or domain and then reads both fields from that one bid. For example, if the first timed-out bid has only site.domain and a later one has site.page, the page now falls back to getRefererInfo().page instead of using the page present in the timeout array; the previous code searched for page and domain separately, so this regresses the accuracy of the timeout analytics payload for partially populated site objects.

Useful? React with 👍 / 👎.

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.

1 participant