Google Analytics Module for Nuxt.js applications providing Universal Analytics integration
Overall
score
97%
A Nuxt.js component that tracks various user interactions on a blog post page.
Create a Vue component named BlogPost.vue that tracks the following user interactions using analytics events:
Video playback: When a user clicks the play button on an embedded video, track an event with:
File downloads: When a user clicks a download button, track an event with:
Form submissions: When a user submits the newsletter subscription form, track an event with:
Reading engagement: When a user scrolls to the end of the article, track an event with:
The component should include:
@generates
Provides Google Analytics integration for Nuxt.js applications, enabling event tracking through the $ga instance.
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