xwikisas / application-analytics

GNU Lesser General Public License v2.1
0 stars 1 forks source link

The Config Check isn't working. #40

Closed Farcasut closed 1 year ago

Farcasut commented 1 year ago

Steps to reproduce:

  1. Navigate to the 'Administration' tab in the application.
  2. Enter the details of your Matomo instance.
  3. Click 'Save'.

Expected results: The user should receive a notification indicating whether the configuration is correct or not.

Actual results: The notification consistently states that the user's configuration is incorrect.

Investigation: The Config Check isn't working because the URL that I use for the Matomo segment is incorrect. The consequence of this is that the user will always receive the message: "Failed to connect to Matomo. Please check your configuration values." To fix this issue, I need to change pageUrl': window.location.href to $('#checkMatomoConnection').attr('src').