Google Analytics...
|
|
What have people’s experience been with integrating Google Analytics into projects built with RoR? I came across this that looks interesting http://www.rubaidh.com/projects/google-analytics-plugin/ |
|
|
I’ve used Google Analytics a few times in the past – simply by plugging the js code into my layout code. Simple and straightforward for the simple needs i had. The only advantage I can see with this plugin is if you need some pretty specialized stuff (i.e. the SSL detection) – but of course your application has different needs than the ones I did back then – so you’re the best judge of if this is something you need. I was just reading about this other service clicky on the err free dynamite blog that sounded pretty interesting. Might want to check it out as an alternative (unless of course adwords integration is more important to you) |
|
|
Quick update: I added google’s code into applications.rhtml in the case of Monkey Tasks since it gets included into every page and google recommend including the tracking code on every page. Note that the code has to be above the </body> block. Google is now tracking the site, which is pretty cool. |