From 2201d8176ddbf9ff15c30c88dad04f6833122909 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Wed, 1 Jan 2020 14:55:29 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B0=20ya?= =?UTF-8?q?ndex-=D0=BC=D0=B5=D1=82=D1=80=D0=B8=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/App.vue | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/client/components/App.vue b/client/components/App.vue index 514aaaf6..edce977b 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -215,22 +215,6 @@ class App extends Vue { window.history.replaceState({}, '', '/'); this.$router.replace({ path: '/reader', query: q }); } - - //yandex-метрика для omnireader - if (this.config.branch == 'production' && this.mode == 'omnireader' && !this.yaMetricsDone) { - (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();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");// eslint-disable-line no-unexpected-multiline - - ym(52347334, "init", {// eslint-disable-line no-undef - id:52347334, - clickmap:true, - trackLinks:true, - accurateTrackBounce:true - }); - - this.yaMetricsDone = true; - } } } //-----------------------------------------------------------------------------