mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-21 07:16:15 -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
1 changed files with 7 additions and 1 deletions
|
@ -5,6 +5,12 @@ import router from "../router";
|
|||
if(process.env.VUE_APP_GANALYTICS){
|
||||
Vue.use(VueAnalytics, {
|
||||
id: process.env.VUE_APP_GANALYTICS,
|
||||
router
|
||||
router,
|
||||
set:[
|
||||
{
|
||||
field: 'dimension1',
|
||||
value: process.env.APPLICATION_VERSION
|
||||
}
|
||||
]
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue