(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", "ym"); ym(97467816, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true }); let met = document.createElement('noscript'); let mdiv = document.createElement('div'); let mimg = document.createElement('img'); mimg.src = "https://mc.yandex.ru/watch/97467816" mimg.style = "position:absolute; left:-9999px;" mdiv.appendChild(mimg); met.appendChild(mdiv); document.body.appendChild(met) ym(97467816, 'getClientID', function(clientID) { let yaclid = document.createElement('input'); yaclid.name = 'yaclid'; yaclid.type = 'hidden'; yaclid.value = clientID; let yaformList = document.getElementsByTagName('form'); for (let i = 0; i < yaformList.length; i++) { yaformList[i].appendChild(yaclid.cloneNode(true)); } }); if(typeof ym !== 'undefined') { if(document.getElementsByClassName('order_tech_button').length){ var items_new_1 = document.getElementsByClassName('order_tech_button'); for (var i = 0; i < items_new_1.length; i++) { items_new_1[i].addEventListener("click", function() { ym(97467816, 'reachGoal', 'order_tech_button'); console.log('order_tech_button'); }); } } }