Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMurtz Abidi
9,947 PointsGoogle analytics on Heroku Rails app
I have a simple rails app on heroku and wanted to know the best way to add google analytics, I've done some searching and seems some people have it in a separate partial e.g. _analytics.html.haml
Wanted to know if there's a better way or is this generally the best way to do it?