Answer the question
In order to leave comments, you need to log in
How to insert Yandex metric in Laravel?
Tell me where to install the Ya.Metrika code in Laravel?
Answer the question
In order to leave comments, you need to log in
Maybe in a view?
Why write something in Laravel if you don't understand where to insert banal javascript code?
your_domain/resources/views/welcome.blade.php
Metrics, Analytics and all goals are inserted here.
For good, it's better in resources/views/layouts/app.blade.php (The main view template (in this case app) so that the metric code gets into each page)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question