Skip to content

Commit 42ec816

Browse files
committed
feat: add gtag
1 parent e80fd69 commit 42ec816

3 files changed

Lines changed: 25 additions & 32 deletions

File tree

nuxt.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ export default defineNuxtConfig({
4242
],
4343
},
4444

45+
gtag: {
46+
id: 'G-7H5VDKTB5C',
47+
},
48+
4549
icon: {
4650
clientBundle: {
4751
includeCustomCollections: true,
@@ -122,6 +126,7 @@ export default defineNuxtConfig({
122126
'@unocss/nuxt',
123127
'motion-v/nuxt',
124128
'nuxt-llms',
129+
'nuxt-gtag',
125130
],
126131

127132
routeRules: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"eslint-plugin-format": "catalog:",
2727
"motion-v": "catalog:",
2828
"nuxt": "catalog:",
29+
"nuxt-gtag": "4.1.0",
2930
"nuxt-llms": "catalog:",
3031
"nuxt-og-image": "catalog:",
3132
"pohon-ui": "catalog:",

pnpm-lock.yaml

Lines changed: 19 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)