[go: up one dir, main page]

CN115328478A - Page embedding method, device, electronic device and medium - Google Patents

Page embedding method, device, electronic device and medium Download PDF

Info

Publication number
CN115328478A
CN115328478A CN202210935933.4A CN202210935933A CN115328478A CN 115328478 A CN115328478 A CN 115328478A CN 202210935933 A CN202210935933 A CN 202210935933A CN 115328478 A CN115328478 A CN 115328478A
Authority
CN
China
Prior art keywords
page file
page
buried point
identifier
value pair
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210935933.4A
Other languages
Chinese (zh)
Inventor
郭风雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202210935933.4A priority Critical patent/CN115328478A/en
Publication of CN115328478A publication Critical patent/CN115328478A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a page point burying method, a page point burying device, electronic equipment and a medium, wherein the method comprises the following steps: acquiring a first page file and setting information, wherein the setting information comprises at least one key value pair, an attribute key in each key value pair is an element identifier, and the attribute value is a buried point identifier; for any key value pair, determining a to-be-buried point element corresponding to an element identifier in the key value pair from the first page file; adding a buried point event corresponding to a buried point identifier in a key value pair to a to-be-buried point element in a first page file; writing the set embedded point function into a first page file, and writing each embedded point identifier into the embedded point function to obtain a target page file; and the embedded point function is used for acquiring user behavior information associated with the corresponding embedded point event according to each embedded point identifier. Therefore, the embedded points can be automatically added to the elements of the to-be-embedded points in the page file, developers do not need to manually add the embedded points to the elements of the page, the workload of the developers can be reduced, and the development efficiency of the page is improved.

Description

页面埋点方法、装置、电子设备及介质Page embedding method, device, electronic equipment and medium

技术领域technical field

本公开涉及互联网技术领域,尤其涉及一种页面埋点方法、装置、电子设备及介质。The present disclosure relates to the technical field of the Internet, and in particular to a method, device, electronic equipment and media for burying a page.

背景技术Background technique

页面或APP(Application,应用)可以利用埋点技术采集用户行为信息,以根据用户行为信息对用户进行精准化推荐,提升用户活跃度以及增加用户量。Pages or APPs (Applications) can collect user behavior information using point-buying technology, so as to make precise recommendations to users based on user behavior information, improve user activity and increase user volume.

相关技术中,通过开发人员手动在页面或APP中设置埋点。然而,由于页面中需要埋点的DOM(Document Object Model,文档对象模型)元素数量较多,通过手动埋点的方式,代码量较大,开发效率较低。In the related technology, the developer manually sets the buried point in the page or APP. However, due to the large number of DOM (Document Object Model, Document Object Model) elements that need to be embedded in the page, manual embedding requires a large amount of code and low development efficiency.

发明内容Contents of the invention

本公开旨在至少在一定程度上解决相关技术中的技术问题之一。The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent.

本公开提出一种页面埋点方法、装置、电子设备及介质,以实现自动为页面文件中的各待埋点元素添加埋点,无需开发人员手动为各页面元素添加埋点,可以降低开发人员的工作量,提升页面的开发效率。The present disclosure proposes a page burying method, device, electronic equipment, and media to automatically add burying points for each element to be burying in a page file, without the need for developers to manually add burying points for each page element, which can reduce the cost of developers. workload and improve page development efficiency.

本公开第一方面实施例提出了一种页面埋点方法,包括:The embodiment of the first aspect of the present disclosure proposes a page burying method, including:

获取第一页面文件以及设定信息,其中,设定信息中包括至少一个键值对,每个所述键值对中的属性键为元素标识,属性值为埋点标识;Obtaining the first page file and setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is a buried point identifier;

针对任一所述键值对,从所述第一页面文件中确定与所述键值对中的元素标识对应的待埋点元素;For any of the key-value pairs, determine from the first page file the element to be embedded corresponding to the element identifier in the key-value pair;

对所述第一页面文件中的所述待埋点元素,添加与所述键值对中的埋点标识对应的埋点事件;For the element to be buried in the first page file, add a buried point event corresponding to the buried point identifier in the key-value pair;

将设定的埋点函数写入所述第一页面文件中,并将各所述埋点标识写入所述埋点函数,以得到所述目标页面文件;其中,所述埋点函数用于根据各所述埋点标识,采集对应的埋点事件所关联的用户行为信息。Writing the set buried point function into the first page file, and writing each buried point identifier into the buried point function to obtain the target page file; wherein, the buried point function is used for According to each buried point identifier, user behavior information associated with a corresponding buried point event is collected.

本公开第二方面实施例提出了一种页面埋点装置,包括:The embodiment of the second aspect of the present disclosure proposes a page embedding device, including:

获取模块,用于获取第一页面文件以及设定信息,其中,设定信息中包括至少一个键值对,每个所述键值对中的属性键为元素标识,属性值为埋点标识;An acquisition module, configured to acquire the first page file and setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is a buried point identifier;

确定模块,用于针对任一所述键值对,从所述第一页面文件中确定与所述键值对中的元素标识对应的待埋点元素;A determining module, configured to, for any of the key-value pairs, determine from the first page file the element to be embedded corresponding to the element identifier in the key-value pair;

添加模块,用于对所述第一页面文件中的所述待埋点元素,添加与所述键值对中的埋点标识对应的埋点事件;An adding module, configured to add a buried point event corresponding to the buried point identifier in the key-value pair to the to-be-buried point element in the first page file;

写入模块,用于将设定的埋点函数写入所述第一页面文件中,并将各所述埋点标识写入所述埋点函数,以得到所述目标页面文件;其中,所述埋点函数用于根据各所述埋点标识,采集对应的埋点事件所关联的用户行为信息。A writing module, configured to write the set buried point function into the first page file, and write each buried point identifier into the buried point function to obtain the target page file; wherein, the The buried point function is used to collect user behavior information associated with the corresponding buried point event according to each buried point identifier.

本公开第三方面实施例提出了一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本公开第一方面实施例提出的页面埋点方法。The embodiment of the third aspect of the present disclosure proposes an electronic device, including: at least one processor; and a memory connected in communication with the at least one processor; wherein, the memory stores information that can be executed by the at least one processor. instructions, the instructions are executed by the at least one processor, so that the at least one processor can execute the page buried method proposed in the embodiment of the first aspect of the present disclosure.

本公开第四方面实施例提出了一种存储有计算机指令的非瞬时计算机可读存储介质,所述计算机指令用于使所述计算机执行本公开第一方面实施例提出的页面埋点方法。The embodiment of the fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, the computer instructions are used to enable the computer to execute the page burying method proposed by the embodiment of the first aspect of the present disclosure.

本公开第五方面实施例提出了一种计算机程序,包括计算机程序,所述计算机程序在被处理器执行时实现本公开第一方面实施例所述的页面埋点方法。The embodiment of the fifth aspect of the present disclosure provides a computer program, including a computer program. When the computer program is executed by a processor, the page burying method described in the embodiment of the first aspect of the present disclosure is implemented.

上述本公开中的一个实施例至少具有如下优点或有益效果:An embodiment of the above-mentioned present disclosure has at least the following advantages or beneficial effects:

通过获取第一页面文件以及设定信息,其中,设定信息中包括至少一个键值对,每个键值对中的属性键为元素标识,属性值为埋点标识;针对任一键值对,从第一页面文件中确定与键值对中的元素标识对应的待埋点元素;对第一页面文件中的待埋点元素,添加与键值对中的埋点标识对应的埋点事件;将设定的埋点函数写入第一页面文件中,并将各埋点标识写入埋点函数,以得到目标页面文件;其中,埋点函数用于根据各埋点标识,采集对应的埋点事件所关联的用户行为信息。由此,可以实现自动为页面文件中的各待埋点元素添加埋点,无需开发人员手动为各页面元素添加埋点,可以降低开发人员的工作量,提升页面的开发效率。By obtaining the first page file and setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is a buried point identifier; for any key-value pair, from Determine the element to be buried point corresponding to the element identifier in the key-value pair in the first page file; add the buried point event corresponding to the buried point identifier in the key-value pair to the buried point element in the first page file; The set buried point function is written into the first page file, and each buried point identifier is written into the buried point function to obtain the target page file; wherein, the buried point function is used to collect the corresponding buried point according to each buried point identifier User behavior information associated with the event. In this way, it is possible to automatically add embedding points for each element to be embedding in the page file, without the need for developers to manually add embedding points for each page element, which can reduce the workload of developers and improve the development efficiency of the page.

本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.

附图说明Description of drawings

本公开上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present disclosure will become apparent and understandable from the following description of the embodiments in conjunction with the accompanying drawings, wherein:

图1为本公开实施例一所提供的页面埋点方法的流程示意图;FIG. 1 is a schematic flow chart of a page burying method provided in Embodiment 1 of the present disclosure;

图2为本公开实施例二所提供的页面埋点方法的流程示意图;FIG. 2 is a schematic flow chart of the page embedding method provided by Embodiment 2 of the present disclosure;

图3为本公开实施例三所提供的页面埋点方法的流程示意图;FIG. 3 is a schematic flow chart of the page embedding method provided by Embodiment 3 of the present disclosure;

图4为本公开实施例所提供的埋点添加流程示意图;FIG. 4 is a schematic diagram of a buried point adding process provided by an embodiment of the present disclosure;

图5为本公开实施例四所提供的页面埋点方法的流程示意图;FIG. 5 is a schematic flow chart of the page burying method provided by Embodiment 4 of the present disclosure;

图6为本公开实施例五所提供的页面埋点装置的结构示意图;FIG. 6 is a schematic structural diagram of a page embedding device provided in Embodiment 5 of the present disclosure;

图7示出了适于用来实现本公开实施方式的示例性电子设备的框图。FIG. 7 shows a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure.

具体实施方式Detailed ways

下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the drawings, in which the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present disclosure and should not be construed as limiting the present disclosure.

由于大数据技术的发展日新月异,对于大数据的获取变得尤为迫切。目前,在一些网站web或者APP中,运营人员对于数据的收集力度越来越大,以根据收集到的数据,对用户行为习惯以及爱好进行分析,从而根据分析结果,对wab和APP进行更好的优化。其中,收集用户行为习惯的最有效的方法为埋点,因此,各个web以及APP中都配置了大量的埋点。Due to the rapid development of big data technology, the acquisition of big data has become particularly urgent. At present, in some web sites or APPs, operators are collecting more and more data, so as to analyze user behavior habits and hobbies based on the collected data, so as to better optimize wab and APP based on the analysis results. Optimization. Among them, the most effective way to collect user behavior habits is to bury points. Therefore, a large number of burying points are configured in each web and APP.

相关技术中,可以通过以下两种方式,在页面中添加埋点:In related technologies, buried points can be added to the page in the following two ways:

第一种方式,通过设置JSSDK(JavaScript Software Development Kit,JavaScript软件开发工具包)的方式进行埋点,开发人员在点击或者进入页面时,手动调用埋点函数,并将数据传入埋点函数,调用后端接口,达到埋点的目的。The first way is to bury the point by setting JSSDK (JavaScript Software Development Kit, JavaScript Software Development Kit). When the developer clicks or enters the page, he manually calls the burying function and passes the data into the burying function. Call the back-end interface to achieve the purpose of burying the point.

第二种方式,通过设置自定义属性的方式进行埋点,页面在渲染时,查询所有具有自定义属性的DOM元素,并在上述DOM元素中手动添加埋点的点击事件,以进行埋点添加,并且将埋点数据传输到后端。The second method is to bury points by setting custom attributes. When the page is rendered, query all DOM elements with custom attributes, and manually add click events for burying points in the above DOM elements to add burying points , and transmit the buried point data to the backend.

然而,上述第一种手动调用埋点函数的方式,开发人员需手动输入大量代码,不仅书写较为繁琐,而且会造成代码冗余。However, in the above-mentioned first method of manually calling the buried point function, developers need to manually input a large amount of code, which is not only cumbersome to write, but also causes code redundancy.

上述第二种手动添加埋点的方式,不仅需要开发人员依次对各DOM 元素添加埋点,而且不利于后期页面的升级维护。The above-mentioned second method of manually adding buried points not only requires developers to add buried points to each DOM element in turn, but also is not conducive to later page upgrade and maintenance.

针对上述存在的至少一个问题,本公开提出一种页面埋点方法、装置、电子设备及存储介质。In view of at least one of the above-mentioned problems, the present disclosure proposes a page embedding method, device, electronic equipment, and storage medium.

下面参考附图描述本公开实施例的页面埋点方法、装置、电子设备及存储介质。在具体描述本公开实施例之前,为了便于理解,首先对常用技术词进行介绍:The method, device, electronic device, and storage medium of the embodiments of the present disclosure will be described below with reference to the accompanying drawings. Before specifically describing the embodiments of the present disclosure, for ease of understanding, firstly, commonly used technical terms are introduced:

埋点:是网站分析的一种常用的数据采集方法。数据埋点分为初级、中级、高级三种方式。数据埋点是一种良好的私有化部署数据采集方式。Buried point: It is a commonly used data collection method for website analysis. Data embedding points are divided into three ways: primary, intermediate, and advanced. Data burying is a good way to collect data for privatization deployment.

Webpack:Webpack的核心概念是一个JavaScript的静态资源打包器,其主要目标是将js文件打包在一起,打包后的文件用于在浏览器中使用。 Webpack也能胜任转换、打包等功能。Webpack: The core concept of Webpack is a static resource packager for JavaScript. Its main goal is to package js files together, and the packaged files are used in browsers. Webpack is also capable of conversion, packaging and other functions.

Puppeteer:Puppeteer是一种自动化测试工具,其可以设置为控制完整的(非无头模式)浏览器。Puppeteer: Puppeteer is an automated testing tool that can be set up to control a full (non-headless) browser.

图1为本公开实施例一所提供的页面埋点方法的流程示意图。FIG. 1 is a schematic flow chart of a page burying method provided by Embodiment 1 of the present disclosure.

本公开实施例以该页面埋点方法被配置于页面埋点装置中来举例说明,该页面埋点装置可以应用于任一电子设备中,以使该电子设备可以执行页面埋点功能。Embodiments of the present disclosure are illustrated by taking the page tracking method configured in a page tracking device as an example, and the page tracking device can be applied to any electronic device, so that the electronic device can perform a page tracking function.

其中,电子设备可以为任一具有计算能力的设备,例如可以为电脑、移动终端、服务器等,移动终端例如可以为手机、平板电脑、个人数字助理、穿戴式设备、车载设备等具有各种操作系统、触摸屏和/或显示屏的硬件设备。Among them, the electronic device can be any device with computing power, such as a computer, a mobile terminal, a server, etc., and the mobile terminal can be a mobile phone, a tablet computer, a personal digital assistant, a wearable device, a vehicle-mounted device, etc. Hardware devices for systems, touchscreens, and/or displays.

如图1所示,该页面埋点方法可以包括以下步骤:As shown in Figure 1, the page burying method may include the following steps:

步骤101,获取第一页面文件以及设定信息,其中,设定信息中包括至少一个键值对,每个键值对中的属性键为元素标识,属性值为埋点标识。Step 101, acquire the first page file and setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is a buried point identifier.

在本公开实施例中,第一页面文件和设定信息可以为开发人员提供的,其中,设定信息中包括至少一个键值对,其中,每个键值对中的属性键key为元素标识,属性值value为埋点标识。In the embodiment of the present disclosure, the first page file and setting information may be provided for developers, wherein the setting information includes at least one key-value pair, wherein the attribute key key in each key-value pair is an element identifier , the attribute value value is the buried point identifier.

作为一种示例,开发人员可以在页面开发时,为页面文件中需要添加埋点的元素(即待埋点元素)添加唯一的元素标识,其中,元素标识可以为数字形式的标识,或者也可以为字母形式的标识,或者也可以为字母与数字组合形式的标识,或者也可以为字符串形式的标识等等,本公开对此不做限制。As an example, a developer can add a unique element identifier for an element that needs to be buried in the page file (that is, the element to be embedded) during page development, where the element identifier can be a digital identifier, or can also be The identification may be in the form of letters, or may also be in the form of a combination of letters and numbers, or may also be in the form of a character string, etc., which is not limited in the present disclosure.

并且,开发人员还可以为待埋点元素设置对应的埋点标识,其中,埋点标识也可以为数字形式的标识,或者也可以为字母形式的标识,或者可以为字母与数字组合形式的标识,或者可以为字符串形式的标识等等,本公开对此不做限制。从而本公开中,可以将元素标识作为属性键key,将埋点标识作为属性值value,根据key和value,生成键值对。In addition, the developer can also set a corresponding buried point identifier for the element to be embedded, where the buried point identifier can also be a digital identifier, or a letter identifier, or a combination of letters and numbers , or may be an identifier in the form of a character string, etc., which is not limited in the present disclosure. Therefore, in the present disclosure, the element identifier can be used as the attribute key, the buried point identifier can be used as the attribute value, and a key-value pair can be generated according to the key and value.

步骤102,针对任一键值对,从第一页面文件中确定与键值对中的元素标识对应的待埋点元素。Step 102, for any key-value pair, determine from the first page file the element to be embedded corresponding to the element identifier in the key-value pair.

在本公开实施例中,针对至少一个键值对中的任意一个键值对,可以从第一页面文件中确定与该键值对中的元素标识对应的待埋点元素。In the embodiment of the present disclosure, for any key-value pair in the at least one key-value pair, the point element to be buried corresponding to the element identifier in the key-value pair may be determined from the first page file.

步骤103,对第一页面文件中的待埋点元素,添加与键值对中的埋点标识对应的埋点事件。Step 103, add a buried point event corresponding to the buried point identifier in the key-value pair to the to-be-buried point element in the first page file.

在本公开实施例中,埋点事件可以为埋点的点击事件、下滑事件等等,本公开对此并不做限制。In the embodiment of the present disclosure, the point-burying event may be a point-burying click event, a slide event, etc., which is not limited in the present disclosure.

在本公开实施例中,可以对第一页面文件中的待埋点元素,添加与上述键值对中的埋点标识对应的埋点事件。In the embodiment of the present disclosure, a burying event corresponding to the burying point identifier in the above key-value pair may be added to the burying point element in the first page file.

步骤104,将设定的埋点函数写入第一页面文件中,并将各埋点标识写入埋点函数,以得到目标页面文件;其中,埋点函数用于根据各埋点标识,采集对应的埋点事件所关联的用户行为信息。Step 104, write the set buried point function into the first page file, and write each buried point identifier into the buried point function to obtain the target page file; wherein, the buried point function is used to collect User behavior information associated with the corresponding buried event.

在本公开实施例中,埋点函数为预先设定的。In the embodiment of the present disclosure, the buried point function is preset.

在本公开实施例中,用户行为信息是指对用户行为进行统计得到的相关信息,其中,用户行为可以包括点击、行为、拖拽、长按、评论、关注、收藏、分享等行为。比如,用户行为信息可以包括点击量、浏览量、评论量、关注量、收藏量、分享量等。In the embodiments of the present disclosure, user behavior information refers to relevant information obtained by statistics of user behaviors, where user behaviors may include actions such as clicking, acting, dragging, long pressing, commenting, following, saving, sharing, and the like. For example, user behavior information may include the number of clicks, views, comments, attention, favorites, shares, etc.

在本公开实施例中,可以将设定的埋点函数写入第一页面文件中,并将各键值对中的埋点标识写入或传入埋点函数,以得到目标页面文件。其中,埋点函数用于采集与各埋点标识对应的埋点事件所关联的用户行为信息,即本公开中,埋点函数用于根据各埋点标识,采集与各埋点函数对应的埋点事件所关联的用户行为信息。In the embodiment of the present disclosure, the set buried point function may be written into the first page file, and the buried point identifiers in each key-value pair may be written or passed into the buried point function, so as to obtain the target page file. Among them, the buried point function is used to collect the user behavior information associated with the buried point event corresponding to each buried point identifier, that is, in this disclosure, the buried point function is used to collect the buried point corresponding to each buried point function according to each buried point identifier. User behavior information associated with point events.

本公开实施例的页面埋点方法,通过获取第一页面文件以及设定信息,其中,设定信息中包括至少一个键值对,每个键值对中的属性键为元素标识,属性值为埋点标识;针对任一键值对,从第一页面文件中确定与键值对中的元素标识对应的待埋点元素;对第一页面文件中的待埋点元素,添加与键值对中的埋点标识对应的埋点事件;将设定的埋点函数写入第一页面文件中,并将各埋点标识写入埋点函数,以得到目标页面文件;其中,埋点函数用于根据各埋点标识,采集对应的埋点事件所关联的用户行为信息。由此,可以实现自动为页面文件中的各待埋点元素添加埋点,无需开发人员手动为各页面元素添加埋点,可以降低开发人员的工作量,提升页面的开发效率。The page burying method of the embodiment of the present disclosure obtains the first page file and setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is Buried point identification; for any key-value pair, determine the element to be buried point corresponding to the element ID in the key-value pair from the first page file; The buried point event corresponding to the buried point identifier; the set buried point function is written into the first page file, and each buried point mark is written into the buried point function to obtain the target page file; wherein, the buried point function is used according to Each buried point is identified, and the user behavior information associated with the corresponding buried point event is collected. In this way, it is possible to automatically add embedding points for each element to be embedding in the page file, without the need for developers to manually add embedding points for each page element, which can reduce the workload of developers and improve the development efficiency of the page.

需要说明的是,本公开的技术方案中,所涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。It should be noted that the collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution of the disclosure is in compliance with relevant laws and regulations, and does not violate public order and good customs.

为了清楚说明本公开上述实施例中是如何从第一页面文件中确定待埋点元素的,本公开还提出一种页面埋点方法。In order to clearly illustrate how to determine the elements to be buried from the first page file in the above embodiments of the present disclosure, the present disclosure also proposes a page burying method.

图2为本公开实施例二所提供的页面埋点方法的流程示意图。FIG. 2 is a schematic flow chart of a page burying method provided by Embodiment 2 of the present disclosure.

如图2所示,该页面埋点方法可以包括以下步骤:As shown in Figure 2, the page burying method may include the following steps:

步骤201,获取第一页面文件以及设定信息,其中,设定信息中包括至少一个键值对,每个键值对中的属性键为元素标识,属性值为埋点标识。Step 201, acquire the first page file and setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is a buried point identifier.

步骤201的解释说明可以参见本公开任一实施例中的相关描述,在此不做赘述。For the explanation of step 201, reference may be made to relevant descriptions in any embodiment of the present disclosure, and details are not repeated here.

在本公开的任意一个实施例之中,可以获取开发人员提供的第一格式的第二页面文件,对第二页面文件进行打包,以得到第二格式的第一页面文件。In any embodiment of the present disclosure, the second page file in the first format provided by the developer may be obtained, and the second page file may be packaged to obtain the first page file in the second format.

需要说明的是,用户可能无法直接访问开发人员提供的页面文件,因此,本公开中,为了使得用户能够正常访问开发人员提供的页面文件,可以对上述页面文件进行打包,以得到用户可访问的页面文件。具体地,可以对开发人员提供的第一格式的第二页面文件进行打包,以得到第二格式的第一页面文件,该第一页面文件为用户可访问的页面文件。比如,第二页面文件可以为开发人员提供的js文件,第一页面文件可为打包后用户可访问的HTML(Hyper Text Markup Language,超文本标记语言)文件。It should be noted that the user may not be able to directly access the page file provided by the developer. Therefore, in this disclosure, in order to enable the user to normally access the page file provided by the developer, the above page file can be packaged to obtain a user-accessible paging file. Specifically, the second page file in the first format provided by the developer may be packaged to obtain the first page file in the second format, and the first page file is a page file accessible to users. For example, the second page file may be a js file provided by the developer, and the first page file may be a packaged HTML (Hyper Text Markup Language, hypertext markup language) file accessible to users.

作为一种示例,可以通过静态资源打包器Webpack,对第二页面文件进行打包,得到第一页面文件。As an example, the second page file may be packaged by the static resource packer Webpack to obtain the first page file.

步骤202,通过浏览器访问第一页面文件。Step 202, access the first page file through the browser.

在本公开实施例中,可以通过浏览器访问第一页面文件。In the embodiment of the present disclosure, the first page file can be accessed through a browser.

作为一种示例,可以通过自动化测试工具(比如Puppeteer工具)开启浏览器,并访问第一页面文件。As an example, a browser may be opened by an automated testing tool (such as a Puppeteer tool), and the first page file may be accessed.

步骤203,针对任一键值对,遍历第一页面文件中的各页面元素,以从各页面元素中确定与键值对中的元素标识对应的待埋点元素。Step 203, for any key-value pair, traverse each page element in the first page file to determine from each page element the point element to be buried corresponding to the element identifier in the key-value pair.

在本公开实施例中,针对设定信息中任意一个键值对,可以遍历第一页面文件中的各页面元素,以从各页面元素中确定与该键值对中的元素标识对应的待埋点元素。In the embodiment of the present disclosure, for any key-value pair in the setting information, each page element in the first page file can be traversed to determine the to-be-embedded element corresponding to the element identifier in the key-value pair from each page element point element.

仍以上述例子进行示例,可以通过自动化测试工具(比如Puppeteer 工具)遍历第一页面文件中的各页面元素(比如DOM元素),并从各页面元素中确定与键值对中的元素标识对应的待埋点元素。Still using the above example as an example, an automated testing tool (such as a Puppeteer tool) can be used to traverse each page element (such as a DOM element) in the first page file, and determine from each page element the corresponding element identifier in the key-value pair Elements to be embedded.

步骤204,对第一页面文件中的待埋点元素,添加与键值对中的埋点标识对应的埋点事件。Step 204, add a burying event corresponding to the burying point identifier in the key-value pair to the burying point element in the first page file.

步骤205,将设定的埋点函数写入第一页面文件中,并将各埋点标识写入埋点函数,以得到目标页面文件。Step 205, write the set buried point function into the first page file, and write each buried point identifier into the buried point function, so as to obtain the target page file.

其中,埋点函数用于根据各埋点标识,采集对应的埋点事件所关联的用户行为信息。Wherein, the buried point function is used to collect user behavior information associated with a corresponding buried point event according to each buried point identifier.

步骤204至205的解释说明可以参见本公开任一实施例中的相关描述,在此不做赘述。For explanations of steps 204 to 205, reference may be made to relevant descriptions in any embodiment of the present disclosure, and details are not repeated here.

本公开实施例的页面埋点方法,通过对第一页面文件中的各页面元素进行遍历的方式,从各页面元素中确定与各键值对中的元素标识对应的待埋点元素,可以避免待埋点元素的漏检,从而避免页面元素遗漏添加埋点的情况,使得埋点后的页面能够满足开发人员的实际开发需求,改善开发人员的使用体验。The page burying method of the embodiment of the present disclosure, by traversing each page element in the first page file, determines the element to be buried corresponding to the element identifier in each key-value pair from each page element, which can avoid Missing detection of elements to be buried, so as to avoid the situation of missing and adding buried points on the page, so that the buried page can meet the actual development needs of developers and improve the developer's experience.

为了清楚说明本公开任一实施例中是如何获取第一页面文件的,本公开实施例还提出一种页面埋点方法。In order to clearly illustrate how to obtain the first page file in any embodiment of the present disclosure, an embodiment of the present disclosure further proposes a page burying method.

图3为本公开实施例三所提供的页面埋点方法的流程示意图。FIG. 3 is a schematic flow chart of a page burying method provided by Embodiment 3 of the present disclosure.

如图3所示,该页面埋点方法可以包括以下步骤:As shown in Figure 3, the page burying method may include the following steps:

步骤301,获取设定信息,其中,设定信息中包括至少一个键值对,每个键值对中的属性键为元素标识,属性值为埋点标识。Step 301 , obtaining setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is a buried point identifier.

步骤301的解释说明可以参见本公开任一实施例中的相关描述,在此不做赘述。For an explanation of step 301, reference may be made to relevant descriptions in any embodiment of the present disclosure, and details are not repeated here.

步骤302,获取第一格式的第二页面文件。Step 302, acquire the second page file in the first format.

在本公开实施例中,第一格式的第二页面文件为开发人员提供的,该第二页面文件可能为用户无法直接访问的代码文件。In the embodiment of the present disclosure, the second page file in the first format is provided by the developer, and the second page file may be a code file that cannot be directly accessed by the user.

步骤303,对第二页面文件进行打包。Step 303, pack the second page file.

作为一种示例,可以通过静态资源打包器Webpack,对第二页面文件进行打包。As an example, the second page file may be packaged by using the static resource packager Webpack.

步骤304,对第二页面文件的打包完成事件进行监听。Step 304, monitor the packaging completion event of the second page file.

步骤305,响应于监听到打包完成事件,获取打包得到的第二格式的第一页面文件。Step 305, in response to monitoring the package completion event, acquire the packaged first page file in the second format.

在本公开实施例中,可以对第二页面文件的打包完成事件(比如compiler.hooks.done.tap事件)进行监听,在监听到第二页面文件的打包完成事件时,可以获取打包得到的第二格式的第一页面文件。In the embodiment of the present disclosure, the packaging completion event (such as compiler.hooks.done.tap event) of the second page file can be monitored, and when the packaging completion event of the second page file is monitored, the packaged first page file can be obtained. The first page file of the second format.

步骤306,针对任一键值对,从第一页面文件中确定与键值对中的元素标识对应的待埋点元素。Step 306, for any key-value pair, determine from the first page file the element to be embedded corresponding to the element identifier in the key-value pair.

步骤307,对第一页面文件中的待埋点元素,添加与键值对中的埋点标识对应的埋点事件。Step 307, add a buried point event corresponding to the buried point identifier in the key-value pair to the to-be-buried point element in the first page file.

步骤308,将设定的埋点函数写入第一页面文件中,并将各埋点标识写入埋点函数,以得到目标页面文件。Step 308, write the set buried point function into the first page file, and write the buried point identifiers into the buried point function, so as to obtain the target page file.

其中,埋点函数用于根据各埋点标识,采集对应的埋点事件所关联的用户行为信息。Wherein, the buried point function is used to collect user behavior information associated with a corresponding buried point event according to each buried point identifier.

步骤306至308的解释说明可以参见本公开任一实施例中的相关描述,在此不做赘述。For explanations of steps 306 to 308, reference may be made to relevant descriptions in any embodiment of the present disclosure, and details are not repeated here.

作为一种示例,开发人员在页面开发时,可以为页面文件中需要添加埋点的元素添加自定义属性(即元素标识),自定义属性对应的属性值为埋点标识(即埋点ID),从而可以根据自定义属性和属性值,生成至少一个键值对。As an example, when developing a page, a developer can add a custom attribute (that is, an element ID) to an element that needs to add a buried point in the page file, and the attribute value corresponding to the custom attribute is the buried point identifier (that is, the buried point ID) , so that at least one key-value pair can be generated based on the custom attribute and attribute value.

以采用Webpack对页面文件进行打包进行示例,如图4所示,可以将各键值对传入到Webpack中,由Webpack对开发人员提供的页面文件进行打包,在监听到页面文件的打包完成事件时,启动静态资源服务器访问打包得到的页面文件,比如,可以通过Puppeteer工具打开浏览器,并访问打包得到的页面文件(比如HTML文件),之后,遍历HTML文件中的所有的页面元素(DOM元素),以获取所有的带有自定义属性的DOM 元素,之后,可以为带有自定义属性的DOM元素添加埋点事件(比如埋点的点击事件),并将自定义属性的属性值作为埋点标识传入至埋点函数中,以得到最终的HTML文件。Take the example of using Webpack to package page files, as shown in Figure 4, you can pass each key-value pair into Webpack, and Webpack will package the page files provided by the developer. After listening to the page file packaging completion event When starting the static resource server to access the packaged page files, for example, you can use the Puppeteer tool to open the browser and access the packaged page files (such as HTML files), and then traverse all the page elements (DOM elements) in the HTML file ) to get all the DOM elements with custom attributes, after that, you can add embedded events (such as click events for embedded points) to DOM elements with custom attributes, and use the attribute values of custom attributes as buried The point identifier is passed into the buried point function to get the final HTML file.

其中,由于Puppeteer工具的特性,上述埋点方式适用于多页面应用, Webpack对页面文件进行打包时,可以设置为打包成多页面的模式。Among them, due to the characteristics of the Puppeteer tool, the above burying method is suitable for multi-page applications. When Webpack packs page files, it can be set to a multi-page mode.

需要说明的是,页面文件中可能具有相同的页面元素,需要为各页面元素添加唯一标识,唯一标识为开发人员设置的自定义属性,而非页面元素原有的标识的原因为:自定义属性只是用于埋点的,以避免与业务相冲突,即不与业务开发相冲突或相掺杂。It should be noted that there may be the same page elements in the page file, and a unique identifier needs to be added to each page element. The reason why the unique identifier is a custom attribute set by the developer rather than the original identifier of the page element is: custom attribute It is only used for burying points to avoid conflicts with the business, that is, it does not conflict with or be mixed with business development.

由此,结合Webpack和Puppeteer能够实现自动注入生成高质量的埋点事件,减去开发和后期维护所带来的时间和人力成本,而且能够实现媲美手写埋点的效果。并且,通过Webpack和Puppeteer自动在页面文件中注入埋点事件,可以实现埋点添加的可配置化、通用化,能够适配多端,以减少不同使用者的人力和时间等开发成本。Therefore, the combination of Webpack and Puppeteer can realize automatic injection and generate high-quality tracking events, minus the time and labor costs caused by development and post-maintenance, and can achieve the effect comparable to handwritten tracking. In addition, Webpack and Puppeteer automatically inject embedded events into page files, which can realize the configurability and generalization of embedded points, and can adapt to multiple terminals, so as to reduce the development costs of different users such as manpower and time.

即本公开中,通过为DOM元素添加自定义属性的方式来进行埋点的添加,相比于传统的书写埋点的方式,书写效率得到有效提升,即相比于手动书写埋点,能够极大地提高页面的开发效率,减少了一些无意义的机械劳动,节约了大量的开发时间,并且便于后期修改维护;通过结合Webpack和Puppeteer,能够达到工程化注入埋点的目的,可以很好地结合现有主流的工程化打包工具Webpack,简化了开发人员上手以及配置成本;适用于h5和小程序等多端应用,便于维护和升级,提高了该方法的通用性。That is to say, in this disclosure, by adding custom attributes to DOM elements to add embedded points, compared with the traditional method of writing embedded points, the writing efficiency is effectively improved, that is, compared to manually writing embedded points, it can be extremely Greatly improve the development efficiency of the page, reduce some meaningless mechanical labor, save a lot of development time, and facilitate later modification and maintenance; by combining Webpack and Puppeteer, the purpose of engineering injection buried point can be achieved, which can be well combined The existing mainstream engineering packaging tool Webpack simplifies developers' getting started and configuration costs; it is suitable for multi-terminal applications such as h5 and small programs, and is easy to maintain and upgrade, which improves the versatility of the method.

本公开实施例的页面埋点方法,通过获取第一格式的第二页面文件;对第二页面文件进行打包;对第二页面文件的打包完成事件进行监听;响应于监听到打包完成事件,获取打包得到的第二格式的第一页面文件。由此,可以实现通过打包的方式,将页面文件打包为用户可访问的页面文件,从而使得用户能够正常访问页面文件。The page burying method of the embodiment of the present disclosure obtains the second page file in the first format; packages the second page file; monitors the package completion event of the second page file; and obtains The first page file in the second format obtained by packaging. In this way, the page file can be packaged into a user-accessible page file by means of packaging, so that the user can normally access the page file.

为了清楚说明上述任一实施例,本公开还提出一种页面埋点方法。In order to clearly describe any of the above embodiments, the present disclosure also proposes a page burying method.

图5为本公开实施例四所提供的页面埋点方法的流程示意图。FIG. 5 is a schematic flow chart of a page burying method provided by Embodiment 4 of the present disclosure.

如图5所示,在上述任一实施例的基础上,该页面埋点方法还可以包括以下步骤:As shown in Figure 5, on the basis of any of the above-mentioned embodiments, the page burying method may also include the following steps:

步骤501,获取第一页面文件以及设定信息,其中,设定信息中包括至少一个键值对,每个键值对中的属性键为元素标识,属性值为埋点标识。Step 501, obtain the first page file and setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is a buried point identifier.

步骤501的解释说明可以参见本公开任一实施例中的相关描述,在此不做赘述。For an explanation of step 501, reference may be made to relevant descriptions in any embodiment of the present disclosure, and details are not repeated here.

步骤502,在第一页面文件中注入配置信息。Step 502, inject configuration information into the first page file.

在本公开实施例中,可以在第一页面文件中注入配置信息,其中,配置信息可以用于指示以下至少一项:In an embodiment of the present disclosure, configuration information may be injected into the first page file, where the configuration information may be used to indicate at least one of the following:

第一项:埋点函数调用的目标接口;其中,目标接口,用于上报用户行为信息;即配置信息用于指示埋点函数具体调用哪个接口上报采集的用户行为信息;The first item: the target interface of the buried function call; among them, the target interface is used to report user behavior information; that is, the configuration information is used to indicate which interface the buried function calls to report the collected user behavior information;

第二项:目标接口的调用方式;即配置信息用于指示埋点函数如何调用目标接口;The second item: the calling method of the target interface; that is, the configuration information is used to indicate how the embedded function calls the target interface;

第三项:用户行为信息上报至的目标节点,该目标节点可以为后台系统(即后端)中的任意一个节点;即配置信息用于指示埋点函数将采集的用户行为信息上报至后端的哪个节点。The third item: the target node to which the user behavior information is reported. The target node can be any node in the background system (that is, the backend); that is, the configuration information is used to instruct the buried point function to report the collected user behavior information to the backend. which node.

需要说明的是,本公开对步骤502的执行时序不作限制,例如,步骤502 可以与步骤503-505并列执行,或者,步骤502也可以与步骤503-505顺序执行,或者,还可以在将埋点函数写入第一页面文件后,将配置信息注入第一页面文件,或者,还可以在将各埋点标识写入埋点函数后,将配置信息注入第一页面文件,等等,本公开对此并不做限制。It should be noted that the present disclosure does not limit the timing of execution of step 502. For example, step 502 may be executed in parallel with steps 503-505, or step 502 may also be executed sequentially with steps 503-505, or may also be executed in the future After the point function is written into the first page file, the configuration information is injected into the first page file, or, after each buried point identifier is written into the buried point function, the configuration information is injected into the first page file, and so on. There is no limit to this.

步骤503,针对任一键值对,从第一页面文件中确定与键值对中的元素标识对应的待埋点元素。Step 503, for any key-value pair, determine the element to be embedded corresponding to the element identifier in the key-value pair from the first page file.

步骤504,对第一页面文件中的待埋点元素,添加与键值对中的埋点标识对应的埋点事件。Step 504, add a burying event corresponding to the burying point identifier in the key-value pair to the burying point element in the first page file.

步骤505,将设定的埋点函数写入第一页面文件中,并将各埋点标识写入埋点函数,以得到目标页面文件;其中,埋点函数用于根据各埋点标识,采集对应的埋点事件所关联的用户行为信息,并上报用户行为信息。Step 505, write the set buried point function into the first page file, and write each buried point identifier into the buried point function to obtain the target page file; wherein, the buried point function is used to collect The user behavior information associated with the corresponding buried event, and report the user behavior information.

步骤503至505的解释说明可以参见本公开任一实施例中的相关描述,在此不做赘述。For explanations of steps 503 to 505, reference may be made to relevant descriptions in any embodiment of the present disclosure, and details are not repeated here.

作为一种示例,以采用Webpack对页面文件进行打包进行示例,如图 4所示,在Webpack对开发人员提供的页面文件进行打包过程中,监听页面打包完成事件compiler.hooks.done.tap,响应于监听到打包完成事件,通过静态资源服务器(比如本地节点服务器),访问打包得到的页面文件,比如HTML文件,并在该HTML文件中注入埋点JSSDK(即配置信息),之后再遍历HTML文件中的所有页面元素(DOM元素),获取到所有的带有自定义属性的DOM元素,并为带有自定义属性的DOM元素添加埋点事件(比如埋点的点击事件),以得到最终的HTML文件。As an example, use Webpack to package page files, as shown in Figure 4, during the process of Webpack packaging page files provided by developers, listen to the page package completion event compiler.hooks.done.tap, and respond After listening to the packaging completion event, access the packaged page file, such as an HTML file, through a static resource server (such as a local node server), and inject the buried point JSSDK (that is, configuration information) into the HTML file, and then traverse the HTML file All page elements (DOM elements) in , get all the DOM elements with custom attributes, and add embedded events (such as embedded click events) to the DOM elements with custom attributes to get the final HTML file.

本公开实施例的页面埋点方法,通过在第一页面文件中注入配置信息;其中,配置信息用于指示以下至少一项:埋点函数调用的目标接口,其中,目标接口,用于上报用户行为信息;目标接口的调用方式;用户行为信息上报至的目标节点。由此,可以通过在页面文件中注入配置信息的方式,来指示埋点函数如何上报采集的用户行为信息。The page burying method of the embodiment of the present disclosure injects configuration information into the first page file; wherein the configuration information is used to indicate at least one of the following: the target interface of the burying function call, wherein the target interface is used to report to the user Behavior information; the calling method of the target interface; the target node to which user behavior information is reported. Therefore, by injecting configuration information into the page file, it is possible to instruct the embedded function how to report the collected user behavior information.

与上述图1至图5实施例提供的页面埋点方法相对应,本公开还提供一种页面埋点装置,由于本公开实施例提供的页面埋点装置与上述图1至图5实施例提供的页面埋点方法相对应,因此在页面埋点方法的实施方式也适用于本公开实施例提供的页面埋点装置,在本公开实施例中不再详细描述。Corresponding to the page burying method provided by the above-mentioned embodiments in FIGS. 1 to 5 , the present disclosure also provides a page burying device. Therefore, the implementation of the page burying method is also applicable to the page burying device provided in the embodiments of the present disclosure, which will not be described in detail in the embodiments of the present disclosure.

图6为本公开实施例五所提供的页面埋点装置的结构示意图。FIG. 6 is a schematic structural diagram of a page embedding device provided by Embodiment 5 of the present disclosure.

如图6所示,该页面埋点装置600可以包括:获取模块601、确定模块602、添加模块603以及写入模块604。As shown in FIG. 6 , the page embedding device 600 may include: an acquiring module 601 , a determining module 602 , an adding module 603 and a writing module 604 .

其中,获取模块601,用于获取第一页面文件以及设定信息,其中,设定信息中包括至少一个键值对,每个键值对中的属性键为元素标识,属性值为埋点标识。Wherein, the obtaining module 601 is used to obtain the first page file and setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is a buried point identifier .

确定模块602,用于针对任一键值对,从第一页面文件中确定与键值对中的元素标识对应的待埋点元素。The determining module 602 is configured to, for any key-value pair, determine from the first page file the point element to be buried corresponding to the element identifier in the key-value pair.

添加模块603,用于对第一页面文件中的待埋点元素,添加与键值对中的埋点标识对应的埋点事件。The adding module 603 is configured to add a buried point event corresponding to the buried point identifier in the key-value pair to the to-be-buried point element in the first page file.

写入模块604,用于将设定的埋点函数写入第一页面文件中,并将各埋点标识写入埋点函数,以得到目标页面文件;其中,埋点函数用于根据各埋点标识,采集对应的埋点事件所关联的用户行为信息。The writing module 604 is used to write the set buried point function into the first page file, and write each buried point identifier into the buried point function to obtain the target page file; wherein, the buried point function is used to Point identification, collect the user behavior information associated with the corresponding buried point event.

在本公开实施例的一种可能的实现方式中,确定模块,具体用于:通过浏览器访问第一页面文件;遍历第一页面文件中的各页面元素;从各页面元素中确定与键值对中的元素标识对应的待埋点元素。In a possible implementation manner of the embodiment of the present disclosure, the determination module is specifically configured to: access the first page file through a browser; traverse each page element in the first page file; determine and key value from each page element The element in the pair identifies the corresponding point element to be buried.

在本公开实施例的一种可能的实现方式中,获取模块,具体用于:获取第一格式的第二页面文件;对第二页面文件进行打包,以得到第二格式的第一页面文件。In a possible implementation manner of the embodiment of the present disclosure, the acquiring module is specifically configured to: acquire the second page file in the first format; pack the second page file to obtain the first page file in the second format.

在本公开实施例的一种可能的实现方式中,获取模块,具体用于:对第二页面文件进行打包;对第二页面文件的打包完成事件进行监听;响应于监听到打包完成事件,获取打包得到的第一页面文件。In a possible implementation of the embodiment of the present disclosure, the acquisition module is specifically configured to: package the second page file; monitor the packaging completion event of the second page file; and acquire The first page file obtained by packaging.

在本公开实施例的一种可能的实现方式中,埋点函数还用于上报用户行为信息;该页面埋点装置600还可以包括:In a possible implementation of the embodiment of the present disclosure, the burying function is also used to report user behavior information; the page burying device 600 may also include:

注入模块,用于在第一页面文件中注入配置信息;The injection module is used to inject configuration information into the first page file;

其中,配置信息用于指示以下至少一项:Among them, the configuration information is used to indicate at least one of the following:

埋点函数调用的目标接口;其中,目标接口,用于上报用户行为信息;The target interface of the buried point function call; among them, the target interface is used to report user behavior information;

目标接口的调用方式;The calling method of the target interface;

用户行为信息上报至的目标节点。The target node to which user behavior information is reported.

本公开实施例的页面埋点装置,通过获取第一页面文件以及设定信息,其中,设定信息中包括至少一个键值对,每个键值对中的属性键为元素标识,属性值为埋点标识;针对任一键值对,从第一页面文件中确定与键值对中的元素标识对应的待埋点元素;对第一页面文件中的待埋点元素,添加与键值对中的埋点标识对应的埋点事件;将设定的埋点函数写入第一页面文件中,并将各埋点标识写入埋点函数,以得到目标页面文件;其中,埋点函数用于根据各埋点标识,采集对应的埋点事件所关联的用户行为信息。由此,可以实现自动为页面文件中的各待埋点元素添加埋点,无需开发人员手动为各页面元素添加埋点,可以降低开发人员的工作量,提升页面的开发效率。The page embedding device of the embodiment of the present disclosure obtains the first page file and setting information, wherein the setting information includes at least one key-value pair, the attribute key in each key-value pair is an element identifier, and the attribute value is Buried point identification; for any key-value pair, determine the element to be buried point corresponding to the element ID in the key-value pair from the first page file; The buried point event corresponding to the buried point identifier; the set buried point function is written into the first page file, and each buried point mark is written into the buried point function to obtain the target page file; wherein, the buried point function is used according to Each buried point is identified, and the user behavior information associated with the corresponding buried point event is collected. In this way, it is possible to automatically add embedding points for each element to be embedding in the page file, without the need for developers to manually add embedding points for each page element, which can reduce the workload of developers and improve the development efficiency of the page.

为了实现上述实施例,本公开还提出一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本公开前述任一实施例提出的页面埋点方法。In order to realize the above embodiments, the present disclosure also proposes an electronic device, including: a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, the The page burying method proposed by any one of the foregoing embodiments is disclosed.

为了实现上述实施例,本公开还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开前述任一实施例提出的页面埋点方法。In order to realize the above-mentioned embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the page burying method as proposed in any of the foregoing embodiments of the present disclosure is implemented. .

为了实现上述实施例,本公开还提出一种计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行如本公开前述任一实施例提出的页面埋点方法。In order to implement the above embodiments, the present disclosure further proposes a computer program product, when the instructions in the computer program product are executed by a processor, execute the page burying method as provided in any one of the foregoing embodiments of the present disclosure.

图7示出了适于用来实现本公开实施方式的示例性电子设备的框图。图7显示的电子设备12仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 7 shows a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present disclosure. The electronic device 12 shown in FIG. 7 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.

如图7所示,电子设备12以通用计算设备的形式表现。电子设备12 的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线 18。As shown in FIG. 7, electronic device 12 takes the form of a general-purpose computing device. Components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.

总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry StandardArchitecture;以下简称:ISA)总线,微通道体系结构(Micro Channel Architecture;以下简称:MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics StandardsAssociation;以下简称:VESA)局域总线以及外围组件互连(Peripheral ComponentInterconnection;以下简称:PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (Industry Standard Architecture; hereinafter referred to as: ISA) bus, Micro Channel Architecture (Micro Channel Architecture; hereinafter referred to as: MAC) bus, enhanced ISA bus, video electronics standard Association (Video Electronics Standards Association; hereinafter referred to as: VESA) local bus and peripheral component interconnection (Peripheral Component Interconnection; hereinafter referred to as: PCI) bus.

电子设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 12 and include both volatile and nonvolatile media, removable and non-removable media.

存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory;以下简称:RAM)30和/或高速缓存存储器32。电子设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图7未显示,通常称为“硬盘驱动器”)。尽管图7中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如:光盘只读存储器(Compact Disc Read OnlyMemory;以下简称:CD-ROM)、数字多功能只读光盘(Digital Video Disc Read OnlyMemory;以下简称: DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本公开各实施例的功能。The memory 28 may include a computer system readable medium in the form of a volatile memory, such as a random access memory (Random Access Memory; hereinafter referred to as: RAM) 30 and/or a cache memory 32 . The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard drive"). Although not shown in FIG. 7, a disk drive for reading and writing to a removable nonvolatile disk (such as a "floppy disk") may be provided, as well as a disk drive for removable nonvolatile disks (such as a CD-ROM (Compact Disc Read Only Memory (hereinafter referred to as: CD-ROM), Digital Video Disc Read Only Memory (hereinafter referred to as: DVD-ROM) or other optical media) read and write optical disc drives. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present disclosure.

具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本公开所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data , each or some combination of these examples may include implementations of network environments. The program modules 42 generally perform the functions and/or methods of the embodiments described in this disclosure.

电子设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该电子设备12交互的设备通信,和/或与使得该电子设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network;以下简称:LAN),广域网(Wide Area Network;以下简称:WAN)和/或公共网络,例如因特网)通信。如图7所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 12, and/or communicate with Any device (eg, network card, modem, etc.) that enables the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 22 . Moreover, the electronic device 12 can also communicate with one or more networks (such as a local area network (Local Area Network; hereinafter referred to as: LAN), a wide area network (Wide Area Network; hereinafter referred to as: WAN) and/or public networks, such as the Internet, through the network adapter 20. ) communication. As shown in FIG. 7 , network adapter 20 communicates with other modules of electronic device 12 via bus 18 . It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.

处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现前述实施例中提及的方法。The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , such as implementing the methods mentioned in the foregoing embodiments.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本公开的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of a process , and the scope of preferred embodiments of the present disclosure includes additional implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present disclosure pertain.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment for use. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.

应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present disclosure may be implemented in hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: a discrete Logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.

此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present disclosure, and those skilled in the art can understand the above-mentioned embodiments within the scope of the present disclosure. The embodiments are subject to changes, modifications, substitutions and variations.

Claims (12)

1. A page dot burying method is characterized by comprising the following steps:
acquiring a first page file and setting information, wherein the setting information comprises at least one key value pair, an attribute key in each key value pair is an element identifier, and the attribute value is a buried point identifier;
for any key value pair, determining a to-be-buried point element corresponding to an element identifier in the key value pair from the first page file;
adding a buried point event corresponding to a buried point identifier in the key value pair to the element of the point to be buried in the first page file;
writing a set embedded point function into the first page file, and writing each embedded point identifier into the embedded point function to obtain the target page file; and the embedded point function is used for acquiring user behavior information associated with the corresponding embedded point event according to each embedded point identifier.
2. The method according to claim 1, wherein the determining, for any of the key-value pairs, a to-be-buried point element from the first page file corresponding to an element identifier in the key-value pair comprises:
accessing the first page file through a browser;
traversing each page element in the first page file;
and determining a to-be-buried point element corresponding to the element identification in the key value pair from each page element.
3. The method of claim 1, wherein obtaining the first page file comprises:
acquiring a second page file in a first format;
and packaging the second page file to obtain the first page file in a second format.
4. The method of claim 3, wherein said packaging said second pagefile to obtain said first pagefile in a second format comprises:
packaging the second page file;
monitoring a packaging completion event of the second page file;
and responding to the monitored packaging completion event, and acquiring the first page file obtained by packaging.
5. The method of any one of claims 1-4, wherein the buried point function is further configured to report the user behavior information;
the method further comprises the following steps:
injecting configuration information into the first page file;
wherein the configuration information is used to indicate at least one of:
a target interface for the buried point function call; the target interface is used for reporting the user behavior information;
the calling mode of the target interface;
and the user behavior information is reported to the target node.
6. A page pointing device, the device comprising:
the device comprises an acquisition module, a storage module and a display module, wherein the acquisition module is used for acquiring a first page file and setting information, the setting information comprises at least one key value pair, an attribute key in each key value pair is an element identifier, and the attribute value is a buried point identifier;
a determining module, configured to determine, for any one of the key value pairs, a to-be-buried point element corresponding to an element identifier in the key value pair from the first page file;
the adding module is used for adding a buried point event corresponding to the buried point identifier in the key value pair to the element of the point to be buried in the first page file;
the writing module is used for writing the set embedded point function into the first page file and writing each embedded point identifier into the embedded point function to obtain the target page file; and the embedded point function is used for acquiring user behavior information associated with the corresponding embedded point event according to each embedded point identifier.
7. The apparatus of claim 6, wherein the determining module is specifically configured to:
accessing the first page file through a browser;
traversing each page element in the first page file;
and determining a to-be-buried point element corresponding to the element identification in the key value pair from each page element.
8. The apparatus of claim 6, wherein the obtaining module is specifically configured to:
acquiring a second page file in a first format;
and packaging the second page file to obtain the first page file in a second format.
9. The apparatus of claim 8, wherein the obtaining module is specifically configured to:
packaging the second page file;
monitoring a packaging completion event of the second page file;
and responding to the monitored packaging completion event, and acquiring the first page file obtained by packaging.
10. The apparatus according to any one of claims 6-9, wherein the embedding function is further configured to report the user behavior information;
the device, still include:
the injection module is used for injecting configuration information into the first page file;
wherein the configuration information is used to indicate at least one of:
a target interface for the buried point function call; the target interface is used for reporting the user behavior information;
the calling mode of the target interface;
and the user behavior information is reported to the target node.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202210935933.4A 2022-08-04 2022-08-04 Page embedding method, device, electronic device and medium Pending CN115328478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210935933.4A CN115328478A (en) 2022-08-04 2022-08-04 Page embedding method, device, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210935933.4A CN115328478A (en) 2022-08-04 2022-08-04 Page embedding method, device, electronic device and medium

Publications (1)

Publication Number Publication Date
CN115328478A true CN115328478A (en) 2022-11-11

Family

ID=83922600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210935933.4A Pending CN115328478A (en) 2022-08-04 2022-08-04 Page embedding method, device, electronic device and medium

Country Status (1)

Country Link
CN (1) CN115328478A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116820906A (en) * 2023-06-28 2023-09-29 重庆赛力斯新能源汽车设计院有限公司 Client data embedding methods, devices and storage media

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020589A (en) * 2020-07-15 2022-02-08 腾讯科技(深圳)有限公司 Embedded point processing method and device, computer equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020589A (en) * 2020-07-15 2022-02-08 腾讯科技(深圳)有限公司 Embedded point processing method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
红烧肉数分: "数据埋点相关的流程与方法", pages 1 - 6, Retrieved from the Internet <URL:《https://zhuanlan.zhihu.com/p/265944048》> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116820906A (en) * 2023-06-28 2023-09-29 重庆赛力斯新能源汽车设计院有限公司 Client data embedding methods, devices and storage media
CN116820906B (en) * 2023-06-28 2024-10-01 重庆赛力斯凤凰智创科技有限公司 Data embedding method and device for client and storage medium

Similar Documents

Publication Publication Date Title
CN107506300B (en) User interface testing method, device, server and storage medium
CN107423048B (en) Data collection method, device, medium and computing equipment
WO2017167042A1 (en) Statistical method and apparatus for behaviors of front-end users
CN111813629B (en) Method, device and equipment for generating monitoring data of Web page
CN109902255B (en) Page mixed browsing record generation method, device, equipment and storage medium
CN102841789A (en) Method and device for recording and playing back user operations in browser
CN111338901A (en) A Redis monitoring method, Redis monitoring device and terminal
CN111666201A (en) Regression testing method, device, medium and electronic equipment
WO2021129335A1 (en) Operation monitoring method and apparatus, operation analysis method and apparatus
CN113378036A (en) Page operation analysis and point burying method, device, equipment and storage medium
CN109344066A (en) A kind of test method of browser page, system and terminal
CN104320793B (en) A kind of Automated testing method of cell phone short messages and system
CN114297700A (en) Dynamic and static combined mobile application privacy protocol extraction method and related equipment
CN109240664A (en) A kind of method and terminal acquiring user behavior information
CN116756016A (en) Multi-browser testing methods, apparatus, equipment, media and program products
CN110781063B (en) Method, device, equipment and storage medium for measuring first screen time of web page
CN110188308B (en) Client automatic dotting reporting method, storage medium, equipment and system
CN115756934A (en) Application crash analysis method and device
CN115328478A (en) Page embedding method, device, electronic device and medium
CN110674426A (en) Webpage behavior reporting method and device
US9104573B1 (en) Providing relevant diagnostic information using ontology rules
CN119046465A (en) Log classification method, device, equipment, storage medium and computer program product
WO2025161303A1 (en) Browser-side web interface analysis method and apparatus
CN113590246A (en) Method and device for fully automatically recording historical page and electronic equipment
CN116028108B (en) Method, device, equipment and storage medium for analyzing dependent package installation time

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination