Not install

composer require 'drupal/yandex_metrics:3.x-dev@dev'

Your requirements could not be resolved to an installable set of packages.

Would make it simple to enter the code from the metrics page and output to the header, without any additional nonsense.

Comments

michenus created an issue.

Konstantin Komelin’s picture

"Without any additional nonsense", you could use a static-site generator instead of Drupal and/or Google Analytics instead of Yandex.Metrics ;)