mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Try adding gtag plugin
This commit is contained in:
parent
23acb814eb
commit
61aefac86d
2 changed files with 9 additions and 1 deletions
|
|
@ -114,7 +114,9 @@ export default {
|
|||
/*
|
||||
** Plugins to load before mounting the App
|
||||
*/
|
||||
plugins: [],
|
||||
plugins: [
|
||||
'@/plugins/gtag'
|
||||
],
|
||||
|
||||
/*
|
||||
** Nuxt.js modules
|
||||
|
|
|
|||
6
plugins/gtag.js
Normal file
6
plugins/gtag.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import Vue from 'vue'
|
||||
import VueGtag from 'vue-gtag'
|
||||
|
||||
Vue.use(VueGtag, {
|
||||
config: { id: 'G-0WLH5YTTB0' }
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue