mongulu-cm / lobembe

Tools used by the collective for self-management
https://lobembe.mongulu.cm
GNU General Public License v3.0
2 stars 0 forks source link

Résoudre le problème matomo #61

Closed billmetangmo closed 1 year ago

billmetangmo commented 1 year ago

En le changeant peut-tre pour https://github.com/[intever/plausible-https://www.goatcounter.com/hosting](https://github.com/intever/plausible-hosting) ou

billmetangmo commented 1 year ago

For tchoung-te the error is: [Sat Feb 04 17:52:51.671121 2023] [php:notice] [pid 54] [client 172.17.0.1:43942] [matomo.mongulu.cm] Error in Matomo (tracker): An unexpected website was found in the request: website id was set to '13' ., referer: https://tchoung-te.mongulu.cm/ La cause semble être dû au fait que gogocarto fait déjà des analytics avec matomo dessus et leur ID est 13

billmetangmo commented 1 year ago

To debug , I add this to config.php:

[Tracker]
debug = 1

[log]
; Possible values are "screen" (default value), "file", "database" (logs to tables logger_*),
; "errorlog" (logs using the error_log() php function) and "syslog" (logs to the syslog service)
log_writers[] = file
; Possible values are ERROR, WARN, INFO, DEBUG
log_level = WARN
; if configured to log to file, log entries will be written to this file
logger_file_path = tmp/logs/matomo.log
; if configured to log to syslog, this is used as the identifier
logger_syslog_ident = matomo

Found here & there

I did not see anything because I was in FIrefox with DNT(Do Not TRack) supported by default by Matomo but this can be change

billmetangmo commented 1 year ago

We keep matomo instead of plausible because it's much advanced and already have experience with it