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

Integrate with Matomo #43

Closed
holtgrewe opened this issue Sep 6, 2023 · 1 comment · Fixed by #180
Closed

Integrate with Matomo #43

holtgrewe opened this issue Sep 6, 2023 · 1 comment · Fixed by #180
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@holtgrewe
Copy link
Member

holtgrewe commented Sep 6, 2023

Is your feature request related to a problem? Please describe.
We need Matomo usage tracking.

Describe the solution you'd like

  • Enable by defining MATOMO_HOST and MATOMO_SITE_ID configuration variables.
  • Expose this to the frontend through a "frontend-settings" endpoint in the API.
  • Create new api/ for this and stores/ file.
  • Read settings in frontend and interpret.
  • Configuration settings differing from defaults
    • requireConsent: true
    • disableCookies: true
  • We should first try to disable cookies.

Describe alternatives you've considered
N/A

Additional context
Ideally, we can do this from vite directly. In the worst case, entrypoint could modify the index.html page from the environment that is used when running the server. It is important that this is not baked into the Docker image but part of the environment when running.

@holtgrewe holtgrewe added the enhancement New feature or request label Sep 6, 2023
@holtgrewe holtgrewe changed the title Allow user to specify HTML to be included in index.html Integrate with Matomo Oct 2, 2023
@gromdimon gromdimon added this to the 0.2.0 milestone Oct 2, 2023
@holtgrewe holtgrewe assigned gromdimon and unassigned holtgrewe Oct 29, 2023
@holtgrewe
Copy link
Member Author

@gromdimon first assigning to you to have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants