matomo

I don’t like using javascript embedded on all my web pages. Also that didn’t properly log the source ip in the wordpress plugin.

Reference:

How to use Log Analytics tool


https://github.com/matomo-org/matomo-log-analytics/#readme

3 homlish.net
22 mydetv.com, mydelawaretv.com
23 madbuffaloproductions.com
24 joesfigtrees.com

httpd.conf.logging
# we'll turn these on and matomo won't need to do it
HostnameLookups on

ErrorLog "logs/error_log"
LogLevel warn rewrite:trace3
LogLevel warn
# using matomo recommended
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedvhost
#CustomLog "logs/homlish.net" combinedvhost
CustomLog "logs/undefined" combinedvhost

# a0 has 12 cores, we’ll give this 6
# –log-format-name=common_complete is for apache logs
CustomLog “||/usr/bin/python3 /usr3/web/matomo/misc/log-analytics/import_logs.py \
–enable-http-errors \
–enable-http-redirects \
–enable-bots \
–enable-static \
–url=https://matomo.homlish.net \
–accept-invalid-ssl-certificate \
–idsite=1234 \
–recorders=6 \
–recorder-max-payload-size=1 \
–log-format-name=common_complete \
-” combinedvhost

didn’t use:
–debug \
–output=/var/log/httpd/matomo-debug.log \

Server Version: Apache/2.4.39 (Unix) OpenSSL/1.1.1c mod_fcgid/2.3.9 PHP/7.3.7
Matomo version: 3.11.0
MySQL version: 10.3.15-MariaDB-1