This commit is contained in:
Kristian Polso 2018-06-06 10:22:30 +03:00
parent 2153ce77a4
commit 99332c9ce2
4 changed files with 32 additions and 2 deletions

View file

@ -10,6 +10,5 @@ module.exports = {
repo: 'lbryio/lbry.tech',
docsBranch: 'master',
editLinkText: 'Edit this page on Github'
},
ga: 'UA-60403362-1'
}
}

View file

@ -0,0 +1,26 @@
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
}
});
}

View file

@ -29,6 +29,7 @@
"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"
}

View file

@ -6651,6 +6651,10 @@ 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"