Answer the question
In order to leave comments, you need to log in
How to implement YandexMetrika and GoogleAnalytica on rails 4 with turbolinks?
There was a task to add analytics and metrics to the ruby application.
How to do it right?
Okay, for the Google stray, there is still the google-analytic-rails gem, but there have been no commits in the yandex-metic-rails repository since 2013.
Will everything work if I just add the scripts to the end of my application.html?
Answer the question
In order to leave comments, you need to log in
Why don't you like adding javascript, gem is the same javascript just out of the box. In addition, using the gem if you are not supposed to work with the Yandex API is not very advisable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question