Navigate to the 'Administration' tab in the application.
Enter the details of your Matomo instance.
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').
Steps to reproduce:
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').