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 May 21, 2018
1 parent 9ff521c commit dddf3eb
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 dddf3eb

Please sign in to comment.