Migration Guide for the New API System
In this guide, we’ll explain how to migrate to the new API system, showing you example code.
The migration must be completed by March 10, 2025.
Be careful not to use both callback systems simultaneously.
Below is an example of the previous API system to read the current and/or updated consent.
The structure of the new command is as follows:
As you can see, the main difference lies in the structure and available arguments in the callback, which is added to the new global variable. All APIs from the previous command are accessible through the new command as shown in the example above. For further questions, please contact us at [email protected].
😬
Please note that to read cookieConsents, it is necessary to configure the cookies you use through the configurator. You can use our cookie scanner to help identify and recognize some of the cookies you use; any unrecognized ones must be specified.
The structure of the new command is as follows:
As you can see, the main difference lies in the structure and available arguments in the callback, which is added to the new global variable. All APIs from the previous command are accessible through the new command as shown in the example above. For further questions, please contact us at [email protected].