or even.anecdote incorporate vue-heatmapjs.Utilization.To utilize this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you may incorporate the v-heatmap ordinance to the dom elements you wish to track....You can easily toggle the heatmap on as well as off through passing an expression into the regulation:....Button Heatmap....
Making use of the directive to a single nested part:.You may listen for celebrations by passing an afterAdd technique within the plugin alternatives, which will certainly enable you to get access to and procedure the events recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( data).// you can easily ax this back to your analytics hosting server.,. ).A trendy job readily available on GitHub, aid the writer through increasing it!