| Server IP : 185.252.147.100 / Your IP : 216.73.217.33 Web Server : nginx/1.27.3 System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 User : mitr ( 1000) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/html/auto.mitrofanov.ru/public/wp-content/plugins/yandex-metrica/templates/ |
Upload File : |
<?php defined( 'ABSPATH' ) or die(); ?>
<!-- Yandex.Metrika counter by Yandex Metrica Plugin -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter<?php echo $this->options["counter_id"];?> = new Ya.Metrika({id:<?php echo $this->options["counter_id"];?>,
webvisor:<?php echo $this->options["webvisor"]?"true":"false";?>,
clickmap:<?php echo $this->options["clickmap"]?"true":"false";?>,
trackLinks:<?php echo $this->options["tracklinks"]?"true":"false";?>,
accurateTrackBounce:<?php echo $this->options["accurate_track"]?"true":"false";?>,
trackHash:<?php echo $this->options["track_hash"]?"true":"false";?>,
<?php if($this->options['dispatch_ecommerce']):?>
ecommerce: "<?php echo apply_filters( 'yandex_metrica_ecommerce_container_name', $this->options['ecommerce_container_name'] )?>"
<?php endif;?>
});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = "<?php echo( $this->options["tracker-address"] ? $this->options["tracker-address"] : "https://mc.yandex.ru/metrika/watch.js" ); ?>";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript>
<div><img src="<?php printf( "%s%s", apply_filters( 'yandex_metrica_noscript_img_base', "https://mc.yandex.ru/watch/" ), $this->options["counter_id"] ); ?>" style="position:absolute; left:-9999px;" alt="" /></div>
</noscript>
<!-- /Yandex.Metrika counter -->