Event batches
It is possible to fire event using a queue that will be processed on a certain rate.The gap between each cycle and the amount of events fired on each cycle is totally customizable: default options are 2 events every 500ms.
import Vue from 'vue'
import VueAnalytics from 'vue-analytics'
Vue.use(VueAnalytics, {
id: 'UA-XXX-X',
batch: {
enabled: true, // enable/disable
amount: 2, // amount of events fired
delay: 500 // delay in milliseconds
}
})
当前内容版权归 vue-analytics 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 vue-analytics .