Skip to content

Commit

Permalink
Merge pull request #144 from openearth/Fix/Google-analytics-is-not-wo…
Browse files Browse the repository at this point in the history
…rking

Add router in VueGtag
  • Loading branch information
danieltwigt authored Feb 2, 2022
2 parents 1564cc5 + d605ce2 commit 373b154
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/plugins/vue-gtag.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import Vue from 'vue'
import VueGtag from 'vue-gtag'
import router from '../router'

Vue.use(VueGtag, {
config: { id: 'UA-9884034-50', anonymize_ip: true }
})
config: {
id: 'UA-9884034-50',
anonymize_ip: true
}
}, router)

0 comments on commit 373b154

Please sign in to comment.