User behavior data collection method, device, computer device, and storage medium

By setting up buried points for the pages of business intelligence products and collecting click event data, the problem of insufficient user access tracking is solved, and in-depth analysis of user behavior and data-driven product optimization is achieved.

CN109582418BActive Publication Date: 2024-11-05PING AN TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811394325.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-11-21
Publication Date
2024-11-05
Estimated Expiration
2038-11-21

AI Technical Summary

Technical Problem

Existing business intelligence (BI) products do not track user access enough, and cannot effectively collect and analyze user behavior data, affecting product optimization and demand planning.

Method used

By setting buried points for the preset page of the product to be tested, listening for click events, judging and setting buried points, collecting user behavior data, and updating buried points records and presentation content based on the analysis results, sending them to the designated object for analysis.

Benefits of technology

It realizes effective collection and analysis of user behavior data, helps understand user habitual behavior, guides product optimization and demand planning, and improves the product's data-driven decision-making capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109582418B_ABST
    Figure CN109582418B_ABST
Patent Text Reader

Abstract

The present invention provides a method for collecting user behavior data, including: when a preset operation instruction is received, setting a tracking point for a preset page of a product to be tested, and creating a tracking point record for the product to be tested; during the operation of the preset page of the product to be tested, listening to a click event occurring on the preset page; determining whether a tracking point is set for the control corresponding to the detected click event according to the tracking point record; when a tracking point is not set for the control corresponding to the detected click event, setting a tracking point for the control corresponding to the detected click event, and updating the tracking point record; and when a tracking point is set for the control corresponding to the detected click event, collecting the user behavior data generated at the set tracking point through the set tracking point. The present invention also provides a device, a computer device, and a storage medium for implementing the user behavior data collection method. The present invention is used to solve the technical problem of insufficient tracking of user access.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, computer device, and storage medium for collecting user behavior data. Background Art

[0002] Business Intelligence (BI) is the reorganization and presentation of application system (such as ERP, CRM) data through a systematic architecture. The organization can be multi-dimensional, and the presentation is in the form of reports, graphics, dashboards, etc. In addition, it can also provide business analysis functions such as indicator monitoring, dashboards, trend analysis, model analysis, etc. It can be seen that the BI product application architecture includes three parts: data acquisition, data storage and data presentation. Among them, data is extracted from the database through ETL (Extraction Transforming Loading) tools, and then the extracted data is stored in the data warehouse. Finally, the data is queried from the data warehouse through query statements and the returned data is presented through reports or graphics.

[0003] Existing BI products do not adequately track user access. Summary of the invention

[0004] In view of the above, it is necessary to propose a user behavior data collection method, device, computer device, and storage medium to solve the technical problem of insufficient tracking of user access status.

[0005] A first aspect of the present invention provides a method for collecting user behavior data, the method comprising:

[0006] When receiving a preset operation instruction, a tracking point is set for a preset page of the product to be tested, and a tracking point record is created for the product to be tested;

[0007] During the operation of the preset page of the product to be tested, listening to a click event occurring on the preset page;

[0008] Determine whether a control corresponding to the detected click event has a tracking point set according to the tracking point record;

[0009] When the control corresponding to the intercepted click event has no tracking point set, set a tracking point for the control corresponding to the intercepted click event, and update the tracking point record; and

[0010] When a tracking point is set for the control corresponding to the detected click event, the user behavior data generated at the tracking point is collected through the set tracking point.

[0011] Preferably, the embedding point record includes the page identifier of the page where the embedding point is set, the control name corresponding to the set embedding point, and the embedding point code corresponding to each embedding point.

[0012] Preferably, setting a tracking point for a control corresponding to the detected click event and updating the tracking point record includes:

[0013] When the control corresponding to the detected click event has no tracking point set, a dialog box is displayed to prompt the user to choose whether to set a tracking point for the control corresponding to the detected click event; and

[0014] When it is detected that the selection operation is to set a tracking point for the control corresponding to the detected click event, a tracking point is set for the control corresponding to the detected click event; and

[0015] When it is detected that the selection operation is not to set a tracking point for the control corresponding to the detected click event, continue to listen for the click event occurring on the preset page.

[0016] Preferably, the collected user behavior data includes the control corresponding to the embedding point, feature information of the control corresponding to the embedding point, the click time when the user clicks the control corresponding to the embedding point, and features of the user who clicks the control corresponding to the embedding point.

[0017] Preferably, the method further comprises:

[0018] The collected user behavior data is sent to a specified object, which is a preset email address or a specified device.

[0019] Preferably, before sending the user behavior data, the method further includes:

[0020] The user behavior data is analyzed, and corresponding content is displayed on the preset page according to the analysis result.

[0021] Preferably, the user behavior data includes website visit records, user registration and login records, user subscription records, and order purchase records. Before sending the user behavior data, the method further includes:

[0022] Calculating the registration conversion rate of the website based on the visit records of the website and the user registration and login records;

[0023] Calculating the subscription conversion rate of the website based on the access records and user subscription records of the website; and

[0024] The purchase conversion rate of the website is calculated based on the visit records and order purchase records of the website.

[0025] A second aspect of the present invention provides a computer device, the computer device comprising a processor, the processor being configured to implement the user behavior data collection method when executing a computer program stored in a memory.

[0026] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the user behavior data collection method when executed by a processor.

[0027] A fourth aspect of the present invention provides a user behavior data collection device, the device comprising:

[0028] A setting module, used for setting a tracking point for a preset page of the product to be tested when receiving a preset operation instruction, and creating a tracking point record for the product to be tested;

[0029] A monitoring module, used for monitoring click events occurring on the preset page during the operation of the preset page of the product to be tested;

[0030] A judgment module, used for judging whether a control corresponding to the detected click event has a tracking point set according to the tracking point record;

[0031] An execution module, configured to set a tracking point for the control corresponding to the detected click event when no tracking point is set for the control corresponding to the detected click event, and update the tracking point record; and

[0032] The execution module is also used to collect user behavior data generated at the set tracking points when a tracking point is set for the control corresponding to the detected click event.

[0033] The user behavior data collection method and device, computer device, and storage medium described in the embodiments of the present invention set a tracking point for the preset page of the product to be tested according to the operation instructions input by the user, and create a tracking point record; during the operation of the preset page of the product to be tested, listen to the click event that occurs on the preset page; when the control corresponding to the click event detected does not have a tracking point set, set the tracking point according to the user's input, and when the control corresponding to the click event detected has a tracking point set, collect the user behavior data generated at the tracking point. The present invention can collect user behavior data that occurs at the set tracking points, so that the collected user behavior data can be used to analyze user habitual behavior, which is conducive to further planning the direction of product demand. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0035] Figure 1 It is a flow chart of the user behavior data collection method provided in the first embodiment of the present invention.

[0036] Figure 2 It is a structural diagram of a user behavior data collection device provided in Embodiment 2 of the present invention.

[0037] Figure 3 It is a schematic diagram of a computer device provided in Embodiment 3 of the present invention.

[0038] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0039] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0040] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0042] Embodiment 1

[0043] Figure 1 It is a flow chart of the user behavior data collection method provided in the first embodiment of the present invention.

[0044] In this embodiment, the user behavior data collection method can be applied to a computer device. For a computer device that needs to collect user behavior data, the function for collecting user behavior data provided by the method of the present invention can be directly integrated on the computer device, or run on the computer device in the form of a software development kit (SDK).

[0045] like Figure 1 As shown, the user behavior data collection method specifically includes the following steps. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0046] In this embodiment, the computer device may be a personal computer, a server, a smart TV, a portable electronic device such as a mobile phone, a tablet computer, or the like.

[0047] Step S1: The computer device receives an operation instruction input by a user, and sets a tracking point for a preset page of a product to be tested when receiving a preset operation instruction. The computer device also creates a tracking point record for the product to be tested according to the operation instruction input by the user.

[0048] In one embodiment, the embedding record includes the page ID of the page where the embedding is set, the control name corresponding to the embedded point, and the embedding code corresponding to each embedding. That is, the embedding record is used to record which controls on which page of the product to be tested have embedded points set.

[0049] In one embodiment, the product to be tested is a product that requires collecting user behavior data generated when users use the product to be tested.

[0050] In one embodiment, the product to be tested may be business intelligence (BI) software, any App (Application) that needs to interact with users, or other products that need to interact with users such as websites, etc. Taking the product to be tested as business intelligence software as an example, the preset pages of the product to be tested may be various user interfaces corresponding to the presentation layer of the BI software.

[0051] Taking the product to be tested as an App that needs to interact with a user as an example, the preset pages of the product to be tested may be various user interfaces corresponding to the App.

[0052] Taking the product to be tested as a website as an example, the preset pages of the product to be tested may be various web pages corresponding to the website.

[0053] In this embodiment, the controls corresponding to the set tracking points may include, but are not limited to, switches, Edittext, buttons, URL (Uniform Resource Locator) links, etc.

[0054] For example, if you need to obtain user behavior data generated by all user behaviors under a domain name, you can embed points in various controls contained in the web page (such as switches, Edittext, buttons, URL (Uniform Resource Locator) links), that is, embed points in each control.

[0055] For another example, take a user modifying a service in a mobile online business hall. Assuming that in order to complete the service, the user needs to click on each button involved in the service in sequence. Therefore, each button involved in the service can be buried.

[0056] Step S2: During the operation of the preset page of the product to be tested, the computer device listens for click events occurring on the preset page.

[0057] Step S3, when a click event is detected, the computer device determines whether the control corresponding to the detected click event has a tracking point set according to the tracking point record. If the control corresponding to the detected click event has no tracking point set, execute step S4. If the control corresponding to the detected click event has a tracking point set, execute step S5.

[0058] For example, assuming that in step S2, a click event on a button "B1" on a web page "A" of a certain website is detected, the computer device can query the tracking record to check whether a tracking point has been set for the button "B1". If a tracking point has not been set for the button "B1", step S4 is executed. If a tracking point has been set for the button "B1", step S5 is executed.

[0059] Step S4: When the control corresponding to the detected click event has no embedded point set, the computer device sets an embedded point for the control corresponding to the detected click event and updates the embedded point record. After executing step S4, the computer device returns to step S2 and continues to listen for click events occurring on the preset page.

[0060] In one embodiment, setting a tracking point for a control corresponding to the detected click event and updating the tracking point record includes steps (a1)-(a3):

[0061] (a1) When the control corresponding to the detected click event has no tracking point set, a dialog box is displayed to prompt the user to choose whether to set a tracking point for the control corresponding to the detected click event.

[0062] (a2) When it is detected that the selection operation is to set a tracking point for the control corresponding to the detected click event, a tracking point is set for the control corresponding to the detected click event, and the tracking point record is updated.

[0063] (a3) When it is detected that the selection operation is not to set a tracking point for the control corresponding to the detected click event, continue to listen for the click event occurring on the preset page.

[0064] Step S5: If a tracking point is set for the control corresponding to the detected click event, the computer device collects the user behavior data generated at the set tracking point through the set tracking point.

[0065] For example, assuming that a click event is detected on a button "B1" on a webpage "A" of a certain website, and a corresponding tracking point "X" has been set for the button "B1", the user behavior data generated at the tracking point "X" is collected. In one embodiment, the collected user behavior data includes, but is not limited to, the control corresponding to the tracking point, the feature information of the control corresponding to the tracking point, the click time when the user clicks the control corresponding to the tracking point, and the features of the user who clicks the control corresponding to the tracking point.

[0066] In one embodiment, the feature information of the control corresponding to the buried point may include the name, function and other information of the control. The click time refers to the absolute time when the user clicks the control. The user's features may include information such as login status, user name, and the user's current location. In one embodiment, the user's current location may refer to the location coordinates.

[0067] Step S6: The computer device sends the collected user behavior data to a designated object.

[0068] In one embodiment, the designated object may be a preset email address, a designated device (such as a computer, a mobile phone, etc.). In one embodiment, before sending the user behavior data, the computer device may calculate the relevant conversion rate, etc. based on the collected user behavior data, and send the calculation result (such as the relevant conversion rate, etc.) to the designated object, or send the calculation result together with the collected user behavior data to the designated object.

[0069] In one embodiment, the user behavior data includes website visit records, user registration and login records, user subscription records, and order purchase records. Before sending the user behavior data, the computer device further includes steps (b1)-(b3):

[0070] (b1), calculating the registration conversion rate of the website according to the access records of the website and the user registration and login records;

[0071] (b2), calculating the subscription conversion rate of the website according to the access records and user subscription records of the website; and

[0072] (b3) calculating the purchase conversion rate of the website based on the visit records and order purchase records of the website.

[0073] For example, if the collected user behavior data includes the visit records, user registration and login records, user subscription records, and order purchase records of a certain website, assuming that 100 visit records of the website and 10 user registration and login records of the website are collected, then the registration conversion rate of the website can be calculated to be 10% based on the visit records and user registration and login records of the website. If 2 users subscribe to the website, then the subscription conversion rate of the website can be calculated to be 2% based on the visit records and user subscription records of the website. If there is a record of a user placing an order for purchase on the website, then the purchase conversion rate of the website can be calculated to be 1% based on the visit records and order purchase records of the website.

[0074] In one embodiment, before sending the user behavior data, the computer device may also analyze the user behavior data and display corresponding content on the preset page according to the analysis result.

[0075] Taking the user behavior data including the click time as an example, the computer device can first determine which preset time range the click time belongs to, and display corresponding content on the current page according to the preset time range to which the click time belongs.

[0076] For example, assuming that the current time is between 3:00 and 4:00 in the afternoon, the computer device may push an afternoon tea advertisement on the current page.

[0077] Taking the case where the user behavior data includes the coordinates of the user's current location as an example, the computer device can query the name of the user's current location based on the coordinates of the user's current location, and make corresponding recommendations based on the name of the current location.

[0078] In one embodiment, the computer device may obtain the place name corresponding to the user's current location coordinates from a preset map (eg, Baidu Map, Google Map, etc.).

[0079] For example, assuming that the name of the current location is "KFC", the computer device can push related advertisements of "KFC" to the current page.

[0080] In summary, the user behavior data collection method described in the embodiment of the present invention sets a tracking point for the preset page of the product to be tested according to the operation instructions input by the user, and creates a tracking point record; during the operation of the preset page of the product to be tested, listens to the click event occurring on the preset page; when the control corresponding to the click event detected does not have a tracking point set, sets the tracking point according to the user's input, and when the control corresponding to the click event detected has a tracking point set, collects the user behavior data generated at the tracking point. The present invention can collect user behavior data occurring at the set tracking points, so that the collected user behavior data can be used to analyze user habitual behavior, which is conducive to further planning the direction of product demand.

[0081] Above Figure 1 The user behavior data collection method of the present invention is introduced in detail. The functional modules of the software device that implements the user behavior data collection method and the hardware device architecture that implements the user behavior data collection method are introduced below in conjunction with Figures 2 to 3.

[0082] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0083] Embodiment 2

[0084] See also Figure 2 , which is a structural diagram of a user behavior data collection device provided in Embodiment 2 of the present invention.

[0085] In some embodiments, the user behavior data collection device 30 runs in a computer device. The user behavior data collection device 30 may include multiple functional modules composed of program code segments. The program code of each program segment in the user behavior data collection device 30 may be stored in the memory of the computer device and executed by at least one processor of the computer device to implement (see Figure 1 Description) User behavior data collection function.

[0086] In this embodiment, the user behavior data collection device 30 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: a setting module 301, a listening module 302, a judgment module 303, and an execution module 304. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0087] The setting module 301 receives the operation instruction input by the user, and sets a tracking point for the preset page of the product to be tested when the operation instruction is received. The setting module 301 also creates a tracking point record for the product to be tested according to the operation instruction input by the user.

[0088] In one embodiment, the embedding record includes the page ID of the page where the embedding is set, the control name corresponding to the embedded point, and the embedding code corresponding to each embedding. That is, the embedding record is used to record which controls on which page of the product to be tested have embedded points set.

[0089] In one embodiment, the product to be tested is a product that requires collecting user behavior data generated when users use the product to be tested.

[0090] In one embodiment, the product to be tested may be business intelligence (BI) software, any App (Application) that needs to interact with users, or other products that need to interact with users such as websites, etc. Taking the product to be tested as business intelligence software as an example, the preset pages of the product to be tested may be various user interfaces corresponding to the presentation layer of the BI software.

[0091] Taking the product to be tested as an App that needs to interact with a user as an example, the preset pages of the product to be tested may be various user interfaces corresponding to the App.

[0092] Taking the product to be tested as a website as an example, the preset pages of the product to be tested may be various web pages corresponding to the website.

[0093] In this embodiment, the controls corresponding to the set tracking points may include, but are not limited to, switches, Edittext, buttons, URL (Uniform Resource Locator) links, etc.

[0094] For example, if you need to obtain user behavior data generated by all user behaviors under a domain name, you can embed points in various controls contained in the web page (such as switches, Edittext, buttons, URL (Uniform Resource Locator) links), that is, embed points in each control.

[0095] For another example, take a user modifying a service in a mobile online business hall. Assuming that in order to complete the service, the user needs to click on each button involved in the service in sequence. Therefore, each button involved in the service can be buried.

[0096] The monitoring module 302 monitors click events occurring on the preset page during the operation of the preset page of the product to be tested.

[0097] When a click event is detected, the determination module 303 determines whether a tracking point is set for the control corresponding to the detected click event according to the tracking point record.

[0098] For example, assuming that a click event is detected on a button "B1" on a web page "A" of a website, the judgment module 303 can query the tracking record to see whether a corresponding tracking point has been set for the button "B1".

[0099] If the control corresponding to the intercepted click event has no tracking point set, the execution module 304 sets a tracking point for the control corresponding to the intercepted click event and updates the tracking point record. After the execution module 304 updates the tracking point record, the listening module 302 continues to listen for click events occurring on the preset page.

[0100] In one embodiment, setting a tracking point for a control corresponding to the detected click event and updating the tracking point record includes steps (a1)-(a3):

[0101] (a1) When the control corresponding to the detected click event has no tracking point set, the execution module 304 may also display a dialog box to prompt the user to choose whether to set a tracking point for the control corresponding to the detected click event.

[0102] (a2) When it is detected that the selection operation is to set a tracking point for the control corresponding to the detected click event, the execution module 304 sets a tracking point for the control corresponding to the detected click event and updates the tracking point record.

[0103] (a3) When it is detected that the selection operation is not to set a tracking point for the control corresponding to the detected click event, the monitoring module 302 continues to monitor the click event occurring on the preset page.

[0104] If a tracking point is set for the control corresponding to the detected click event, the execution module 304 collects the user behavior data generated at the set tracking point through the set tracking point.

[0105] For example, assuming that a click event is detected on the button "B1" on the web page "A" of the website, and the button "B1" has a corresponding tracking point "X", then the user behavior data generated at the tracking point "X" is collected.

[0106] In one embodiment, the collected user behavior data includes, but is not limited to, the control corresponding to the embedding point, feature information of the control corresponding to the embedding point, the click time when the user clicks the control corresponding to the embedding point, and features of the user who clicks the control corresponding to the embedding point.

[0107] In one embodiment, the feature information of the control corresponding to the buried point may include the name, function and other information of the control. The click time refers to the absolute time when the user clicks the control. The user's features may include information such as login status, user name, and the user's current location. In one embodiment, the user's current location may refer to the location coordinates.

[0108] The execution module 304 sends the collected user behavior data to a designated object.

[0109] In one embodiment, the designated object may be a preset email address, a designated device (e.g., a computer, a mobile phone, etc.). In one embodiment, before sending the user behavior data, the execution module 304 may calculate the relevant conversion rate, etc. based on the collected user behavior data, and send the calculation result (e.g., the relevant conversion rate, etc.) to the designated object, or send the calculation result together with the collected user behavior data to the designated object.

[0110] In one embodiment, the user behavior data includes website visit records, user registration and login records, user subscription records, and order purchase records. Before sending the user behavior data, the execution module 304 also includes steps (b1)-(b3):

[0111] (b1), calculating the registration conversion rate of the website according to the access records of the website and the user registration and login records;

[0112] (b2), calculating the subscription conversion rate of the website according to the access records and user subscription records of the website; and

[0113] (b3) calculating the purchase conversion rate of the website based on the visit records and order purchase records of the website.

[0114] For example, if the collected user behavior data includes the visit records, user registration and login records, user subscription records, and order purchase records of a certain website, assuming that 100 visit records of the website and 10 user registration and login records of the website are collected, then the registration conversion rate of the website can be calculated to be 10% based on the visit records and user registration and login records of the website. If 2 users subscribe to the website, then the subscription conversion rate of the website can be calculated to be 2% based on the visit records and user subscription records of the website. If there is a record of a user placing an order for purchase on the website, then the purchase conversion rate of the website can be calculated to be 1% based on the visit records and order purchase records of the website.

[0115] In one embodiment, before sending the user behavior data, the execution module 304 may also analyze the user behavior data and display corresponding content on the preset page according to the analysis result.

[0116] Taking the user behavior data including the click time as an example, the execution module 304 can first determine which preset time range the click time belongs to, and display corresponding content on the current page according to the preset time range to which the click time belongs.

[0117] For example, assuming that the current time is between 3:00 and 4:00 in the afternoon, the execution module 304 may push an afternoon tea advertisement on the current page.

[0118] Taking the case where the user behavior data includes the coordinates of the user's current location as an example, the execution module 304 can query the name of the user's current location according to the coordinates of the user's current location, and make corresponding recommendations based on the name of the current location.

[0119] In one embodiment, the execution module 304 may obtain the place name corresponding to the user's current location coordinates from a preset map (eg, Baidu Map, Google Map, etc.).

[0120] For example, assuming that the name of the current location is "KFC", the execution module 304 can push related advertisements of "KFC" to the current page.

[0121] In summary, the user behavior data collection device described in the embodiment of the present invention sets a tracking point for the preset page of the product to be tested according to the operation instructions input by the user, and creates a tracking point record; during the operation of the preset page of the product to be tested, listens to the click event occurring on the preset page; when the control corresponding to the click event detected does not have a tracking point set, sets the tracking point according to the user's input, and when the control corresponding to the click event detected has a tracking point set, collects the user behavior data generated at the tracking point. The present invention can collect user behavior data occurring at the set tracking points, so that the collected user behavior data can be used to analyze user habitual behaviors, which is conducive to further planning the direction of product demand.

[0122] Embodiment 3

[0123] See also Figure 3 FIG. 1 is a schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention. In a preferred embodiment of the present invention, the computer device 3 includes a memory 31, at least one processor 32, and at least one communication bus 33. Those skilled in the art should understand that Figure 3 The structure of the computer device shown does not constitute a limitation of the embodiments of the present invention, and may be a bus structure or a star structure. The computer device 3 may also include more or less other hardware or software than shown in the figure, or a different arrangement of components.

[0124] In some embodiments, the computer device 3 includes a terminal that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits, programmable gate arrays, digital processors, and embedded devices.

[0125] It should be noted that the computer device 3 is only an example, and other existing or future electronic products that are suitable for the present invention should also be included in the protection scope of the present invention and included here by reference.

[0126] In some embodiments, the memory 31 is used to store program codes and various data, such as the user behavior data collection device 30 installed in the computer device 3, and to achieve high-speed and automatic access to programs or data during the operation of the computer device 3. The memory 31 includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0127] In some embodiments, the at least one processor 32 may be composed of an integrated circuit, such as a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The at least one processor 32 is the control core (Control Unit) of the computer device 3, and uses various interfaces and lines to connect various components of the entire computer device 3, and executes or executes programs or modules stored in the memory 31, and calls data stored in the memory 31 to execute various functions of the computer device 3 and process data, such as executing the function of collecting user behavior data.

[0128] In some embodiments, the at least one communication bus 33 is configured to implement connection and communication between the memory 31 and the at least one processor 32, etc.

[0129] Although not shown, the computer device 3 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 32 through a power management device, so that the power management device can manage charging, discharging, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The computer device 3 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0130] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0131] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a server, a personal computer, etc.) or a processor to execute a part of the method described in each embodiment of the present invention.

[0132] In a further embodiment, in combination Figure 2 The at least one processor 32 can execute the operating device of the computer device 3 and various installed application programs (such as the user behavior data collection device 30), program codes, etc., for example, the above-mentioned modules.

[0133] The memory 31 stores program codes, and the at least one processor 32 can call the program codes stored in the memory 31 to execute related functions. For example, Figure 2 The various modules described are program codes stored in the memory 31 and are executed by the at least one processor 32, thereby realizing the functions of the various modules to achieve the purpose of collecting user behavior data.

[0134] In one embodiment of the present invention, the memory 31 stores a plurality of instructions, and the plurality of instructions are executed by the at least one processor 32 to achieve the purpose of collecting user behavior data.

[0135] Specifically, the specific implementation method of the at least one processor 32 for the above instructions can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0136] In the several embodiments provided by the present invention, it should be understood that the disclosed device, storage medium and method can be implemented in other ways. For example, the device embodiment described above is only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0137] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0138] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0139] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0140] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for collecting user behavior data, It is characterized in that The method comprises: When receiving a preset operation instruction, a tracking point is set for a preset page of the product to be tested, and a tracking point record is created for the product to be tested; During the operation of the preset page of the product to be tested, listening to a click event occurring on the preset page; Determine whether a control corresponding to the detected click event has a tracking point set according to the tracking point record; When the control corresponding to the detected click event has no tracking point set, a tracking point is set for the control corresponding to the detected click event, and the tracking point record is updated, including: when the control corresponding to the detected click event has no tracking point set, a dialog box is displayed to prompt the user to choose whether to set a tracking point for the control corresponding to the detected click event; and when it is detected that the selection operation is to set a tracking point for the control corresponding to the detected click event, a tracking point is set for the control corresponding to the detected click event; and when it is detected that the selection operation is not to set a tracking point for the control corresponding to the detected click event, continue to listen for click events occurring on the preset page; When a tracking point is set for the control corresponding to the detected click event, user behavior data generated at the set tracking point is collected through the set tracking point, wherein the collected user behavior data includes the click time when the user clicks the control corresponding to the tracking point, and the characteristics of the user who clicks the control corresponding to the tracking point, and the user characteristics include the current location of the user; and The user behavior data is analyzed, and corresponding content is displayed on the preset page according to the analysis results, including determining which preset time range of the day the click moment belongs to, and pushing advertisements corresponding to the preset time range according to the preset time range to which the click moment belongs; and querying the name of the user's current location according to the user's current location, and making corresponding recommendations based on the name of the current location.

2. The user behavior data collection method according to claim 1, It is characterized in that The embedding point record includes the page identifier of the page where the embedding point is set, the control name corresponding to the set embedding point, and the embedding point code corresponding to each embedding point.

3. The user behavior data collection method according to claim 1, It is characterized in that The collected user behavior data also includes the controls corresponding to the embedding points and feature information of the controls corresponding to the embedding points.

4. The user behavior data collection method according to claim 1, It is characterized in that The method further comprises: The collected user behavior data is sent to a specified object, which is a preset email address or a specified device.

5. The user behavior data collection method according to claim 1, It is characterized in that The user behavior data also includes website visit records, user registration and login records, user subscription records, and order purchase records. Before sending the user behavior data, the method further includes: Calculating the registration conversion rate of the website based on the visit records of the website and the user registration and login records; Calculating the subscription conversion rate of the website based on the access records and user subscription records of the website; and The purchase conversion rate of the website is calculated based on the visit records and order purchase records of the website.

6. A computer device, It is characterized in that The computer device includes a processor, and the processor is used to implement the user behavior data collection method as described in any one of claims 1 to 5 when executing a computer program stored in a memory.

7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, it implements the user behavior data collection method as described in any one of claims 1 to 5.

8. A user behavior data collection device, It is characterized in that The device comprises: A setting module, used for setting a tracking point for a preset page of the product to be tested when receiving a preset operation instruction, and creating a tracking point record for the product to be tested; A monitoring module, used for monitoring click events occurring on the preset page during the operation of the preset page of the product to be tested; A judgment module, used for judging whether a control corresponding to the detected click event has a tracking point set according to the tracking point record; An execution module, used for setting a tracking point for the control corresponding to the detected click event when no tracking point is set for the control corresponding to the detected click event, and updating the tracking point record, including: when no tracking point is set for the control corresponding to the detected click event, displaying a dialog box to prompt the user to select whether to set a tracking point for the control corresponding to the detected click event; and when it is detected that the selection operation is to set a tracking point for the control corresponding to the detected click event, setting a tracking point for the control corresponding to the detected click event; and when it is detected that the selection operation is not to set a tracking point for the control corresponding to the detected click event, continuing to listen for click events occurring on the preset page; The execution module is further configured to collect user behavior data generated at the set tracking points when a tracking point is set for the control corresponding to the detected click event, wherein the collected user behavior data includes the click time when the user clicks the control corresponding to the tracking point, and the characteristics of the user who clicks the control corresponding to the tracking point, and the characteristics of the user include the current location of the user; and The user behavior data is analyzed, and corresponding content is displayed on the preset page according to the analysis results, including determining which preset time range of the day the click moment belongs to, and pushing advertisements corresponding to the preset time range according to the preset time range to which the click moment belongs; and querying the name of the user's current location according to the user's current location, and making corresponding recommendations based on the name of the current location.