Versions Compared

Key

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

...

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.

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

  2. Set the URL and the site

...

  1. 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

...

  1. ID is usually “1” if this is your first matomo-tracked site.

  2. 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.

...