Forum: Ruby on Rails Does anybody have an example of using Google Analytics to track unique pages?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E759aaf28892fcb753f96dd5be2c776e?d=identicon&s=25 InventoryTrackers (Guest)
on 2009-04-26 23:35
(Received via mailing list)
I posted two days ago asking how this group tracks their traffic and
received the reply "Google Analytics?"

I Googled on "Rails Analytics" and have gone about 20 pages back
without finding any explanations of how one installs and implements
this into their code.

I own most Rails books and find no mention of this in their indexes.

Could someone share what the code looks like when they are looking to
understand how often a SHOW action is performed on a particular
record?

Or just how this is installed in a generic Rails application.

Thank you,
David
Bee69cfed999cd13e3bff73d472a39ee?d=identicon&s=25 Hassan Schroeder (Guest)
on 2009-04-27 00:12
(Received via mailing list)
On Sun, Apr 26, 2009 at 2:34 PM, InventoryTrackers
<inventorytrackers@gmail.com> wrote:
>
> I posted two days ago asking how this group tracks their traffic and
> received the reply "Google Analytics?"
>
> I Googled on "Rails Analytics" and have gone about 20 pages back
> without finding any explanations of how one installs and implements
> this into their code.

?! Uh, yeah. It's actually "Google Analytics": the name of the product
(used to be called Urchin 'til Google bought the company).

And it just involves sticking a snippet of JavaScript in your pages. It
may or may not be what you're looking for, but it's free for the basic
functionality, so...

HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
This topic is locked and can not be replied to.