sequenceDiagram User-->ECID: isIabContext: true ECID-->>OptIn: register(IabPlugin(__cmp)) ECID-xOptIn: fetchPermissions(callback(permissions)) OptIn-->>IabPlugin: onRegister(optIn) IabPlugin-xCMP: getVendorConsents, getConsentData CMP-->>IabPlugin: consent data IabPlugin->>IabPlugin: Are Vendors approved? IabPlugin->>OptIn: approve(vendor)|deny(vendor) OptIn-->>ECID: permissions ECID-xOptIn: execute("iabPlugin.fetchConsentData") OptIn-->>ECID: doesGdprApply, consentString... ECID->ECID: Doe GDPR Apply? ECID-xDEMDEX: demdex.net/id?gdpr=1&gdpr_consent=...