Using Google Analytics
Google’s free analytics software is a great way to keep track of how many people are using your web site, and it’s very easy to configure. You just add the “web property ID” that Google give you when you sign up to the config file.
config/config.yml file in a text editor and search for
google_analytics_code. Uncomment it, and set it to your site’s web property ID. The web property ID usually starts with “UA”, and will look something like this:
= haml :analytics, :layout => false