File tree Expand file tree Collapse file tree 1 file changed +13
-24
lines changed
web-integrations/prebid-integrations/client-side-deferred Expand file tree Collapse file tree 1 file changed +13
-24
lines changed Original file line number Diff line number Diff line change 161161 } ) ;
162162 }
163163
164- // Display the initial config (called on document ready, before Prebid loads)
164+ // Initial Prebid config - WITHOUT UID
165+ const initialPrebidConfig = {
166+ debug : true ,
167+ userSync : {
168+ syncDelay : 5000 ,
169+ auctionDelay : 1000 ,
170+ } ,
171+ } ;
172+
173+ // Display the initial config (called on document ready)
165174 function displayInitialConfig ( ) {
166- const initialConfig = {
167- debug : true ,
168- userSync : {
169- // Note: NO userIds configured here - deferred loading!
170- syncDelay : 5000 ,
171- auctionDelay : 1000 ,
172- } ,
173- } ;
174- $ ( '#initial_config' ) . text ( JSON . stringify ( initialConfig , null , 2 ) ) ;
175+ $ ( '#initial_config' ) . text ( JSON . stringify ( initialPrebidConfig , null , 2 ) ) ;
175176 }
176177
177- // Initial Prebid config - WITHOUT UID (this is the key difference!)
178+ // Apply the initial Prebid config
178179 function setInitialConfig ( ) {
179- const initialConfig = {
180- debug : true ,
181- userSync : {
182- // Note: NO userIds configured here - deferred loading!
183- syncDelay : 5000 ,
184- auctionDelay : 1000 ,
185- } ,
186- } ;
187-
188- console . log ( '=== INITIAL CONFIG: Setting up Prebid WITHOUT UID ===' ) ;
189- console . log ( 'Initial config (no UID):' , JSON . stringify ( initialConfig , null , 2 ) ) ;
190-
191- pbjs . setConfig ( initialConfig ) ;
180+ pbjs . setConfig ( initialPrebidConfig ) ;
192181 }
193182
194183 // Consent management for GDPR compliance (required for EUID)
You can’t perform that action at this time.
0 commit comments