Compare commits

...
3 Commits
Author SHA1 Message Date
web_103.2 928f10c817 Merge remote-tracking branch 'origin/master' into task-17075__opdate-blog 2026-10-23 17:12:37 +03:00
web_55 32834090a1 Task-17291 | hotfix: Обновление кода Я.Метрики (#3)
Заменил метрику

---------

Reviewed-on: #3
Co-authored-by: WEB № 55 - Кирилл | Верстка <web_55@good-production.xyz>
2026-10-23 10:51:40 +03:00
web_55 bea6a20a24 Task 17291 seo (#2)
1) регистрация яндекс + google
2) метрика яндекс
3) изменил счётчик яндекса (100213356) и (113689913)

---------

Reviewed-on: #2
Co-authored-by: WEB № 55 - Кирилл | Верстка <web_55@good-production.xyz>
2026-10-21 16:07:00 +03:00
2 changed files with 9 additions and 10 deletions

No files matched your search

+8 -10
View File
@@ -339,18 +339,16 @@ function theme_yandex_metrika() {
?>
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (m, e, t, r, i, k, a) {
m = mfunction(){ (m.a = m.a[]).push(arguments) };
m.l = 1 * new Date();
for (var j = 0; j < document.scripts.length; j++) { if (document.scripts[j].src === r) { return; } }
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
})(window, document, 'script', 'https://mc.yandex.ru/metrika/tag.js?id=113689913', 'ym');
(function(m,e,t,r,i,k,a){
m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)
})(window, document,'script','https://mc.yandex.ru/metrika/tag.js?id=113689913', 'ym');
ym(113689913, 'init', { ssr: true, webvisor: true, clickmap: true, ecommerce: "dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce: true, trackLinks: true });
ym(113689913, 'init', {ssr:true, webvisor:true, clickmap:true, ecommerce:"dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true});
</script>
<noscript>
<div><img src="https://mc.yandex.ru/watch/113689913" style="position:absolute; left:-9999px;" alt="" /></div>
</noscript>
<noscript><div><img src="https://mc.yandex.ru/watch/113689913" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<?php }
add_action('wp_head', 'theme_yandex_metrika', 1);
@@ -16,6 +16,7 @@ Template Name: Курьерам
<?php get_template_part('template-parts/delivery-orders'); ?>
<?php get_template_part('template-parts/payments'); ?>
<?php get_template_part('template-parts/scheme'); ?>
<?php get_template_part('template-parts/payments'); ?>
<?php get_template_part('template-parts/requirements'); ?>
<?php get_template_part('template-parts/formats'); ?>
<?php get_template_part('template-parts/reviews'); ?>