In our daily business, we need to analyze user behavior, so we need to bury points in our system. Usually, the burying points are divided into several ways: 1. 2, front end buried point; 3. Buried point of back-end interface;

No burial site

  • What is “unburied point”?

Unburied is not literally unburied, but it is a kind of buried, but it allows the developer to be completely unaware of it, embed it directly into the SDK, and then each element can see what they are doing, without the developer having to do any more development later on. Summary is embedded, out of the box, no development.

  • Related tools

Heap, foreign flagship auto-capture

  • advantage

Data through the SDK, “automatic”, “all” capture, stored in the database, arbitrary access, website upgrade iteration without second buried point

  • disadvantage

1. The volume of data is so large that if the data is reported everywhere, the log database will store too much useless information

2. There are errors in data. Take the WEB front end as an example, documents are usually presented in the form of DOM Tree, as shown in the figure below. If a single page is applied, the DOM structure will change dynamically, so the retrieved elements will change. Is the log accurate?

The front-end buried point

Each buried point needs a unique identification, call a drop number interface, passing in the needed data

Buried point of the back-end port

The back-end burying point is mostly used for some private data, which is directly buried in the interface. These data cannot be transmitted to the front end

Set up a buried point system

To standardize the burying rules, it is best to set up a universal burying system, then apply only the points of your application, and then let developers bind the points to specific times

Follow these rules:

  • 1. Bit A is the identifier of the system application, which can be understood as the SYSTEM ID
  • 2. Bit B isThe system is AIs the identity of a page
  • 3. Bit C isThe system a. the page BA block of
  • 4. Bit D isThe system a. the page B. the block CA button or other element of

All you need to do is create a good point in the system to fall this time, and then bind to the fall time, it is good