Using a synchronous CMP code

This feature is deprecated and will be removed in the future. Please do not use this code version.

We do not recommend using the synchronous integration as this will slow down the performance of your website. Please only use this method if the asynchronous integration does not work for you.

In some cases it can be necessary to use a synchronous version of the CMP code. In order to use the CMP code in this way, please use the following lines of code:

 window.gdprAppliesGlobally = false;
 window.cmp_id = XXX;
 window.cmp_params = '';
 window.cmp_host = '';
 window.cmp_cdn = '';
<link rel="stylesheet" href="" />
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>

Please make sure to replace “XXX” with the ID of your CMP.

Back to top