We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
Google gtag.js for Vue.js
yarn add vue-gtagjs
importgtagjsfrom'vue-gtagjs'importVueRouterfrom'vue-router'Vue.use(VueRouter)constrouter=newVueRouter()gtagjs(router,GA_TRACKING_ID,{debug:true,scriptId:'gtagjs'})
importgtagjsfrom'vue-gtagjs'gtagjs(set=>set(location.pathname),GA_TRACKING_ID,{debug:true,scriptId:'customId'})