Answer the question
In order to leave comments, you need to log in
How to correctly connect Yandex Metrica to a yii2 site?
Hello. Now I include the js-file of the metric manually in each layout. But there are a lot of them and it's not very convenient. Is there a way to connect the metric "in one command" somewhere at the beginning of the application so that it is on all pages of the site?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question