N
N
Nikolay2017-05-17 14:22:16
CMS
Nikolay, 2017-05-17 14:22:16

Drupal how to find Yandex metrics?

Greetings! Comrades who can help. I can not find the code with Yandex metrics in the admin panel and via ftp. More precisely, where it is located on the page, I found it, but I can’t find the code for replacement. I tried looking for page.tpl.php, no, more precisely, it was already generated from the admin panel. In structure->blocks too did not find. Site on Drupal, site address flexgym55.ru. Where else can you try looking?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mletov, 2017-05-17
@mletov

1) Download the site to local, start searching through all the files for a piece of code from the metric "w.yaCounter38633155 = new Ya.Metrika". For example, through Total Commander or Notpad++
2) If it is still generated from the database, then Drupal has a separate module for this. Look in the list of installed modules for a thread about Ya.Metrica
3) Look at what is displayed in page.tpl.php or html.tpl.php in the place where the metric should be displayed. Surely there will be php code to call a module or block.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question