RubyGems.org

[Rails] Easily enable Yandex.Metrika support in your Rails application. <br/><br/> By default this gem will output Yandex.Metrika code for every page automagically, if it's configured correctly. This is done by adding: <br/> Yandex::Metrika.counter_id = '123456' <br/> to your `config/environment.rb`, inserting your own COUNTER_ID. This can be discovered by looking at the value of "new Ya.Metrika(123456)" in the Javascript code.

installgem install yandex_metrika
Authors

Andrey 'Zed' Zaikin

2,572 total downloads 637 for this version
Owners

89f01563b72005c7cc016f49222acff3

Gemfile
gem "yandex_metrika", "~> 0.0.2"
Versions
  1. 0.0.2 May 21, 2011
  2. 0.0.1 October 11, 2009
  3. 0.0.0 October 11, 2009