Consent Accepted Check
The isConsentAccepted()
method is calling the Account Data service to check if the consent has been accepted.
Consent Management is owned by Team Tactics. For more information, please refer to the Consent Management confluence page.
Usage
It is essential to keep the user informed about the feature's status. In the event that a feature is not yet available, it should be disabled and a notification explaining the delay should be provided. Our recommendation is to incorporate a tooltip that details how to enable the feature.
To access the (The name of the feature) the Account owner has to accept the SAP Emarsys AI Terms.
You can review the document under Consent Management (the link to the menu is embedded).

Utility Reference
window.e.utils.v2.config.isConsentAccepted({ consentId })
window.e.utils.v2.isConsentAccepted({ consentId: 'consentToCheck' }).then(result => {
if (!result) {
return;
}
return renderFunctionalityBehindConsent();
});
Parameter
Name | Type | Description |
---|---|---|
consentId |
Id of the consent |
Return value
Type | Description |
---|---|
A promise that resolves to the result of the consent check |