mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Try adding gtag plugin
This commit is contained in:
parent
b4f67e03ca
commit
8b5b7e7812
2 changed files with 9 additions and 1 deletions
|
|
@ -114,7 +114,9 @@ export default {
|
||||||
/*
|
/*
|
||||||
** Plugins to load before mounting the App
|
** Plugins to load before mounting the App
|
||||||
*/
|
*/
|
||||||
plugins: [],
|
plugins: [
|
||||||
|
'@/plugins/gtag'
|
||||||
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Nuxt.js modules
|
** 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