Statistics is a simple statistics application for use with generic web-apps and Caddy webservers.
Add the log configuration to your Caddy configuration:
:443 {
log {
output net udp/statistics:9000
format json
}
}
Modify the configuration file as necessary.
Add this line to a click listener:
fetch("https://example.com/api/tag/update?tag=TagID").then();
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.