Skip to content

Commit

Permalink
feat: add gtm
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Dec 27, 2024
1 parent 9e3a856 commit f5aa113
Show file tree
Hide file tree
Showing 3 changed files with 4,945 additions and 5,206 deletions.
12 changes: 11 additions & 1 deletion packages/ui/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,17 @@ export default defineNuxtConfig({
},
},

modules: ['@nuxtjs/i18n', '@pinia/nuxt', '@nuxt/ui', '@nuxtjs/color-mode'],
gtag: {
id: 'GTM-PT6DJRHL',
},

modules: [
'@nuxtjs/i18n',
'@pinia/nuxt',
'@nuxt/ui',
'@nuxtjs/color-mode',
'nuxt-gtag',
],

colorMode: {
preference: 'system', // default value of $colorMode.preference
Expand Down
1 change: 1 addition & 0 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"autoprefixer": "^10.4.19",
"lodash.snakecase": "^4.1.1",
"nuxt": "^3.12.4",
"nuxt-gtag": "3.0.2",
"postcss": "^8.4.39",
"sass": "^1.77.8",
"tailwindcss": "^3.4.6",
Expand Down
Loading

0 comments on commit f5aa113

Please sign in to comment.