Skip to content

Commit

Permalink
pageURL pull from topmostLocation (prebid#9152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsadwith authored and JacobKlein26 committed Feb 8, 2023
1 parent 9251c9d commit c4ff2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kargoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export const spec = {
_getAllMetadata(bidderRequest, tdid) {
return {
userIDs: spec._getUserIds(tdid, bidderRequest.uspConsent, bidderRequest.gdprConsent),
pageURL: bidderRequest.refererInfo && bidderRequest.refererInfo.page,
pageURL: bidderRequest?.refererInfo?.topmostLocation || bidderRequest?.refererInfo?.page,
rawCRB: storage.getCookie('krg_crb'),
rawCRBLocalStorage: spec._getLocalStorageSafely('krg_crb')
};
Expand Down

0 comments on commit c4ff2c0

Please sign in to comment.