Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics Module: Matomo Analytics not tracking #1058

Closed
fmartinezperez opened this issue Jan 11, 2024 · 1 comment
Closed

Analytics Module: Matomo Analytics not tracking #1058

fmartinezperez opened this issue Jan 11, 2024 · 1 comment
Labels
jira kind/bug Something isn't working status/triage

Comments

@fmartinezperez
Copy link

Describe the bug

The plugin analytics-module-matomo was installed following the steps from README.md, but when the application is started is not tracking the information.

I have Matomo application running on docker using port 80.
I tried the Matomo script for tracking and in this case is working properly, and the log in the browser shows the requests to Matomo. But using the plugin is not.

Setup on Backstage:
image

image

Setup on Matomo
image

Logs from browser using script:
image

Expected Behavior

Application should show logs requesting to Matomo or an error if was a connection problem.

What are the steps to reproduce this bug?

  1. Install the plugin on Backstage following the README.md
  2. Matomo instance executing in local with docker.
  3. Execute Backstage.
@fmartinezperez fmartinezperez added kind/bug Something isn't working status/triage labels Jan 11, 2024
@github-actions github-actions bot added the jira label Jan 11, 2024
@fmartinezperez
Copy link
Author

I found the problem.

Exists an error on README.md

# app-config.yaml
app:
  analytics:
    matomo:
      instanceUrl: ${ANALYTICS_MATOMO_INSTANCE_URL}
      siteId: ${ANALYTICS_MATOMO_SITE_ID}

When it should be:

# app-config.yaml
app:
  analytics:
    matomo:
      host: ${ANALYTICS_MATOMO_INSTANCE_URL}
      siteId: ${ANALYTICS_MATOMO_SITE_ID}

I found a pull request pending to be merged solving this error.

Close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira kind/bug Something isn't working status/triage
Projects
None yet
Development

No branches or pull requests

1 participant