You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The vendor sample code:
* wrapped in a try/catch and will ignore
* any errors in parsing
*/
json = typeof event.data === 'string' ? JSON.parse(event.data) : event.data;
} catch (ignore) {}
**if (json.__tcfapiReturn) {**
// should be executed at window scope
deletePersonalData();
} // else this is some message we don't recognize
}, false);
Hi IAB,
I read this document:
https://github.com/InteractiveAdvertisingBureau/USPrivacy/blob/master/CCPA/Data%20Deletion%20Request%20Handling.md
The vendor sample code:
* wrapped in a try/catch and will ignore
* any errors in parsing
*/
json = typeof event.data === 'string' ? JSON.parse(event.data) : event.data;
Why it is "json.__tcfapiReturn"? __tcfapiReturn is used for __tcfapiCall according to this document:
https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/TCFv2/IAB%20Tech%20Lab%20-%20CMP%20API%20v2.md
Here is using USP API, the return name should be :"__uspapiReturn" according to this document:
https://github.com/InteractiveAdvertisingBureau/USPrivacy/blob/master/CCPA/USP%20API.md
The text was updated successfully, but these errors were encountered: