On Wed, 2010-03-24 at 19:46 -0700, Nicholas Wieland
wrote:> Hi guys, I''m trying to make google Analytics track an action that
updates the view via AJAX.
> What I did is:
>
> page.call ''pageTracker._trackPageview'',
''/votes/create'' if Rails.env == ''production''
>
> but for some reason it doesn''t actually work. Someone already
solved the same problem ?
----
yup - I had a thread on this topic earlier this month... My final
solution was posted on March 8th. There was some discussion and you may
or may not like my solution.
See topic titled "[Rails] Google Analytics and partials"
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.