Skip to content

Commit

Permalink
convert bidders: criteoId
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi committed May 20, 2022
1 parent 985dcbc commit ce45157
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/criteoIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ function buildCriteoUsersyncUrl(topUrl, domain, bundle, areCookiesWriteable, isL
function callCriteoUserSync(parsedCriteoData, gdprString, callback) {
const cw = storage.cookiesAreEnabled();
const lsw = storage.localStorageIsEnabled();
const topUrl = extractProtocolHost(getRefererInfo().referer);
const topUrl = extractProtocolHost(getRefererInfo().page);
// TODO: should domain really be extracted from the current frame?
const domain = extractProtocolHost(document.location.href, true);
const isPublishertagPresent = typeof criteo_pubtag !== 'undefined'; // eslint-disable-line camelcase

Expand Down

0 comments on commit ce45157

Please sign in to comment.