Web Analytics Integration
Cadenza can be integrated with web analytics tools such as Matomo and rybbit. To enable tracking, you need to insert a JavaScript tracking code snippet into the following files:
-
appIcon_de.html -
appIcon_en.html
These files are located in the themes/default/templates directory.
Make sure that the environment variable CADENZA_THEME_PATH is set to the correct path.
Example: Matomo Integration
The easiest way to obtain the tracking code is through the Matomo user interface. Once generated, follow these steps:
-
Copy the tracking code provided by Matomo.
-
Paste it into both
appIcon_de.htmlandappIcon_en.htmlat the appropriate location.
The default tracking code may require customization to suit your needs. Common adjustments include:
-
Excluding irrelevant URL parameters
-
Modifying cookie settings
-
Enabling or disabling specific tracking features
Be sure to review and tailor the script to align with your privacy policies and analytics goals.