Hi All, I want to execute JS snippet (Google Analytics tracking code) from a controller action.
Is it possible to do this with ExecJS + therubyracer gem? If so, any code example will be highly appreciated. Is there another way to do such thing? I know this is not the best way to do this, but currently i'm not rendering any html after this action (it redirects automatically out of site) and I know it is possible to post to GA GIF request. Thanks, Roy -- Posted via http://www.ruby-forum.com/. -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.