mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-07-07 10:14:06 -04:00
feat: ga monitor app version
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
parent
a14a7338f8
commit
9e94a985ca
@ -5,6 +5,12 @@ import router from "../router";
|
|||||||
if(process.env.VUE_APP_GANALYTICS){
|
if(process.env.VUE_APP_GANALYTICS){
|
||||||
Vue.use(VueAnalytics, {
|
Vue.use(VueAnalytics, {
|
||||||
id: process.env.VUE_APP_GANALYTICS,
|
id: process.env.VUE_APP_GANALYTICS,
|
||||||
router
|
router,
|
||||||
|
set:[
|
||||||
|
{
|
||||||
|
field: 'dimension1',
|
||||||
|
value: process.env.APPLICATION_VERSION
|
||||||
|
}
|
||||||
|
]
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user