diff --git a/docs/gridsome.config.js b/docs/gridsome.config.js index 06da92e9..854b3612 100644 --- a/docs/gridsome.config.js +++ b/docs/gridsome.config.js @@ -12,6 +12,14 @@ module.exports = { favicon: './src/assets/favicon.png', }, plugins: [ + { + use: 'gridsome-plugin-gtag', + options: { + config: { + id: 'G-ZL1M3TWPY2', + }, + }, + }, { use: "gridsome-plugin-tailwindcss", diff --git a/docs/package.json b/docs/package.json index 2c818247..406c3b98 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,7 +11,8 @@ "@gridsome/source-filesystem": "^0.6.2", "@gridsome/transformer-remark": "^0.6.4", "fuse.js": "^6.4.6", - "gridsome": "^0.7.0" + "gridsome": "^0.7.0", + "gridsome-plugin-gtag": "^0.1.10" }, "devDependencies": { "autoprefixer": "^9.8.8", diff --git a/docs/yarn.lock b/docs/yarn.lock index 0556bca4..9cbae06c 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4693,6 +4693,13 @@ gray-matter@^4.0.2: section-matter "^1.0.0" strip-bom-string "^1.0.0" +gridsome-plugin-gtag@^0.1.10: + version "0.1.10" + resolved "https://registry.yarnpkg.com/gridsome-plugin-gtag/-/gridsome-plugin-gtag-0.1.10.tgz#99ab1b494a874a996b08ee7073766c8132614d59" + integrity sha512-/T1snhRRO4akDx6Hi4rYpMtXo8jo8uEf0brHbOI6bbb+vg7XTFucEAOKklUdKFTLKFAwH1VIQ+AZajU88U6iHg== + dependencies: + vue-gtag "^1.10.0" + gridsome-plugin-tailwindcss@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/gridsome-plugin-tailwindcss/-/gridsome-plugin-tailwindcss-4.1.1.tgz#fd167f6f4ffec6c2400b5a3011200761b72f4ec4" @@ -10358,6 +10365,11 @@ vm-browserify@^1.0.1: resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== +vue-gtag@^1.10.0: + version "1.16.1" + resolved "https://registry.yarnpkg.com/vue-gtag/-/vue-gtag-1.16.1.tgz#edb2f20ab4f6c4d4d372dfecf8c1fcc8ab890181" + integrity sha512-5vs0pSGxdqrfXqN1Qwt0ZFXG0iTYjRMu/saddc7QIC5yp+DKgjWQRpGYVa7Pq+KbThxwzzMfo0sGi7ISa6NowA== + vue-hot-reload-api@^2.3.0: version "2.3.4" resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"