AudienceRun Bid Adapter: Add Support for User Matching, Referer, …#8261
AudienceRun Bid Adapter: Add Support for User Matching, Referer, …#8261robertrmartinez merged 3 commits intoprebid:masterfrom
Conversation
|
@audiencerun can you please remove changes to the package-lock file 🙏 Looks to just be the updated prebid version release number. |
|
Hi @ChrisHuie, just restored the package-lock.json file. Thanks. |
| * | ||
| * @returns {string} | ||
| */ | ||
| function getPageReferer() { |
There was a problem hiding this comment.
Is there a reason this is being duplicated?
bidderRequest.refererInfo.referer does this logic already, so not really sure this is needed.
https://github.com/prebid/Prebid.js/blob/master/src/refererDetection.js
There was a problem hiding this comment.
Hi @robertrmartinez, it is not a duplicate as bidderRequest.refererInfo.referer seems to return at first the URL of the page where Prebid.js is called while we need the URL that linked to this page and not the URL of the current page.
Here is a screen that shows it and is available at https://7buoei.csb.app/?pbjs_debug=true
Feel free if you need more details.
robertrmartinez
left a comment
There was a problem hiding this comment.
We will be making a util function or add this to refererDetection in order to make sure adapters do not duplicate code. Thanks!
…rebid#8261) * AudienceRun Bid Adapter: Add Support for User Matching, Referer, US Privacy, Schain * fix: restore package-lock.json

Type of change
Description of change
Add Support for User Matching, Referer, Schain, US Privacy, GLVID
Other information
PR prebid/prebid.github.io#3687