As a curator
I want to capture and store the usage metrics of gigadb-website
So that I can analyse how our users use the web site
Acceptance criteria
Given a user is visiting gigadb.org
When they navigate the website
Then their journey is captured and recorded by an analytics tool
Given user journeys on gigadb.org have been captured and stored
When I log in to the analytics tool
Then I can see the usage data of user journeys
Given usage metrics for gigadb.org is currently stored in Google Analytics
When the new analytics tool has been installed and setup
Then the historical usage metrics is stored in the new tool
Additional Info
related to #942 and Epic #137
Google analytics is not capturing metrics since July 2023.
The data currently stored in Google Analytics will be raised by July 2024.
Implementation details:
Use Matamo.
[ ] Create Ansible playbook analytics_playbook.yml to install Docker and rclone on the monitoring server
User story
Acceptance criteria
Additional Info
related to #942 and Epic #137
Google analytics is not capturing metrics since July 2023. The data currently stored in Google Analytics will be raised by July 2024.
Implementation details:
Use Matamo.
[ ] Create Ansible playbook
analytics_playbook.yml
to install Docker and rclone on the monitoring server[ ] Use official Docker compose from Matomo: https://github.com/matomo-org/docker/blob/master/.examples/nginx/docker-compose.yml
[ ] Add DNS A record so
analytics.gigadb.host
points to this deployment's EIPs[ ] Create a system user for Matomo
[ ] Ensure AWS credentials for an appropriate role exists on the server
[ ] Setup automation of backup to S3: https://matomo.org/faq/how-to/how-do-i-backup-and-restore-the-matomo-data/
[ ] Setup TLS termination for the web server: https://doc.traefik.io/traefik/
[ ] Replace the analytics Javascript code in gigadb-website: https://developer.matomo.org/guides/tracking-javascript-guide
[ ] Perform import of Google Analytics data: https://matomo.org/faq/general/set-up-google-analytics-import/
Product Backlog Item Ready Checklist
Product Backlog Item Done Checklist