Il y a 389 articles et 19 utilisateurs inscrits (ce bandeau est défini dans MediaWiki:Sitenotice)
« Matomo/Debug » : différence entre les versions
Aller à la navigation
Aller à la recherche
Page créée avec « = Debugging Matomo = == Test réception tracking == <syntaxhighlight lang="bash"> curl -I "http://matomo-recette.ajlsm.com/matomo.php?idsite=1&rec=1" </syntaxhighlight>... » |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
= Debug Matomo = | |||
= | == Tester la réception du tracker == | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
curl -I "http://matomo-recette.ajlsm.com/matomo.php?idsite=1&rec=1" | curl -I "http://matomo-recette.ajlsm.com/matomo.php?idsite=1&rec=1" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Réponse attendue : | |||
<syntaxhighlight> | <syntaxhighlight> | ||
HTTP/1.1 200 OK | HTTP/1.1 200 OK | ||
| Ligne 15 : | Ligne 12 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Vérifier | == Vérifier l'injection du code == | ||
<syntaxhighlight lang="bash"> | |||
curl -s http://ad64.pleade.com/ | grep -i -E "matomo.js|matomo.php|_paq" | |||
</syntaxhighlight> | |||
== Vérifier la résolution DNS == | |||
<syntaxhighlight lang="bash"> | |||
getent hosts matomo-recette.ajlsm.com | |||
</syntaxhighlight> | |||
== Vérifier la config Drupal == | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
drush config:get matomo.settings | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Dernière version du 11 mars 2026 à 08:21
Debug Matomo
[modifier | modifier le wikicode]Tester la réception du tracker
[modifier | modifier le wikicode]curl -I "http://matomo-recette.ajlsm.com/matomo.php?idsite=1&rec=1"
Réponse attendue :
HTTP/1.1 200 OK
Content-Type: image/gifVérifier l'injection du code
[modifier | modifier le wikicode]curl -s http://ad64.pleade.com/ | grep -i -E "matomo.js|matomo.php|_paq"
Vérifier la résolution DNS
[modifier | modifier le wikicode]getent hosts matomo-recette.ajlsm.com
Vérifier la config Drupal
[modifier | modifier le wikicode]drush config:get matomo.settings