Skip to content

Commit

Permalink
added check in register syncs to not sync aliased bidders (#4435)
Browse files Browse the repository at this point in the history
  • Loading branch information
r-schweitzer authored and mkendall07 committed Dec 10, 2019
1 parent 2a5cfaa commit 847b353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/bidderFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export function newBidder(spec) {
});

function registerSyncs(responses, gdprConsent, uspConsent) {
if (spec.getUserSyncs) {
if (spec.getUserSyncs && !adapterManager.aliasRegistry[spec.code]) {
let filterConfig = config.getConfig('userSync.filterSettings');
let syncs = spec.getUserSyncs({
iframeEnabled: !!(config.getConfig('userSync.iframeEnabled') || (filterConfig && (filterConfig.iframe || filterConfig.all))),
Expand Down

0 comments on commit 847b353

Please sign in to comment.