or you can use a script installed for tracking.
But google analytics is the best choice.But using google analytics some times slows the site.As millions of sites will request the same file from google's server.But the best choice is always google analytics.