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

Ajoute le suivi des statistiques via Matomo #470

Merged
merged 6 commits into from
Dec 1, 2021
Merged

Conversation

thom4parisot
Copy link
Member

@thom4parisot thom4parisot commented Nov 30, 2021

  • Ajout du script et suivi des changements d'URL
  • Recueil du consentement pour la mesure d'audience cf. Recueil du consentement pour la mesure d'audience #472
  • Collecte des statistiques uniquement en production (Matomo est configuré pour ne recevoir des appels que depuis stylo.huma-num.fr)
  • La configuration du suivi est activable via deux variables d'environnement (SNOWPACK_MATOMO_URL et SNOWPACK_MATOMO_ID)

Inspiration de https://developer.matomo.org/guides/spa-tracking

fixes #278
refs #268

@netlify
Copy link

netlify bot commented Nov 30, 2021

✔️ Deploy Preview for stylo-dev ready!

🔨 Explore the source changes: f90ce35

🔍 Inspect the deploy log: https://app.netlify.com/sites/stylo-dev/deploys/61a7988dffc8120007c5f3d8

😎 Browse the preview: https://deploy-preview-470--stylo-dev.netlify.app/

@ggrossetie
Copy link
Collaborator

@oncletom j'ai rebase sur master et force push

@thom4parisot thom4parisot force-pushed the feature/matomo branch 2 times, most recently from e526a1f to 1403af1 Compare December 1, 2021 15:26
@thom4parisot thom4parisot merged commit dbf81e0 into master Dec 1, 2021
@thom4parisot thom4parisot deleted the feature/matomo branch December 1, 2021 16:17
thom4parisot pushed a commit that referenced this pull request Dec 8, 2021
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 this pull request may close these issues.

Mise en place de Matomo afin d'améliorer l'experience utilisateur
2 participants