Skip to content

Commit

Permalink
v0.7.4: Adding and configuring the Google Analytics module.
Browse files Browse the repository at this point in the history
  • Loading branch information
kruchai committed Oct 28, 2020
1 parent 7f4eba4 commit 0c46cd6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
11 changes: 10 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default {
{
hid: 'description',
name: 'description',
// eslint-disable-next-line max-len
content: 'Front-end web developer (React, Vue, Drupal 7-9). Based in Kyiv, Ukraine. Social: @olegkruchay. Mail: okruchay@gmail.com'
},
{
Expand All @@ -19,6 +20,7 @@ export default {
},
{
property: 'og:description',
// eslint-disable-next-line max-len
content: 'Front-end web developer (React, Vue, Drupal 7-9). Based in Kyiv, Ukraine. Social: @olegkruchay. Mail: okruchay@gmail.com'
},
{
Expand Down Expand Up @@ -48,7 +50,9 @@ export default {
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicons/favicon.ico' },
{ rel: 'apple-touch-icon', sizes: '180x180', type: 'image/png', href: '/favicons/apple-touch-icon.png' },
{ rel: 'apple-touch-icon', sizes: '180x180', type: 'image/png',
href: '/favicons/apple-touch-icon.png'
},
{ rel: 'icon', sizes: '32x32', type: 'image/png', href: '/favicons/favicon-32x32.png' },
{ rel: 'icon', sizes: '16x16', type: 'image/png', href: '/favicons/favicon-16x16.png' },
{ rel: 'manifest', href: '/favicons/site.webmanifest' },
Expand Down Expand Up @@ -78,6 +82,7 @@ export default {
buildModules: [
// https://go.nuxtjs.dev/typescript
'@nuxt/typescript-build',
'@nuxtjs/google-analytics',
['@nuxtjs/fontawesome', {
component: 'fa',
icons: {
Expand Down Expand Up @@ -170,5 +175,9 @@ export default {
webp: {
quality: 85
}
},

googleAnalytics: {
id: 'UA-131497403-1'
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@nuxt/types": "^2.14.5",
"@nuxt/typescript-build": "^2.0.3",
"@nuxtjs/fontawesome": "^1.1.2",
"@nuxtjs/google-analytics": "^2.4.0",
"@nuxtjs/google-fonts": "^1.0.3",
"@nuxtjs/svg": "^0.1.12",
"babel-eslint": "^10.1.0",
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,13 @@
"@fortawesome/fontawesome-svg-core" "^1.2.27"
"@fortawesome/vue-fontawesome" "^0.1.9"

"@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/google-fonts@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@nuxtjs/google-fonts/-/google-fonts-1.0.3.tgz#1795c15aa1f32b0554f8494200c282e04712e9ef"
Expand Down Expand Up @@ -10834,6 +10841,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-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.yarnpkg.com/vue-client-only/-/vue-client-only-2.0.0.tgz#ddad8d675ee02c761a14229f0e440e219de1da1c"
Expand Down

0 comments on commit 0c46cd6

Please sign in to comment.