Skip to content

Commit

Permalink
feat: add gtm module
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Dec 16, 2024
1 parent 79323e4 commit f2f0389
Show file tree
Hide file tree
Showing 3 changed files with 1,941 additions and 2,595 deletions.
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ export default defineNuxtConfig({
'@nuxtjs/color-mode',
'@nuxtjs/device',
'nuxt-security',
'nuxt-gtag',
],
gtag: {
id: 'GTM-ND5BQG9',
},
colorMode: {
preference: 'system', // default value of $colorMode.preference
fallback: 'dark', // fallback value if not system preference found
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"nuxt": "^3.12.4",
"nuxt-gtag": "3.0.2",
"nuxt-security": "2.0.0",
"postcss": "^8.4.40",
"prettier": "^3.1.1",
Expand Down
Loading

0 comments on commit f2f0389

Please sign in to comment.