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 3 Current »

Please open the web page where our CMP is embedded in your browser and open the console in the developer tools. Now run the following code:

var _lsLog = [];
var _lsTotal=0,_xLen,_x;for(_x in localStorage){ if(!localStorage.hasOwnProperty(_x)){continue;} _xLen= ((localStorage[_x].length + _x.length)* 2);_lsTotal+=_xLen; _lsLog.push(_x.substr(0,50)+" = "+ (_xLen/1024).toFixed(2)+" KB")};console.log("Total = " + (_lsTotal / 1024).toFixed(2) + " KB");

The result shows how much space the CMP occupies in LocalStorage on behalf of your website.


Do you need further help?

How can I get help with technical questions?

  • No labels