This optional module will trigger a BID_VIEWABLE event which can be consumed by Analytics adapters. In addition, the winning bidder can implement an
onBidViewable method to capture this event.
|Logic used to find a matching Prebid.js bid for a GPT slot is ` (slot.getAdUnitPath() === bid.adUnitCode||slot.getSlotElementId() === bid.adUnitCode) ` this logic can be changed by using param ` customMatchFunction `|
Instead of listening for events, bidders may supply a ` bid.vurls ` array and this module may fire those pixels when the viewability signal is received. Publishers can control this with module config ` firePixels: true `. Please note that GDPR and USP related parameters will be added to the given URLs.
This feature doesn’t seem to work with Instream Video, as GPT’s impressionViewable event is not triggered for instream-video-creative
||Required||Object||Configuration object for instream tracking|
||Required||Boolean||when set to true, the module will emit BID_VIEWABLE when applicable. Default:
||Optional||Boolean||when set to true, will fire the urls mentioned in
||Optional||function(bid, slot)||when passed this function will be used to
||slot.getSlotElementId() === bid.adUnitCode) `|