Installation¶
Target group: Administrators
Note
The extension supports TYPO3 v10 LTS and TYPO3 v11.
Installation via composer¶
Add a dependency
brotkrueml/typo3-matomo-optout
to your project’scomposer.json
file to install the current stable version:composer req brotkrueml/typo3-matomo-optout
Activate the extension in the Extension Manager.
Installation in Extension Manager¶
The extension needs to be installed as any other extension of TYPO3 CMS in the Extension Manager:
- Switch to the module Admin Tools > Extensions.
- Get the extension
- Get it from the Extension Manager: Select the
Get Extensions entry in the upper menu bar, search for the
extension key
matomo_optout
and import the extension from the repository. - Get it from typo3.org: You can always get the current version from
https://extensions.typo3.org/extension/matomo_optout/ by
downloading the
zip
file. Upload the file afterwards in the Extension Manager.
- Get it from the Extension Manager: Select the
Get Extensions entry in the upper menu bar, search for the
extension key
Preparation: Include static TypoScript¶
The extension ships some TypoScript code which needs to be included.
- Switch to the root page of your site.
- Switch to the Template module and select Info/Modify.
- Press the link Edit the whole template record and switch to the tab Includes.
- Select Matomo Opt-Out (matomo_optout) from the available items at the field Include static (from extensions):