Someone might find this one interesting/helpful…
"I use CSS to trigger a url analytics endpoint on body:hover, determine useful information from the IP address and user-agent, then hash the IP address with the date to create a unique “read” of a page."
🚀 How Bear does analytics with CSS - ᕕ( ᐛ )ᕗ Herman’s blog
https://herman.bearblog.dev/how-bear-does-analytics-with-css/