Skip to content

Commit

Permalink
cache buster for user sync (prebid#3838)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwlosinski authored and Alex committed Aug 1, 2019
1 parent c3de232 commit 45c227f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/justpremiumBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ export const spec = {
},

getUserSyncs: function getUserSyncs(syncOptions, responses, gdprConsent) {
let url = '//pre.ads.justpremium.com/v/1.0/t/sync'
let url = '//pre.ads.justpremium.com/v/1.0/t/sync' + '?_c=' + 'a' + Math.random().toString(36).substring(7) + Date.now();
if (gdprConsent && (typeof gdprConsent.gdprApplies === 'boolean')) {
url = url + '?consentString=' + encodeURIComponent(gdprConsent.consentString)
url = url + '&consentString=' + encodeURIComponent(gdprConsent.consentString)
}
if (syncOptions.iframeEnabled) {
pixels.push({
Expand Down

0 comments on commit 45c227f

Please sign in to comment.