.. include:: ../Includes.txt .. _usage: ===== Usage ===== The foundation of the Usercentrics for TYPO3 Integration is the TYPO3's `Asset Collector`_. This extensions offers multiple entry points to integrate external scripts and inline scripts guarded by Usercentrics. .. important:: Each include requires an identifier which must match the data processing service name as configured in Usercentrics. TypoScript ========== In TypoScript, all scripts are configured within the :typoscript:`plugin.tx_usercentrics` namespace, which is divided into two sections. External script files are configured within :typoscript:`plugin.tx_usercentrics.jsFiles`, whereas inline scripts are configured in :typoscript:`plugin.tx_usercentrics.jsInline`. The following arguments are accepted: * :typoscript:`dataServiceProcessor` (string) **mandatory** - the data processing service name as configured in Usercentrics * :typoscript:`file` (string) **mandatory for external files** - the path to the script file * :typoscript:`value` (string) **mandatory for inline scripts** - the JavaScript being rendered inline * :typoscript:`attributes` (array) - a key / value dictionary with attributes to be rendered in the :html:`