Tracking sub/alias -domain traffic

I have a customer on my server who provides a hosted service. His users have their own domain pointing at his central website, which then shows the correct website. This way he can maintain only one installation of his program.
Now he'll like to track traffic for each of these users of his, but right now all traffic is summed together into the central website.
Can i help him?