Add analytics

pull/201/head
Cagatay Civici 2020-02-16 13:01:19 +03:00
parent 58bc028971
commit 1ebd60b699
2 changed files with 9 additions and 0 deletions

View File

@ -20,6 +20,7 @@
"vue": "^2.6.10",
"vue-router": "^3.0.1",
"vue-template-compiler": "^2.5.21",
"vue-gtag": "^1.6.1",
"@babel/cli": "^7.4.4",
"@vue/cli-plugin-babel": "^3.2.0",
"@vue/cli-plugin-eslint": "^3.2.0",

View File

@ -1,5 +1,6 @@
import Vue from 'vue';
import App from './App.vue';
import VueGtag from "vue-gtag";
import router from './router';
import AutoComplete from './components/autocomplete/AutoComplete';
import Accordion from './components/accordion/Accordion';
@ -86,6 +87,13 @@ Vue.use(ToastService);
Vue.directive('tooltip', Tooltip);
Vue.use(VueGtag, {
config: {
id: 'UA-93461466-1',
disableScriptLoad: true
}
}, router);
Vue.config.productionTip = false;
Vue.component('Accordion', Accordion);