添加'@nuxtjs/gtm'模块
This commit is contained in:
parent
07e306c055
commit
df25a19c8e
@ -44,7 +44,15 @@ export default {
|
||||
'bootstrap-vue/nuxt',
|
||||
'@nuxt/content',
|
||||
'@nuxtjs/axios',
|
||||
'@nuxtjs/gtm',
|
||||
],
|
||||
gtm: {
|
||||
id: 'G-PMXV6BN06E',
|
||||
layer: 'dataLayer',
|
||||
pageTracking: true, // 自动发送页面事件
|
||||
enabled: true
|
||||
// enabled: process.env.NODE_ENV === 'production'
|
||||
},
|
||||
// Build Configuration: https://go.nuxtjs.dev/config-build
|
||||
build: {
|
||||
}
|
||||
|
||||
19325
package-lock.json
generated
Normal file
19325
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -11,6 +11,7 @@
|
||||
"dependencies": {
|
||||
"@nuxt/content": "^1.15.1",
|
||||
"@nuxtjs/axios": "^5.13.6",
|
||||
"@nuxtjs/gtm": "^2.4.0",
|
||||
"bootstrap": "^4.6.2",
|
||||
"bootstrap-vue": "^2.22.0",
|
||||
"core-js": "^3.25.3",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user