TYPO3 frontend and backend utilities around OneTrust

Installs: 2 402

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 1


2.0.0 2022-10-21 11:08 UTC

This package is auto-updated.

Last update: 2024-06-21 14:51:19 UTC


OneTrust Utility

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)]