[dev] disable matomo on dev
This commit is contained in:
parent
de5307a01d
commit
4df61347b9
|
@ -2,9 +2,11 @@ import Vue from 'vue'
|
||||||
import VueMatomo from 'vue-matomo'
|
import VueMatomo from 'vue-matomo'
|
||||||
|
|
||||||
export default ({ app }) => {
|
export default ({ app }) => {
|
||||||
|
if (process.env.NODE_ENV === 'production') {
|
||||||
Vue.use(VueMatomo, {
|
Vue.use(VueMatomo, {
|
||||||
router: app.router,
|
router: app.router,
|
||||||
host: 'https://matomo.avris.it',
|
host: 'https://matomo.avris.it',
|
||||||
siteId: 20,
|
siteId: 20,
|
||||||
})
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue