Skip to content

Commit ce45157

Browse files
committed
convert bidders: criteoId
1 parent 985dcbc commit ce45157

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/criteoIdSystem.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ function buildCriteoUsersyncUrl(topUrl, domain, bundle, areCookiesWriteable, isL
9090
function callCriteoUserSync(parsedCriteoData, gdprString, callback) {
9191
const cw = storage.cookiesAreEnabled();
9292
const lsw = storage.localStorageIsEnabled();
93-
const topUrl = extractProtocolHost(getRefererInfo().referer);
93+
const topUrl = extractProtocolHost(getRefererInfo().page);
94+
// TODO: should domain really be extracted from the current frame?
9495
const domain = extractProtocolHost(document.location.href, true);
9596
const isPublishertagPresent = typeof criteo_pubtag !== 'undefined'; // eslint-disable-line camelcase
9697

0 commit comments

Comments
 (0)