Skip to content

Commit

Permalink
Add openx referrer (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
florevallatmrf authored and alexmrf committed Jun 7, 2018
1 parent f8d859b commit c85c666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/openxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ function buildCommonQueryParamsFromBids(bids, bidderRequest) {
let defaultParams;

defaultParams = {
ju: config.getConfig('pageUrl') || utils.getTopWindowUrl(),
jr: utils.getTopWindowReferrer(),
ju: bids[0].params.referrer || config.getConfig('pageUrl') || utils.getTopWindowUrl(),
jr: bids[0].params.referrer || utils.getTopWindowReferrer(),
ch: document.charSet || document.characterSet,
res: `${screen.width}x${screen.height}x${screen.colorDepth}`,
ifr: isInIframe,
Expand Down

0 comments on commit c85c666

Please sign in to comment.