Skip to content

Commit

Permalink
revert outbrain cahnges to untrack in this pr
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHuie authored May 18, 2021
1 parent 59975ca commit d759cf2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/outbrainBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ export const spec = {
return syncs;
},
onBidWon: (bid) => {
ajax(utils.replaceAuctionPrice(bid.nurl, bid.originalCpm))
// for native requests we put the nurl as an imp tracker, otherwise if the auction takes place on prebid server
// the server JS adapter puts the nurl in the adm as a tracking pixel and removes the attribute
if (bid.nurl) {
ajax(utils.replaceAuctionPrice(bid.nurl, bid.originalCpm))
}
}
};

Expand Down

0 comments on commit d759cf2

Please sign in to comment.