spyfu-vue-analytics
Installation
This plugin enables easy logging of events to third party analytics providers.
# install with yarn yarn add spyfu-vue-analytics # or install with npm npm install spyfu-vue-analytics
Basic usage
Once the package is pulled in, you must instruct Vue to use it.
;; Vue;
Finally, when an event you care about happens, use the $logEvent
function to call your handlers.
// component.vue methods: { this; } ;