Google Analytics
Torey Heinz
committed Apr 14, 2020
commit 62bb80b043885d8b0dd60130cae1cb5ce786fa9c
Showing 3
changed files with
22 additions
and 35 deletions
gridsome.config.js
+6
-0
| @@ | @@ -9,6 +9,12 @@ module.exports = { |
| siteName: config.siteName, | |
| plugins: [ | |
| "gridsome-plugin-pug", | |
| + | { |
| + | use: '@gridsome/plugin-google-analytics', |
| + | options: { |
| + | id: 'UA-163587962-1' |
| + | } |
| + | } |
| { | |
| use: "@gridsome/vue-remark", | |
| options: { | |
package.json
+1
-0
| @@ | @@ -12,6 +12,7 @@ |
| "bulma": "^0.7.5" | |
| }, | |
| "devDependencies": { | |
| + | "@gridsome/plugin-google-analytics": "^0.1.0", |
| "@gridsome/source-filesystem": "^0.6.2", | |
| "@gridsome/transformer-remark": "^0.5.0", | |
| "@gridsome/vue-remark": "^0.1.10", | |
yarn.lock
+15
-35
| @@ | @@ -814,6 +814,13 @@ |
| sort-package-json "^1.15.0" | |
| update-notifier "^3.0.1" | |
| + | "@gridsome/plugin-google-analytics@^0.1.0": |
| + | version "0.1.0" |
| + | resolved "https://registry.yarnpkg.com/@gridsome/plugin-google-analytics/-/plugin-google-analytics-0.1.0.tgz#f2fdffdb05dd2928ca85c4a0d64c7e497a36ee49" |
| + | integrity sha512-IUuIj1z0BMtNa4NPRyBP3rYGyww+RWypsHTJ7WDdIj/BuH1x7BR9cDn7kskfG5azUi1LV0lJX329Te077oG07A== |
| + | dependencies: |
| + | vue-analytics "^5.16.1" |
| + | |
| "@gridsome/source-filesystem@^0.6.2": | |
| version "0.6.2" | |
| resolved "https://registry.yarnpkg.com/@gridsome/source-filesystem/-/source-filesystem-0.6.2.tgz#95f65e9fcf03624ba23f8f0bee0779fe8e8b9021" | |
| @@ | @@ -3722,7 +3729,7 @@ fast-glob@^2.0.2, fast-glob@^2.2.6: |
| merge2 "^1.2.3" | |
| micromatch "^3.1.10" | |
| - | fast-glob@^3.0.3, fast-glob@^3.1.1: |
| + | fast-glob@^3.1.1: |
| version "3.2.2" | |
| resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.2.tgz#ade1a9d91148965d4bf7c51f72e1ca662d32e63d" | |
| integrity sha512-UDV82o4uQyljznxwMxyVRJgZZt3O5wENYojjzbaGEGZgeOxkLFf+V4cnUD+krzb2F72E18RhamkMZ7AdeggF7A== | |
| @@ | @@ -3996,15 +4003,6 @@ fs-extra@^7.0.0, fs-extra@^7.0.1: |
| jsonfile "^4.0.0" | |
| universalify "^0.1.0" | |
| - | fs-extra@^8.1.0: |
| - | version "8.1.0" |
| - | resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" |
| - | integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== |
| - | dependencies: |
| - | graceful-fs "^4.2.0" |
| - | jsonfile "^4.0.0" |
| - | universalify "^0.1.0" |
| - | |
| fs-minipass@^2.0.0: | |
| version "2.1.0" | |
| resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" | |
| @@ | @@ -4205,20 +4203,6 @@ globby@11.0.0: |
| merge2 "^1.3.0" | |
| slash "^3.0.0" | |
| - | globby@^10.0.1: |
| - | version "10.0.2" |
| - | resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543" |
| - | integrity sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg== |
| - | dependencies: |
| - | "@types/glob" "^7.1.1" |
| - | array-union "^2.1.0" |
| - | dir-glob "^3.0.1" |
| - | fast-glob "^3.0.3" |
| - | glob "^7.1.3" |
| - | ignore "^5.1.1" |
| - | merge2 "^1.2.3" |
| - | slash "^3.0.0" |
| - | |
| globby@^8.0.1: | |
| version "8.0.2" | |
| resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.2.tgz#5697619ccd95c5275dbb2d6faa42087c1a941d8d" | |
| @@ | @@ -4315,7 +4299,7 @@ got@^9.6.0: |
| to-readable-stream "^1.0.0" | |
| url-parse-lax "^3.0.0" | |
| - | graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0: |
| + | graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6: |
| version "4.2.3" | |
| resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423" | |
| integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ== | |
| @@ | @@ -4375,15 +4359,6 @@ gridsome-plugin-pug@^0.0.3: |
| pug-loader "^2.4.0" | |
| pug-plain-loader "^1.0.0" | |
| - | gridsome-source-static-meta@^1.0.1: |
| - | version "1.0.1" |
| - | resolved "https://registry.yarnpkg.com/gridsome-source-static-meta/-/gridsome-source-static-meta-1.0.1.tgz#b870bb3a8a82181f7d47a120c1c1405a98f09764" |
| - | integrity sha512-tb+GXCuqd18nPAMEiyTM5ErIjCRN2q8CKap9CVcsTewToTiIp9uiQtVahyEC5diE3bnv/gxH/WduUfwCUukK7Q== |
| - | dependencies: |
| - | fs-extra "^8.1.0" |
| - | globby "^10.0.1" |
| - | json-parse-better-errors "^1.0.2" |
| - | |
| gridsome@^0.7.0: | |
| version "0.7.13" | |
| resolved "https://registry.yarnpkg.com/gridsome/-/gridsome-0.7.13.tgz#7b711b34f9abbdb645948048773ce80381d78b6e" | |
| @@ | @@ -4841,7 +4816,7 @@ ignore@^4.0.3: |
| resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" | |
| integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== | |
| - | ignore@^5.1.1, ignore@^5.1.4: |
| + | ignore@^5.1.4: |
| version "5.1.4" | |
| resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf" | |
| integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A== | |
| @@ | @@ -9641,6 +9616,11 @@ void-elements@^2.0.1: |
| resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec" | |
| integrity sha1-wGavtYK7HLQSjWDqkjkulNXp2+w= | |
| + | vue-analytics@^5.16.1: |
| + | version "5.22.1" |
| + | resolved "https://registry.yarnpkg.com/vue-analytics/-/vue-analytics-5.22.1.tgz#9d6b32da56daee1b9dfb23a267b50349a03f710f" |
| + | integrity sha512-HPKQMN7gfcUqS5SxoO0VxqLRRSPkG1H1FqglsHccz6BatBatNtm/Vyy8brApktZxNCfnAkrSVDpxg3/FNDeOgQ== |
| + | |
| 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" | |