what's the best way to track traffic on my sites?

I'd like to track hits, how long they stayed, pages visited, and summaries. How can I do that the best way?