How to make burying points in Vue Project

recently, we are going to do buried sites and data statistics in the project.
projects are developed using Vue. At present, the main data obtained by
are pv, uv, and events.
has never done such a business before.

excuse me, how to do burying points in Vue?
do you have any materials, articles or open source plug-ins to recommend?

Feb.12,2022

I am in charge of the burial plan within our company.

The

code is not easy to post, but I can show you my api. Provide some ideas.

in fact, this has nothing to do with vue or vue. Native can be used, vue can be used, and react can be used.

import MD from 'stat/connector';

MD.setupAjax($.ajax); // ajax

const MD1 = {
   ele: '.sample', // 
   data: {} // 
}
MD({
    show: [MD1, MD2, MD3, MD4, MD5, MD6, MD7, MD8], // 
    click: [MD1, MD2, MD3, MD4, MD5, MD6, MD7, MD8], // 
});
Menu