diff --git a/modules/openxBidAdapter.js b/modules/openxBidAdapter.js index 2f116323a42..7cef3cdad31 100644 --- a/modules/openxBidAdapter.js +++ b/modules/openxBidAdapter.js @@ -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,