__tcfapi('addEventListener', 2, function(tcData, success) { if (success && tcData.gdprApplies) { if (tcData.eventStatus === 'tcloaded') { // we have consent, get the tcData string and do the ad request console.log('Debug: tcloaded'); } else if (tcData.eventStatus === 'useractioncomplete') { // user just gave consent, get the tcdata string and do the // ad request console.log('Debug: useractioncomplete'); } else { console.log('Debug: tcData.eventStatus: ', tcData.eventStatus); } } }) L214 – Angers Info