diff --git a/infrastructure/inventories/dev b/infrastructure/inventories/dev index e5af132fe..b44b5feef 100644 --- a/infrastructure/inventories/dev +++ b/infrastructure/inventories/dev @@ -24,6 +24,8 @@ process_endpoint='https://stylo-export.ecrituresnumeriques.ca' human_id_register_endpoint='https://auth-test.huma-num.fr/register?service=https://stylo-dev.huma-num.fr/authorization-code/callback' export_canonical_base_url='https://stylo-dev.huma-num.fr' zotero_auth_callback_url='http://stylo-dev.huma-num.fr/authorization-code/zotero/callback' +matomo_url='https://analyseweb.huma-num.fr/' +matomo_site_id=286 [stylo] node01 ansible_user=stylo ansible_host=cchum-kvm-stylo-dev.in2p3.fr diff --git a/infrastructure/inventories/prod b/infrastructure/inventories/prod index 33cb8cbed..f229977db 100644 --- a/infrastructure/inventories/prod +++ b/infrastructure/inventories/prod @@ -26,6 +26,9 @@ human_id_register_endpoint='https://humanid.huma-num.fr/register?service=https:/ # Désactive l'URL canonical vers stylo.huma-num.fr car Hypthesis ne sait pas faire le lien export_canonical_base_url='' zotero_auth_callback_url='http://stylo.huma-num.fr/authorization-code/zotero/callback' +# Configuration des analytics +matomo_url='https://analyseweb.huma-num.fr/' +matomo_site_id=286 [stylo] node01 ansible_user=stylo ansible_host=cchum-kvm-stylo.in2p3.fr diff --git a/infrastructure/templates/stylo.env b/infrastructure/templates/stylo.env index 54fc33e4f..ee78e63ea 100644 --- a/infrastructure/templates/stylo.env +++ b/infrastructure/templates/stylo.env @@ -18,8 +18,9 @@ SNOWPACK_PUBLIC_GRAPHQL_ENDPOINT={{graphql_endpoint}} SNOWPACK_PUBLIC_EXPORT_ENDPOINT={{export_endpoint}} SNOWPACK_PUBLIC_PROCESS_ENDPOINT={{process_endpoint}} SNOWPACK_PUBLIC_HUMAN_ID_REGISTER_ENDPOINT={{human_id_register_endpoint}} +SNOWPACK_MATOMO_URL={{matomo_url}} +SNOWPACK_MATOMO_SITE_ID={{matomo_site_id}} EXPORT_CANONICAL_BASE_URL={{export_canonical_base_url}} ZOTERO_AUTH_CLIENT_KEY={{zotero_auth_client_key}} ZOTERO_AUTH_CLIENT_SECRET={{zotero_auth_client_secret}} ZOTERO_AUTH_CALLBACK_URL={{zotero_auth_callback_url}} -