Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you want to have insights of how your app is used and what the users are viewing, searching or how long the they stay on your site, you can connect Matomo as analytics tool.

...

Matomo can either be self-hosted or as a cloud instance. 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.

  1. Open the file /app/config/application.yml

  2. 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, its it's usually: https://your-matomo-instance.matomo.cloud
    The site id is usually “1” if this is your first matomo-tracked site.

  3. Restart Portrait App

...

A word of warning about the sensitive topic of the general data protection regulation:

If Ensuring that your Portrait App installation is compliant to with the rules of the european European GDPR is up to you, you as a the provider. Make sure that you use the correct setup in Matomo. Matomo has an extensive documentation, which can be found here: https://matomo.org/gdpr-analytics/