Skip to content

Commit 468f886

Browse files
committed
chore(website): adding google analytics
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
1 parent cebb702 commit 468f886

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

docs/gridsome.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ module.exports = {
1212
favicon: './src/assets/favicon.png',
1313
},
1414
plugins: [
15+
{
16+
use: 'gridsome-plugin-gtag',
17+
options: {
18+
config: {
19+
id: 'G-ZL1M3TWPY2',
20+
},
21+
},
22+
},
1523
{
1624
use: "gridsome-plugin-tailwindcss",
1725

docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"@gridsome/source-filesystem": "^0.6.2",
1212
"@gridsome/transformer-remark": "^0.6.4",
1313
"fuse.js": "^6.4.6",
14-
"gridsome": "^0.7.0"
14+
"gridsome": "^0.7.0",
15+
"gridsome-plugin-gtag": "^0.1.10"
1516
},
1617
"devDependencies": {
1718
"autoprefixer": "^9.8.8",

docs/yarn.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4693,6 +4693,13 @@ gray-matter@^4.0.2:
46934693
section-matter "^1.0.0"
46944694
strip-bom-string "^1.0.0"
46954695

4696+
gridsome-plugin-gtag@^0.1.10:
4697+
version "0.1.10"
4698+
resolved "https://registry.yarnpkg.com/gridsome-plugin-gtag/-/gridsome-plugin-gtag-0.1.10.tgz#99ab1b494a874a996b08ee7073766c8132614d59"
4699+
integrity sha512-/T1snhRRO4akDx6Hi4rYpMtXo8jo8uEf0brHbOI6bbb+vg7XTFucEAOKklUdKFTLKFAwH1VIQ+AZajU88U6iHg==
4700+
dependencies:
4701+
vue-gtag "^1.10.0"
4702+
46964703
gridsome-plugin-tailwindcss@^4.1.1:
46974704
version "4.1.1"
46984705
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:
1035810365
resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
1035910366
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==
1036010367

10368+
vue-gtag@^1.10.0:
10369+
version "1.16.1"
10370+
resolved "https://registry.yarnpkg.com/vue-gtag/-/vue-gtag-1.16.1.tgz#edb2f20ab4f6c4d4d372dfecf8c1fcc8ab890181"
10371+
integrity sha512-5vs0pSGxdqrfXqN1Qwt0ZFXG0iTYjRMu/saddc7QIC5yp+DKgjWQRpGYVa7Pq+KbThxwzzMfo0sGi7ISa6NowA==
10372+
1036110373
vue-hot-reload-api@^2.3.0:
1036210374
version "2.3.4"
1036310375
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"

0 commit comments

Comments
 (0)