fix: use click for gtm

This commit is contained in:
YunYouJun
2022-04-15 23:59:54 +08:00
parent 88c4cf6b22
commit 2c44f9a402
3 changed files with 11 additions and 8 deletions

View File

@@ -3,5 +3,8 @@ import type { UserModule } from '~/types'
export const install: UserModule = ({ app }) => {
// add google tag manager, and add GA4 in gtag
app.use(createGtm({ id: 'GTM-5FJSV46' }))
app.use(createGtm({
id: 'GTM-5FJSV46',
debug: true,
}))
}