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