Skip to content

Commit

Permalink
google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsone committed May 31, 2023
1 parent fb88131 commit 94105c6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,14 @@ export default {
'@nuxtjs/eslint-module',
// https://go.nuxtjs.dev/vuetify
'@nuxtjs/vuetify',
'@nuxtjs/google-analytics',
],

// Modules (https://go.nuxtjs.dev/config-modules)
modules: ['@nuxtjs/axios'],

googleAnalytics: {
id: 'G-H09T0TH917', // Use as fallback if no runtime config is provided
},
// Vuetify module configuration (https://go.nuxtjs.dev/config-vuetify)
vuetify: {
customVariables: ['~/assets/variables.scss'],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"dependencies": {
"@nuxtjs/axios": "^5.13.6",
"@nuxtjs/google-analytics": "^2.4.0",
"core-js": "^3.8.1",
"file-system": "^2.2.2",
"fs": "^0.0.1-security",
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1280,6 +1280,13 @@
consola "^2.11.3"
eslint-loader "^4.0.2"

"@nuxtjs/google-analytics@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@nuxtjs/google-analytics/-/google-analytics-2.4.0.tgz#3bb9f398a05cc23340d1f423f8d8653dc4114f46"
integrity sha512-rDQTwHIjyjVrx8GywHPuWykJ3jRFGaHl5Iqji/y8tQWUc0yGEeHxOoR0yimzxnTS1Ph2/PubQYpgnVeEPEdL/A==
dependencies:
vue-analytics "^5.22.1"

"@nuxtjs/proxy@^2.1.0":
version "2.1.0"
resolved "https://registry.npmjs.org/@nuxtjs/proxy/-/proxy-2.1.0.tgz"
Expand Down Expand Up @@ -8481,6 +8488,11 @@ vm-browserify@^1.0.1:
resolved "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz"
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==

vue-analytics@^5.22.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-client-only@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/vue-client-only/-/vue-client-only-2.0.0.tgz"
Expand Down

0 comments on commit 94105c6

Please sign in to comment.