mediatis/one-trust-utility

TYPO3 frontend and backend utilities around OneTrust

Installs: 1 907

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 1

Type:typo3-cms-extension

2.0.0 2022-10-21 11:08 UTC

This package is auto-updated.

Last update: 2024-02-21 13:59:29 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]