I’ve developed a RoR application, and want to integrate Google Analytics so I can track usage etc… what is options I have, and which is the best choice? I’m not looking for anything too complicated, the easier it is to integrate the better. I’m only really after fairly basic functions.
Bernard
The simplest way would be for you to include the google analytics code in your application’s layout file(s)’s footer.
You could find a plugin to do the same, but it’s simple enough to not warrant a plugin in my opinion.
Something like the following in your layout files.
In app/views/shared/_google_analytics.html.erb