Skip to content

Commit

Permalink
Merge pull request #2 from OrbitScripts/fix-orbitsoftAdapter-requestR…
Browse files Browse the repository at this point in the history
…eferrer

Oritsoft Adapter: processing undefined request referrer
  • Loading branch information
VitalyOrbit authored Nov 24, 2022
2 parents 4dd4f06 + 1f21bb9 commit 9639457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/orbitsoftBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const spec = {
if (location === '') {
location = utils.getWindowLocation();
}
if (referrer === '') {
if (referrer === '' && bidRequest && bidRequest.refererInfo) {
referrer = bidRequest.refererInfo.referer;
}

Expand Down

0 comments on commit 9639457

Please sign in to comment.