diff --git a/modules/consentManagement.js b/modules/consentManagement.js index 53e97006bd1..1f2d2250ba4 100644 --- a/modules/consentManagement.js +++ b/modules/consentManagement.js @@ -220,7 +220,7 @@ function lookupIabConsent(cmpSuccess, cmpError, hookConfig) { window.addEventListener('message', readPostMessageResponse, false); // call CMP - window[apiName](commandName, null, moduleCallback); + window[apiName](commandName, undefined, moduleCallback); function readPostMessageResponse(event) { let cmpDataPkgName = `${apiName}Return`;