Info
Content

Working with InfOnline/IVW

For scripts of InfOnline/IVW that are not async-compatible the existing scripts need to be "redesigned". Example:

<script type="text/javascript" src="https://script.ioam.de/iam.js" data-cmp-ab="1"></script>
<script>
  function startIOM(e,o)
  {
    var x = __cmp('getCMPData');
    if('vendorConsents' in x && '730' in x.vendorConsents && x.vendorConsents['730'])
    {
            var iam_data = {
            "st":"connect",
            "cp":"connect_homepage_idx",
            "sc": "yes",
            "co":"" // comment
        }
        iom.c(iam_data,1);
    }
  }
  __cmp("addEventListener",["consent",startIOM,false],null);
</script>

 

Back to top