Dernière mise à jour
Dernière mise à jour
Before loading partners scripts on your site, you must verify that user has given consent or hasn't objected to the legitimate interest.
You can do this by reading signals with the getTCData
command.
You can specify a list of vendor IDs for which the TC Data is requested.
The Global Vendor List containing the purposes and vendors participating in the Transparency & Consent Framework can be retrieved with the getVendorList
command.
You can specify a vendorListVersion for which the Global Vendor List is requested.
With the addEventListener
command, you can register a listener to the CMP that will be called with the TC Data whenever an event occurs. When adding a listener, the callback is called immediately with the current TC Data as well as a listenerId that you must store if you need to remove the listener.