gtag 추가
This commit is contained in:
@@ -4,6 +4,9 @@ import App from './App.vue'
|
||||
import router from './router'
|
||||
import './assets/base.css'
|
||||
|
||||
// Google Tag Manager 설정
|
||||
import VueGtag from 'vue-gtag-next'
|
||||
|
||||
// dayjs configuration
|
||||
import dayjs from 'dayjs'
|
||||
import timezone from 'dayjs/plugin/timezone'
|
||||
@@ -79,6 +82,16 @@ app.use(ToastService)
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
|
||||
// Google Analytics(GA) vue-gtag-next 플러그인 등록
|
||||
app.use(VueGtag, {
|
||||
property: {
|
||||
id: 'GTM-PPDRKT7Q'
|
||||
},
|
||||
appName: '볼링매니저',
|
||||
pageTrackerScreenviewEnabled: true
|
||||
}, router)
|
||||
// GTM-PPDRKT7Q: 구글 태그매니저(GA4) ID
|
||||
|
||||
// Register custom components
|
||||
app.component('AppHeader', AppHeader);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user