Configuration¶
Target group: Developers, Integrators
Table of Contents
Extension configuration¶
To configure the extension, go to Admin Tools > Settings > Extension Configuration and click on the Configure extensions button. Open the matomo_widgets configuration:
- Base URL of the Matomo installation
Enter the URL of your Matomo installation.
Important
Please ensure TLS (https) is used for connecting to the Matomo installation as the authentication token is transferred in plain text!
- Site ID
- Enter the site id for the website.
- Authentication token
Enter the authentication token (token_auth).
To retrieve a authentication token navigate in your Matomo installation to the administration area and click on Personal > Settings. There you’ll find a section API Authentication Token.
Important
It is recommended to create an own user in Matomo which has only read access to this site.
Cache configuration¶
The extension stores the data retrieved from the Matomo installation in a cache
for better performance. You can adjust the cache configuration, have a look
into ext_localconf.php
for the current configuration.
Permission of widgets¶
You have to grant access for editors to use some or all of the Matomo widgets. You can find more information in the Dashboard manual.