user_id works for logged-in users. But what about someone who has not logged in? And for someone who came three times before logging in, do those three visits get joined up?
This chapter gives honest answers to those questions, and some of the answers are unwelcome.