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

Allow overriding the Matomo ID #1

Open
KlausIllmayer opened this issue May 2, 2023 · 2 comments · Fixed by #8
Open

Allow overriding the Matomo ID #1

KlausIllmayer opened this issue May 2, 2023 · 2 comments · Fixed by #8
Assignees

Comments

@KlausIllmayer
Copy link
Contributor

For the deployment on the K8s cluster we like to override the Matomo ID. This will be a an environment variable. The task is to make it easily possible to inject it into the Skosmos environment.

@KlausIllmayer KlausIllmayer self-assigned this May 2, 2023
@KlausIllmayer
Copy link
Contributor Author

The current solution are two plugins (one for vocabs-main:prod and one for vocabs-common:prod) with the matomo javascript and the matomo id inside (unfortunately hard-coded). For this to work I also needed to adapt the gitignore and dockerignore, as these are not allowing plugins in the main code. Activation of the plugins is controlled in the config.ttl

Todos:

  • move the matomo id and url to an environment variable
  • put the plugins into a dedicated git-repository and integrate them into the deployment workflow

@KlausIllmayer
Copy link
Contributor Author

Look at the todos in the last comment

@KlausIllmayer KlausIllmayer reopened this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant