mediatis/one-trust-utility

TYPO3 frontend and backend utilities around OneTrust

Installs: 3 079

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 1

Type:typo3-cms-extension

3.0.0 2024-10-25 12:53 UTC

This package is auto-updated.

Last update: 2024-11-25 13:02:55 UTC


README

OneTrust Utility provides frontend and backend utilities for the consent management tool OneTrust. It is not a OneTrust integration. It just provides features if OneTrust is already in use in the current system.

Frontend Services

If enabled, a global JavaScript object is provided, giving access to direct consent checks: window.OneTrustUtility.checkConsent(groupId, default=false).

This fronent service also provides global events that can be listened to on the window object.

  • one-trust-ready
  • one-trust-consent-update

Backend Services

In the backend there is a new service ConsentManager which can be used to check for a specific consent: ConsentManager::checkConsent(groupId, default=false).

In TypoScript there is a new object available that can be used in conditions (as part of the expression language).

[oneTrust.checkConsent(groupId, default=false)]
    ...
[global]