RubyGems.org

By default this gem will output Yandex.Metrika code for every page automagically, if it's configured correctly. This is done by adding: Yandex::Metrika.counter_id = '123456' 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 -v 0.0.0
Authors

Andrey "Zed" Zaikin

1,213 total downloads 529 for this version
Owners

89f01563b72005c7cc016f49222acff3

Bundler
gem "yandex_metrika", "~> 0.0.0"
Versions
  1. 0.0.0 October 11, 2009