Google Analytics Module for Nuxt.js applications providing Universal Analytics integration
Overall
score
97%
Configure a Nuxt.js 2 application to automatically track page views when users navigate between routes.
Your implementation should:
UA-123456789-1Configure the analytics integration in nuxt.config.js:
export default {
buildModules: [
// Your configuration here
]
}/home to /about automatically records a page view for /about @test@generates
// Plugin should inject $ga instance globally
// this.$ga - available in Vue components
// ctx.$ga - available in Nuxt context (asyncData, plugins, middleware)
// Manual page tracking
this.$ga.page(route)Provides Google Analytics integration for Nuxt.js applications
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-nuxtjs--google-analyticsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10