User behavior analysis management method and device, equipment and storage medium

By collecting and analyzing the click information and stay distribution information of the target webpage, combined with the multi-dimensional DOM node matching strategy, a heat map is generated, which solves the limitations and timeliness issues of user behavior analysis in the existing technology, and achieves accurate user behavior Statistics and analysis provide strong data support for web page optimization.

CN118672875APending Publication Date: 2024-09-20VIPSHOP (GUANGZHOU) SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410853847.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing user behavior analysis methods cannot comprehensively record each user's browsing behavior and event process, and heat maps have short timeliness and are greatly affected by changes in DOM nodes, resulting in high limitations in data statistics and analysis.

Method used

By collecting the click information and stay distribution information of the target web page, the DOM nodes matching the click positions are obtained, the click volume of each DOM node is counted, and a heat map is generated based on the click volume and stay distribution information, and the user's click path is obtained by combining buried point analysis. , providing multi-dimensional matching strategies to improve analysis accuracy.

Benefits of technology

It achieves accurate statistics and analysis of user behavior, improves the timeliness and accuracy of heat maps, provides more comprehensive user behavior data support, and provides powerful data for web page optimization and personalized recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118672875A
    Figure CN118672875A
Patent Text Reader

Abstract

The invention relates to a user behavior analysis management method and device, equipment and a storage medium. The method comprises the steps of collecting click information and stay distribution information of a target webpage, wherein the click information comprises a click position; according to the click position, obtaining a DOM node matched with the click position in the target webpage; counting the click rate of each DOM node in the target webpage; respectively generating a thermodynamic diagram according to the click rate of each DOM node and the stay distribution information; and analyzing a user behavior based on the thermodynamic diagram, and optimizing the target webpage according to an analysis result. By adopting the method, the DOM node matched with the clicking position of the user can be more accurately obtained, so that the analysis accuracy is improved, browsing data of each user can be accurately tracked and counted based on a matching strategy, point burying analysis is introduced, the clicking path and the behavior mode of the user are deeply known, and the user experience is improved. And powerful data support is provided for further user behavior analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a user behavior analysis management method, apparatus, computer equipment and storage medium. Background Art

[0002] Heatmap uses different colors and color depths to represent data distribution information. It has good visualization effect and is widely used in various statistical analyses of web visitor behavior. For example, it can help website operators analyze the quality of web page decoration and adjust the decoration content in real time, which is conducive to the rational decoration of web pages and prevent the occurrence of web pages that are too long.

[0003] In the existing user behavior analysis, the heat map can only record the clicks on the page, but cannot record the browsing behavior of each user and the process of completing a certain event, which makes the statistics and analysis of the data have certain limitations. Secondly, the analysis results of the click heat map are greatly affected by the DOM node. Once the DOM node changes, the previous analysis results may become invalid, resulting in a short timeliness of the heat map. Summary of the invention

[0004] Based on this, it is necessary to provide a user behavior analysis management method, device, equipment and storage medium that can count the clicks of each user in order to address the above technical problems.

[0005] On the one hand, a user behavior analysis management method is provided, the method comprising:

[0006] Collecting click information and stay distribution information of the target web page, wherein the click information includes click location;

[0007] Acquire a DOM node in the target webpage that matches the click position according to the click position;

[0008] Counting the number of clicks on each DOM node in the target web page;

[0009] Generate heat maps according to the click volume of each DOM node and the stay distribution information;

[0010] User behavior is analyzed based on the heat map, and the target web page is optimized according to the analysis results.

[0011] In one embodiment, the click position includes a tag name, a style class, and a position of the same type, and obtaining a DOM node matching the click position in the target webpage according to the click position includes:

[0012] Obtaining the DOM node of the target web page;

[0013] Matching the click position with the DOM node according to the tag name, style class and position of the same type;

[0014] In response to the existence of a DOM node that completely matches the click position, determining that the DOM node is a valid node that matches the click position;

[0015] Traverse the DOM nodes of the target webpage to obtain all valid nodes matching the click position.

[0016] In one of the embodiments, the acquiring, according to the click position, a DOM node in the target webpage that matches the click position further includes:

[0017] In response to the absence of a DOM node that completely matches the click position, partially matching the click position with the DOM node;

[0018] Determine whether there is a DOM node in the target webpage that meets a first matching condition, wherein the first matching condition includes that at least one style class is the same as the click position, and a tag name and a position of the same type match the click position;

[0019] If there is a DOM node that meets the first matching condition, determining that the DOM node is a valid node that matches the click position;

[0020] If there is no DOM node satisfying the first matching condition, the click position is further downgraded and matched with the DOM node.

[0021] In one embodiment, further downgrading the click position to the DOM node includes:

[0022] Determine whether there is a DOM node in the target webpage that meets a second matching condition, wherein the second matching condition includes that at least one style class is the same as the click position, and the tag name matches the click position;

[0023] If there is a DOM node that meets the second matching condition, determining that the DOM node is a valid node that matches the click position;

[0024] If not, it is determined that the click position corresponds to an invalid node.

[0025] In one embodiment, the click information further includes user information and click time, and the counting of clicks on each DOM node in the target web page includes:

[0026] Selecting a statistical dimension, and counting the number of clicks on each DOM node of the target webpage according to the statistical dimension, wherein the statistical dimension includes a time range, user information, valid nodes, and invalid nodes;

[0027] Generating heat maps according to the click volume and stay distribution information of each DOM node includes:

[0028] Rendering the target web page according to the click volume to generate a click heat map;

[0029] The target web page is rendered according to the dwell distribution information to generate a scrolling heat map.

[0030] In one embodiment, rendering the target webpage according to the stay distribution information to generate a scrolling heat map includes:

[0031] Divide the target web page into blocks according to preset row heights to obtain multiple page blocks;

[0032] Count the proportion of each page block, where the proportion is the ratio of the number of unique visitors of the page block to the total number of pages;

[0033] The target web page is rendered according to the proportion of each page block to generate a scrolling heat map.

[0034] In one embodiment, the method further comprises:

[0035] Obtain the user's click path through embedding analysis, which includes the click links and sequence on different pages;

[0036] A click analysis request is generated based on the click path and sent to the server.

[0037] On the other hand, a user behavior analysis management device is provided, the device comprising:

[0038] A collection module, used to collect click information and stay distribution information of the target web page, wherein the click information includes click location;

[0039] A matching module, used for acquiring a DOM node in the target webpage that matches the click position according to the click position;

[0040] A statistics module, used to count the number of clicks on each DOM node in the target web page;

[0041] A generation module, used to generate heat maps according to the click volume and stay distribution information of each DOM node;

[0042] The analysis module is used to analyze user behavior based on the heat map and optimize the target web page according to the analysis results.

[0043] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0044] Collecting click information and stay distribution information of the target web page, wherein the click information includes click location;

[0045] Acquire a DOM node in the target webpage that matches the click position according to the click position;

[0046] Counting the number of clicks on each DOM node in the target web page;

[0047] Generate heat maps according to the click volume of each DOM node and the stay distribution information;

[0048] User behavior is analyzed based on the heat map, and the target web page is optimized according to the analysis results.

[0049] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0050] Collecting click information and stay distribution information of the target web page, wherein the click information includes click location;

[0051] Acquire a DOM node in the target webpage that matches the click position according to the click position;

[0052] Counting the number of clicks on each DOM node in the target web page;

[0053] Generate heat maps according to the click volume of each DOM node and the stay distribution information;

[0054] User behavior is analyzed based on the heat map, and the target web page is optimized according to the analysis results.

[0055] The above-mentioned user behavior analysis management method, device, computer equipment and storage medium provide a DOM node matching strategy. By introducing multi-dimensional matching of tag name, style class and same type of position, it is possible to more accurately obtain DOM nodes that match the user's click position, thereby improving the accuracy of the analysis. Based on the matching strategy, it is also possible to accurately track and count the browsing data of each user, and introduce buried point analysis to deeply understand the user's click path and behavior pattern, providing strong data support for further user behavior analysis and personalized recommendation. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 An application environment diagram of a user behavior analysis management method in one embodiment;

[0057] Figure 2 A flowchart of a user behavior analysis management method in one embodiment;

[0058] Figure 3 is a flowchart of a click position matching step in an embodiment;

[0059] Figure 4 is a schematic diagram of a click heat map in an embodiment;

[0060] Figure 5 is a schematic diagram of a rolling heat map in an embodiment;

[0061] Figure 6 A schematic diagram of a user situation in one embodiment;

[0062] Figure 7 A schematic diagram of point burial statistics in an embodiment;

[0063] Figure 8 is a structural block diagram of a user behavior analysis management device in one embodiment;

[0064] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0066] The user behavior analysis management method provided in this application can be applied to Figure 1 In the application environment shown, the terminal 102 communicates with the server 104 through a network. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0067] In one embodiment, Figure 2 As shown, a user behavior analysis management method is provided, comprising the following steps:

[0068] Step S1, collecting click information and stay distribution information of the target web page, wherein the click information includes the click position.

[0069] It should be noted that the website usage statistics systems currently on the market usually track and record users' browsing behaviors through server logs or JavaScript event listeners, collect users' click information and stay distribution information on the page, and then transmit the data information to the server for processing and analysis. When a user clicks on an element on a web page, the detailed information of the click event can be recorded, including user ID, page ID, click location and click time, etc. The user ID is used to determine the user's identity information, and the user's operation data can be filtered out by the user ID for analysis later. The page ID is used to determine which page it is and associate the click event with a specific page, such as the homepage, brand list, and brand details. The click location is the specific location where the click event occurred.

[0070] Step S2, obtaining a DOM node in the target webpage that matches the click position according to the click position, wherein the click position includes a tag name, a style class, and a position of the same type.

[0071] like Figure 3 As shown, the specific steps of obtaining the DOM node matching the click position in the target web page include:

[0072] Step S201, obtaining the DOM node of the target web page.

[0073] It should be noted that DOM (Document Object Model) nodes are components in HTML or XML documents, such as elements, attributes, text, etc. They are the basis of web pages and correspond to actual page elements (such as buttons, links, pictures, etc.).

[0074] By obtaining the source code of the target web page and parsing it into a DOM structure, all node information can be obtained. This application does not specifically limit the method of obtaining, and it can be obtained through JavaScript, Python or other related technologies.

[0075] Step S202, matching the click position with the DOM node according to the tag name, style class and the same type of position.

[0076] Usually, a user's click behavior is triggered by an element on a web page, so each item of the click position is composed of a tag name, a style class and a position of the same type, where the tag name is the tag name of the clicked element, such as div, p, etc. The style class is the CSS class name used by the clicked element, which is used to define the appearance and style of the element. The position of the same type can determine which specific element the user clicked when there are multiple similar elements (elements with the same tag name or style class).

[0077] In order to achieve accurate correspondence between user clicks and web page content, by matching the click position, the DOM node clicked by the user can be accurately located to avoid misjudgment or omission, and then the specific content clicked by the user can be determined to better understand the user's intentions and needs. In addition, using tag names, style classes, and similar positions as matching basis can maintain consistency across different browsers and devices, improving the compatibility and versatility of the code.

[0078] Step S203 , in response to the existence of a DOM node that completely matches the click position, determining that the DOM node is a valid node that matches the click position.

[0079] The DOM node that completely matches the click position directly corresponds to the user's click behavior, reducing the interference of other factors (such as script behavior, dynamic changes in the page, etc.), and can more accurately understand the user's operation intention, thereby providing services or content that better meet the user's expectations. In addition, each user's click behavior is matched to a DOM node, and the behavior and preference data of each user can be collected in subsequent statistics. This data can help optimize web design, adjust content layout, or improve interaction methods, thereby improving user experience and satisfaction.

[0080] Step S204, traverse the DOM nodes of the target web page to obtain all valid nodes matching the click position.

[0081] Step S205 , in response to the absence of a DOM node that completely matches the click position, a downgrade process is performed to partially match the click position with the DOM node.

[0082] In some cases, the user may click on a web page element less accurately, or due to the page layout or visual effects, click on an element that is similar to the target node. The click position is not completely consistent with the expected node, resulting in a complete match of the DOM node. At this time, partial matching through degradation processing can correct the user's click behavior and find nodes that are related or similar to the user's click behavior, thereby getting closer to the user's actual intention and improving the user experience.

[0083] Step S206 , determining whether there is a DOM node in the target webpage that meets a first matching condition, wherein the first matching condition includes that there is at least one style class that is the same as the click position, and the tag name and the same type position match the click position.

[0084] Exemplarily, class="menu1 menu2" and class="menu2 menu3" both have the same style class, satisfying the partial matching condition. Then, when there is at least one identical style class, the matching of tag name and same type of position is considered, which allows a certain style deviation but still ensures that the click position is related to the target node.

[0085] Step S207: If there is a DOM node that meets the first matching condition, the DOM node is determined to be a valid node that matches the click position, and the previous matching steps are recursively repeated until all valid nodes are found.

[0086] Step S208: If there is no DOM node that meets the first matching condition, the click position is further downgraded to match the DOM node.

[0087] Step S209, determining whether there is a DOM node satisfying a second matching condition in the target webpage, wherein the second matching condition includes that there is at least one style class that is the same as the click position, and the tag name matches the click position.

[0088] If no matching node is found when there is at least one identical style class, the matching condition is further reduced to consider only the tag name for matching, and the closest target node is found at the tag level.

[0089] Step S210: If there is a DOM node that meets the second matching condition, the DOM node is determined to be a valid node that matches the click position, and the previous matching steps are recursively repeated until all valid nodes are found.

[0090] Step S211: If it does not exist, it is determined that the click position corresponds to an invalid node.

[0091] When matching click positions, some of the user's click behaviors may not be triggered by visible label elements, but by JavaScript events or dynamically generated elements. In this case, there is no direct label element corresponding to it. In addition, when the DOM node changes, it will also affect the matching of the DOM node. For example, the original DOM node becomes uneditable or invalid due to code changes or cache problems, and the original click position will also not be matched. Therefore, when no DOM node matching the click position is found, it is considered that the click position corresponds to an invalid node.

[0092] Step S3, counting the number of clicks on each DOM node in the target web page.

[0093] Specifically, a statistical dimension is selected, and the number of clicks on each DOM node of the target web page is counted according to the statistical dimension, wherein the statistical dimension includes a time range, user information, valid nodes, and invalid nodes.

[0094] The statistical dimension is a key factor used to divide and classify data. The time range can be used to count the corresponding clicks by hour / day / week / month, and then analyze the distribution of clicks in different time periods, or study the impact of specific seasons or holidays on clicks. Based on the user ID in the collected click information, personal data analysis can also be performed on users, or users can be classified by tags for data analysis.

[0095] Step S4, generating heat maps according to the click volume and stay distribution information of each DOM node.

[0096] like Figure 4 As shown, the target web page is rendered according to the number of clicks to generate a click heat map.

[0097] Specifically, heatmap.js is used to render a click heat map based on the number of clicks on DOM nodes counted by the corresponding statistical dimensions. The heat map uses different colors to represent the number of clicks. The darker the color, the higher the number of clicks in that area. This can intuitively represent the utility and attractiveness of different page elements and which elements are frequently clicked by users. Based on the click heat map, website administrators can optimize page layout, improve element design, or adjust the way information is presented to improve user experience and user satisfaction.

[0098] Among them, since the click heat map is affected by the DOM node, when a node is deleted, hidden or changed in other ways, the previous click information can no longer be matched with the node, and the node becomes invalid. Therefore, when counting the click volume to render the heat map, in order to ensure the accuracy of the heat map, the click volume of the valid node is displayed by default, so that the current DOM status can always be reflected.

[0099] like Figure 5 As shown, the target web page is rendered according to the stay distribution information to generate a scrolling heat map.

[0100] Specifically, the target web page is divided into blocks according to a preset row height to obtain multiple page blocks; the proportion of each page block is counted, where the proportion is the ratio of the number of independent visitors of the page block to the total page; the target web page is rendered according to the proportion of each page block to generate a scrolling heat map.

[0101] For example, the preset line height is set to 200px, and the current entire page content area is divided into multiple areas according to the 200px line height. In order to reflect the browsing situation of each page block, it is necessary to calculate the proportion of each block. The point ratio of each block is the number of independent visitors of the current block / the number of independent visitors of the total page. Through the point ratio of each block, the css linear-gradient is used to render the scrolling heat map. In the scrolling heat map, the darker the color, the more visitors there are in the area, which can intuitively understand the user's browsing habits and interests on the page.

[0102] Step S5, analyzing user behavior based on the heat map, and optimizing the target web page according to the analysis results.

[0103] It should be noted that the stay distribution information collected from the target webpage also includes the user's stay time. When collecting statistics, data is automatically submitted every 30 seconds to prevent the browser from being incompatible with sendBeacon, and the last information is sent using sendBeacon when the user closes the browser. When the user has no click or scroll behavior for 300 seconds, it is considered that the user has left and data collection stops.

[0104] like Figure 6 As shown in the figure, based on user information, the backend can directly count the number of clicks and dwell time of each user, and developers can intuitively view and analyze user behavior data on the front-end interface to understand the user's focus, usage of various web page functions, and usage rate. Through the intuitive display of heat maps and comparative analysis of data indicators such as the number of clicks and dwell time of different users, potential problems and improvement points can be discovered, thereby improving indicators such as user experience and conversion rate.

[0105] like Figure 7 As shown, by setting up tracking points, specific user behaviors or events can be captured. When users interact with the target web page, the tracking points will be triggered and record relevant information, such as the number of clicks, page dwell time, user ID, timestamp, etc. User click operations sometimes involve jumps between different pages. This method can record the user's click links and timing by setting tracking points on multiple pages and components, including which page the user jumps from to another page, and the dwell time on each page. Based on the recorded information and the user's click path, a tracking point analysis request is generated and sent to the server for processing. The back-end server can directly count the page views and unique visitor numbers of each tracking point. These data can help analyze the user's attention to and usage of specific functions or content.

[0106] It should be understood that although Figure 2-3The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0107] In one embodiment, Figure 8 As shown, a user behavior analysis management device is provided, including: a collection module, a matching module, a statistics module, a generation module and an analysis module, wherein:

[0108] A collection module is used to collect click information and stay distribution information of the target web page, and the click information includes the click position;

[0109] A matching module is used to obtain a DOM node matching the click position in the target web page according to the click position;

[0110] Statistics module, used to count the number of clicks on each DOM node in the target web page;

[0111] The generation module is used to generate heat maps according to the click volume and stay distribution information of each DOM node;

[0112] The analysis module is used to analyze user behavior based on heat maps and optimize the target web pages based on the analysis results.

[0113] In one embodiment, the matching module is also used to obtain the DOM node of the target web page; match the click position with the DOM node according to the tag name, style class and the same type of position; in response to the existence of a DOM node that completely matches the click position, determine that the DOM node is a valid node that matches the click position; traverse the DOM nodes of the target web page to obtain all valid nodes that match the click position.

[0114] In one embodiment, the matching module is also used to partially match the click position with the DOM node in response to the absence of a DOM node that completely matches the click position; determine whether there is a DOM node in the target web page that meets the first matching condition, the first matching condition including that there is at least one style class that is the same as the click position, and the tag name and the same type of position match the click position; if there is a DOM node that meets the first matching condition, determine that the DOM node is a valid node that matches the click position; if there is no DOM node that meets the first matching condition, further downgrade the click position to the DOM node.

[0115] In one embodiment, the matching module is also used to determine whether there is a DOM node in the target web page that meets the second matching condition, and the second matching condition includes that there is at least one style class that is the same as the click position, and the tag name matches the click position; if there is a DOM node that meets the second matching condition, the DOM node is determined to be a valid node that matches the click position; if not, the click position is determined to correspond to an invalid node.

[0116] In one embodiment, the statistical module is also used to select statistical dimensions and count the number of clicks on each DOM node of the target web page based on the statistical dimensions, the statistical dimensions including time range, user information, valid nodes and invalid nodes; generate heat maps based on the number of clicks and residence distribution information of each DOM node, including: rendering the target web page based on the number of clicks to generate a click heat map; rendering the target web page based on the residence distribution information to generate a scrolling heat map.

[0117] In one embodiment, the generation module is also used to divide the target web page into blocks according to a preset row height to obtain multiple page blocks; count the proportion of each page block, where the proportion is the ratio of the number of independent visitors of the page block to the total number of pages; render the target web page according to the proportion of each page block to generate a scrolling heat map.

[0118] In one embodiment, the analysis module is also used to obtain the user's click path through embedding analysis, and the click path includes the click links and timing on different pages; generate a embedding analysis request based on the click path and send it to the server.

[0119] For the specific definition of the user behavior analysis management device, please refer to the definition of the user behavior analysis management method above, which will not be repeated here. Each module in the above-mentioned user behavior analysis management device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0120] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store user behavior data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a user behavior analysis management method is implemented.

[0121] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0122] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0123] Collect the click information and stay distribution information of the target web page, the click information includes the click location;

[0124] Get the DOM node matching the click position in the target web page according to the click position;

[0125] Count the number of clicks on each DOM node in the target web page;

[0126] Generate heat maps based on the click volume and stay distribution information of each DOM node;

[0127] Analyze user behavior based on heat maps and optimize target web pages based on the analysis results.

[0128] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the DOM node of the target web page; matching the click position with the DOM node according to the tag name, style class and the same type of position; in response to the existence of a DOM node that completely matches the click position, determining that the DOM node is a valid node that matches the click position; traversing the DOM nodes of the target web page to obtain all valid nodes that match the click position.

[0129] In one embodiment, the processor further implements the following steps when executing the computer program: in response to the absence of a DOM node that completely matches the click position, partially matching the click position with the DOM node; determining whether there is a DOM node in the target web page that meets a first matching condition, the first matching condition including that there is at least one style class that is the same as the click position, and the tag name and the same type of position match the click position; if there is a DOM node that meets the first matching condition, determining that the DOM node is a valid node that matches the click position; if there is no DOM node that meets the first matching condition, further downgrading the click position with the DOM node.

[0130] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining whether there is a DOM node that meets the second matching condition in the target web page, the second matching condition including that there is at least one style class that is the same as the click position, and the tag name matches the click position; if there is a DOM node that meets the second matching condition, determining that the DOM node is a valid node that matches the click position; if not, determining that the click position corresponds to an invalid node.

[0131] In one embodiment, when the processor executes the computer program, the following steps are also implemented: selecting statistical dimensions, and counting the number of clicks on each DOM node of the target web page based on the statistical dimensions, the statistical dimensions including time range, user information, valid nodes, and invalid nodes; rendering the target web page based on the number of clicks to generate a click heat map; rendering the target web page based on the stay distribution information to generate a scrolling heat map.

[0132] In one embodiment, when the processor executes the computer program, the following steps are also implemented: dividing the target web page into blocks according to a preset row height to obtain multiple page blocks; counting the proportion of each page block, where the proportion is the ratio of the number of independent visitors of the page block to the total number of pages; rendering the target web page according to the proportion of each page block to generate a scrolling heat map.

[0133] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the user's click path through click analysis, the click path including the click links and timing on different pages; generating a click analysis request based on the click path and sending it to the server.

[0134] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0135] Collect the click information and stay distribution information of the target web page, the click information includes the click location;

[0136] Get the DOM node matching the click position in the target web page according to the click position;

[0137] Count the number of clicks on each DOM node in the target web page;

[0138] Generate heat maps based on the click volume and stay distribution information of each DOM node;

[0139] Analyze user behavior based on heat maps and optimize target web pages based on the analysis results.

[0140] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the DOM node of the target web page; matching the click position with the DOM node according to the tag name, style class and the same type of position; in response to the existence of a DOM node that completely matches the click position, determining that the DOM node is a valid node that matches the click position; traversing the DOM nodes of the target web page to obtain all valid nodes that match the click position.

[0141] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to the absence of a DOM node that completely matches the click position, partially matching the click position with the DOM node; determining whether there is a DOM node in the target web page that meets a first matching condition, the first matching condition including that there is at least one style class that is the same as the click position, and the tag name and the same type of position match the click position; if there is a DOM node that meets the first matching condition, determining that the DOM node is a valid node that matches the click position; if there is no DOM node that meets the first matching condition, further downgrading the click position with the DOM node.

[0142] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining whether there is a DOM node that meets the second matching condition in the target web page, the second matching condition including that there is at least one style class that is the same as the click position, and the tag name matches the click position; if there is a DOM node that meets the second matching condition, determining that the DOM node is a valid node that matches the click position; if not, determining that the click position corresponds to an invalid node.

[0143] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: selecting statistical dimensions, and counting the number of clicks on each DOM node of the target web page based on the statistical dimensions, the statistical dimensions including time range, user information, valid nodes and invalid nodes; rendering the target web page based on the number of clicks to generate a click heat map; rendering the target web page based on the stay distribution information to generate a scrolling heat map.

[0144] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: dividing the target web page into blocks according to a preset row height to obtain multiple page blocks; counting the proportion of each page block, where the proportion is the ratio of the number of independent visitors of the page block to the total number of pages; rendering the target web page according to the proportion of each page block to generate a scrolling heat map.

[0145] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: through the click analysis, the user's click path is obtained, and the click path includes the click links and timing on different pages; a click analysis request is generated according to the click path and sent to the server.

[0146] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0147] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0148] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A user behavior analysis management method, characterized in that: include: Collecting click information and stay distribution information of the target web page, wherein the click information includes click location; Acquire a DOM node in the target webpage that matches the click position according to the click position; Counting the number of clicks on each DOM node in the target web page; Generate heat maps according to the click volume of each DOM node and the stay distribution information; User behavior is analyzed based on the heat map, and the target web page is optimized according to the analysis results.

2. The user behavior analysis management method according to claim 1, characterized in that: The click position includes a tag name, a style class, and a position of the same type, and obtaining a DOM node matching the click position in the target webpage according to the click position includes: Obtaining the DOM node of the target web page; Matching the click position with the DOM node according to the tag name, style class and position of the same type; In response to the existence of a DOM node that completely matches the click position, determining that the DOM node is a valid node that matches the click position; Traverse the DOM nodes of the target webpage to obtain all valid nodes matching the click position.

3. The user behavior analysis management method according to claim 1 or 2, characterized in that: The step of acquiring a DOM node in the target webpage that matches the click position according to the click position further includes: In response to the absence of a DOM node that completely matches the click position, partially matching the click position with the DOM node; Determine whether there is a DOM node in the target webpage that meets a first matching condition, wherein the first matching condition includes that at least one style class is the same as the click position, and a tag name and a position of the same type match the click position; If there is a DOM node that meets the first matching condition, determining that the DOM node is a valid node that matches the click position; If there is no DOM node satisfying the first matching condition, the click position is further downgraded and matched with the DOM node.

4. The user behavior analysis management method according to claim 3, characterized in that: The further downgrading and matching the click position with the DOM node includes: Determine whether there is a DOM node in the target webpage that meets a second matching condition, wherein the second matching condition includes that at least one style class is the same as the click position, and the tag name matches the click position; If there is a DOM node that meets the second matching condition, determining that the DOM node is a valid node that matches the click position; If not, it is determined that the click position corresponds to an invalid node.

5. The user behavior analysis management method according to claim 4, characterized in that: The click information also includes user information and click time. The statistics of clicks on each DOM node in the target web page include: Selecting statistical dimensions, and counting the number of clicks on each DOM node of the target webpage according to the statistical dimensions, wherein the statistical dimensions include time range, user information, valid nodes, and invalid nodes; Generating heat maps according to the click volume and stay distribution information of each DOM node includes: Rendering the target web page according to the click volume to generate a click heat map; The target web page is rendered according to the dwell distribution information to generate a scrolling heat map.

6. The user behavior analysis management method according to claim 5, characterized in that: The step of rendering the target webpage according to the stay distribution information to generate a scrolling heat map includes: Divide the target web page into blocks according to preset row heights to obtain multiple page blocks; Count the proportion of each page block, where the proportion is the ratio of the number of unique visitors of the page block to the total number of pages; The target web page is rendered according to the proportion of each page block to generate a scrolling heat map.

7. The user behavior analysis management method according to claim 1, characterized in that: The method further comprises: Obtain the user's click path through embedding analysis, which includes the click links and sequence on different pages; A click analysis request is generated based on the click path and sent to the server.

8. A user behavior analysis and management device, characterized in that: The device comprises: A collection module, used to collect click information and stay distribution information of the target web page, wherein the click information includes click location; A matching module, used for acquiring a DOM node in the target webpage that matches the click position according to the click position; A statistics module, used to count the number of clicks on each DOM node in the target web page; A generation module, used to generate heat maps according to the click volume and stay distribution information of each DOM node; The analysis module is used to analyze user behavior based on the heat map and optimize the target web page according to the analysis results.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.