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 4 Next »

There are two possibilities:

  1. Use 127.0.0.1 as the address instead of localhost.

  2. Or adapt our script as follows and remember to replace XXXXXXXX with your Settings-ID:

    <script type="text/javascript">
    window["usercentrics"] = {paths: {
    "bundle": "https://app.usercentrics.eu/latest/bundle.js",
    "iabIframe": "https://usercentrics.mgr.consensu.org/sit/consensuIframeIndex.html",
    "crossDomainConsentSharingIFrame": "https://app.usercentrics.eu/latest/cdcs-iframe-index.html"
    }, settingsId : 'XXXXXXXX'}
    </script>

Both variations are very similar. The advantage of the second option is that you can use different versions of:

"bundle": "https://app.usercentrics.eu/latest/bundle.js",
"iabIframe": "https://usercentrics.mgr.consensu.org/sit/consensuIframeIndex.html",
"crossDomainConsentSharingIFrame": "https://app.usercentrics.eu/latest/cdcs-iframe-index.html"

by loading the URL at the positions…/sit/…, …/latest/…. . This allows you to test different versions of the technology.

The standard binding, on the other hand, harmonizes the versions that are loaded, since you can only adjust the link https://app.usercentrics.eu/latest/main.js" id="XXXXXXX" there.

Do you need further help?

How can I get help with technical questions?

  • No labels