Usercentrics - PUBLIC

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The object windows.usercentrics is only available for CMP v1.

In CMP V2 (Both in our Predefined UI and TCF 2.0), currently, we just have 4 available functions:

UC_UI.showFirstLayer(); → This function shows the first layer.

  • UC_UI.showSecondLayer(); → This function shows the second layer.

  • UC_UI.acceptService('ID'); → This function will accept the consent of service that is not part of the IAB TCF.

For Example - UC_UI.acceptService('S1pcEj_jZX');

where 'S1pcEj_jZX' is the template ID for Google Maps.

 

  • UC_UI.rejectService('ID'); → This function will reject the consent of service that is not part of the IAB TCF.

For Example - UC_UI.rejectService('S1pcEj_jZX');

where 'S1pcEj_jZX' is the template ID for Google Maps.

We are currently developing new functions, and we are going to update the information here as soon as possible.

Do you need further help?

How can I get help with technical questions?

  • No labels