From 38112e47881f2145a8823a010903883a278a8ecb Mon Sep 17 00:00:00 2001 From: Kristian Polso Date: Wed, 6 Jun 2018 10:44:28 +0300 Subject: [PATCH] Revert to without vue-multianalytics --- content/.vuepress/config.js | 3 ++- content/.vuepress/enhanceApp.js | 26 -------------------------- package.json | 1 - yarn.lock | 4 ---- 4 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 content/.vuepress/enhanceApp.js diff --git a/content/.vuepress/config.js b/content/.vuepress/config.js index 987c955..8d9ec46 100644 --- a/content/.vuepress/config.js +++ b/content/.vuepress/config.js @@ -10,5 +10,6 @@ module.exports = { repo: 'lbryio/lbry.tech', docsBranch: 'master', editLinkText: 'Edit this page on Github' - } + }, + ga: 'UA-60403362-1' } diff --git a/content/.vuepress/enhanceApp.js b/content/.vuepress/enhanceApp.js deleted file mode 100644 index a9cb368..0000000 --- a/content/.vuepress/enhanceApp.js +++ /dev/null @@ -1,26 +0,0 @@ -import VueMultiAnalytics from 'vue-multianalytics' - -export default ({ - Vue, // the version of Vue being used in the VuePress app - options, // the options for the root Vue instance - router, // the router instance for the app - siteData // site metadata -}) => { - - Vue.use(VueMultiAnalytics, { - modules: { - ga: { - appName: "LBRY.tech", - appVersion: "1.0", - trackingId: "UA-60403362-1" - }, - facebook: { - token: "1618717031725766" - } - }, - routing: { - vueRouter: router - } - }); - -} \ No newline at end of file diff --git a/package.json b/package.json index 18954c3..ac0c6c5 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ "vue": "^2.5.16", "vue-images-loaded": "^1.1.2", "vue-moment": "^3.2.0", - "vue-multianalytics": "1.9.4", "vue-resource": "^1.5.0", "vuepress": "0.9.0" } diff --git a/yarn.lock b/yarn.lock index 8322cbd..cfb0803 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6651,10 +6651,6 @@ vue-moment@^3.2.0: dependencies: moment "^2.11.1" -vue-multianalytics@1.9.4: - version "1.9.4" - resolved "https://registry.yarnpkg.com/vue-multianalytics/-/vue-multianalytics-1.9.4.tgz#1f235947b9f9a3acc1a0ce4f38f0541d1b596522" - vue-resource@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/vue-resource/-/vue-resource-1.5.0.tgz#ba0c6ef7af2eeace03cf24a91f529471be974c72"