Vue-based front-end point burying method and device and storage medium
The invention discloses a Vue-based front-end point burying method and device and a storage medium, and realizes a personalized point burying function by packaging a set of code library based on a Vue framework. According to the method, buried point types are divided into routing buried points, even...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
17.05.2024
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a Vue-based front-end point burying method and device and a storage medium, and realizes a personalized point burying function by packaging a set of code library based on a Vue framework. According to the method, buried point types are divided into routing buried points, event buried points and module exposure buried points, and diversified data collection requirements are met. In order to solve the page performance problem possibly caused by a traditional method, the method adopts a mode of adding self-defined attributes to element nodes, and efficient and accurate event burying points are realized by binding global click event monitoring to doctors, combining an event bubbling mechanism and judging whether the element nodes contain burying point attributes or not. In addition, the application also introduces a function of controlling the point burying opportunity, so that developers can perform point burying operation at a proper opportunity according to business requirements. The in |
---|---|
Bibliography: | Application Number: CN202410094022 |