From c77ff5182b3337eeabf4e04fcfffce0fdcc2ba3e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Laroche Date: Sat, 13 Jun 2026 12:05:46 -0400 Subject: [PATCH] Fix originSlug for prototype analytics prototype version only as dcn.site is always analytics --- lib/addons/prototypes/analytics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addons/prototypes/analytics.js b/lib/addons/prototypes/analytics.js index c55654b..da700f7 100644 --- a/lib/addons/prototypes/analytics.js +++ b/lib/addons/prototypes/analytics.js @@ -281,7 +281,7 @@ class OptablePrebidAnalytics { prebidjsVersion: this.prebidInstance?.version || "unknown", sessionDepth: sessionStorage?.optableSessionDepthIndex || 1, pageAuctionsCount: window.optable?.pageAuctionIndex || 1, - originSlug: this.optableInstance?.dcn?.site || window.optable?.site || "unknown", + originSlug: window.optable?.site || this.optableInstance?.dcn?.site || "unknown", // optable.site first since dcn is analytics always }; // Log summary with bid counts this.log(