-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat: catalogue can use google analytics #4473
Conversation
Add option to choose analytics provider ( siteimprove or googlegoogle-analytics) Analytics key can still be set via NUXT_PUBLIC_ANALYTICS_KEY env var Provider can be set via NUXT_PUBLIC_ANALYTICS_PROVIDER env var
@@ -109,3 +109,10 @@ The label shown on landing CTA element for each of the main sections | |||
|
|||
A Themed favicon is set by placing a [theme].icon file in the public/img folder. At runtime the [theme] is replaced by the value as set in ```NUXT_PUBLIC_EMX2_THEME``` environment setting. If no theme is set, the default molgenis favicon is show. | |||
|
|||
## Analytics | |||
|
|||
Analytics can be enabled by setting the following environment variables: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can I also set this via the user interface?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i thought about that, but has several implication for ssr render speed ( if it could change at any time , is always needs to checked in the db ) , would suggest to keep as it, evaluatie this setup ( i suspect not not need to change this often ) , also having these kinds of things injected from the environment has the benefit of being able to move the project/db around while having different configs for acc, prod, ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets try it :-)
What are the main changes you did:
See: https://github.com/orgs/molgenis/projects/15/views/1?sliceBy%5Bvalue%5D=Dev&pane=issue&itemId=79942482&issue=molgenis%7CGCC%7C648
how to test:
todo: