or.anecdote incorporate vue-heatmapjs.Consumption.To utilize this plugin import it in your main.js.// main.js.bring in Vue coming from 'vue'.import heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can add the v-heatmap directive to the dom components you desire to track....You can toggle the heatmap on and also off by passing a phrase into the instruction:....Button Heatmap....
Making use of the directive to a solitary embedded element:.You can pay attention for occasions through passing an afterAdd technique within the plugin choices, which will allow you to accessibility and also process the activities caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( data).// you may discharge this back to your analytics web server.,. ).An amazing project readily available on GitHub, help the author by broadening it!