diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 968970b5f1008cadfdda184748c2d44e7d46bdb8..9411810a5cc8b8bdc0d3af714c1e2cc9a686a2ff 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -8,6 +8,7 @@ * [Introduction](for-developers/get-started/Introduction.md) * [Setup development environment](for-developers/get-started/Setup-development-environment.md) * [Configuration](for-developers/configuration/README.md) + * [Frontend](for-developers/configuration/frontend.md) * [Gateway](for-developers/configuration/gateway.md) * [Gateway](for-developers/gateway/README.md) * [🔑 Authentication](for-developers/gateway/authentication.md) diff --git a/docs/for-developers/configuration/frontend.md b/docs/for-developers/configuration/frontend.md new file mode 100644 index 0000000000000000000000000000000000000000..b0ae17076ff5feabe0062a0084a30db0f63d9ef2 --- /dev/null +++ b/docs/for-developers/configuration/frontend.md @@ -0,0 +1,21 @@ +--- +description: >- + This page description all the possible configuration that can be made in the + Gateway. +--- + +# Frontend + +### :toolbox: Options + +#### Matomo + +Matomo is an open source alternative to Google Analytics. + +| name | type | default | description | +| ---------------- | ------------------- | --------- | --------------------------------------------------------------------------------------------------- | +| MATOMO\_ENABLED | boolean | false | Enable or disable Matomo | +| MATOMO\_URL | string \| undefined | undefined | Base url for matomo scripts and data reporting. This parameter is `required` if Matomo is `enabled` | +| MATOMO\_SITE\_ID | string \| undefined | undefined | Matomo Website ID. This parameter is required if `Matomo` is `enabled`. | + +#### diff --git a/docs/for-developers/configuration/gateway.md b/docs/for-developers/configuration/gateway.md index 032c822294962594fa5fc5b1820899be9b93e740..96b602a8c61ae9045af5aa0f378021dfb59ee687 100644 --- a/docs/for-developers/configuration/gateway.md +++ b/docs/for-developers/configuration/gateway.md @@ -43,16 +43,6 @@ description: >- | DB\_PASSWORD | string | pass123 | Password | | DB\_NAME | string | postgres | Name of the database's instance | -#### Matomo - -Matomo is an open source alternative to Google Analytics. The Gateway provide this configuration in order to be used by any frontend. The real implementation is left to the frontend. - -| name | type | default | description | -| ---------------- | ------------------- | --------- | --------------------------------------------------------------------------------------------------- | -| MATOMO\_ENABLED | boolean | false | Enable or disable Matomo | -| MATOMO\_URL | string \| undefined | undefined | Base url for matomo scripts and data reporting. This parameter is `required` if Matomo is `enabled` | -| MATOMO\_SITE\_ID | string \| undefined | undefined | Matomo Website ID. This parameter is required if `Matomo` is `enabled`. | - #### Cache The Gateway offers the possibility to cache some of the most used queries (domains and algorithms queries). This cache use In-Memory data store.