...
Prerequisites
Matomo can either be self- hosted or as a cloud instanceby yourself or instanced in the cloud. If you choose to run Matomo on your own infrastructure, you must set it up first and make the instance publicly available.
...
The Matomo integration is purely set up in the frontend. Therefore, the integrated is configured in the .env file of the frontend.
Open the file
/app/config/application.yml
Set the URL and the site
...
ID for your matomo instance:
Code Block application: matomoUrl: https://matomo.customer.xyz matomoSiteId: 1
If it is a cloud-hosted instance, it's usually: https://your-matomo-instance.matomo.cloud
The site
...
ID is usually “1” if this is your first matomo-tracked site.
Restart Portrait App
Test Integration
It is important to test your integration with several clients and devices. In our test scenarios we detected issues with activated Ad-Blocker plugins in Google Chrome.
...