Snippet · Shipping & running it
Decide what to measure
Three events you'll actually look at beats thirty you won't.
My tool does <this>. Success for me looks like <what>. Propose the smallest set of events that would tell me whether it's working. For each: the name, when it fires, and the specific question it answers. Then tell me which of them I could get from server logs I already have, so I don't add a tracking script for something I can already see. Nothing that identifies a person unless I say I need it.
If you cannot say what decision an event would change, don't collect it. Unused analytics is a privacy liability with no upside.