CN117196662A - User behavior acquisition method, device and medium based on e-commerce platform - Google Patents
User behavior acquisition method, device and medium based on e-commerce platform Download PDFInfo
- Publication number
- CN117196662A CN117196662A CN202310302166.8A CN202310302166A CN117196662A CN 117196662 A CN117196662 A CN 117196662A CN 202310302166 A CN202310302166 A CN 202310302166A CN 117196662 A CN117196662 A CN 117196662A
- Authority
- CN
- China
- Prior art keywords
- user
- commerce platform
- information
- behavior
- logged
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000006243 chemical reaction Methods 0.000 claims abstract description 29
- 230000006399 behavior Effects 0.000 claims description 116
- 230000008569 process Effects 0.000 claims description 8
- 230000005611 electricity Effects 0.000 claims description 2
- 238000012544 monitoring process Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 235000013361 beverage Nutrition 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 235000011888 snacks Nutrition 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a user behavior acquisition method, device and medium based on an e-commerce platform, which are used for solving the technical problems that a great amount of useless data exists in user behavior information acquired in the prior art, and the accuracy of the counted user conversion rate is low. Comprising the following steps: based on the access trigger of the user to the e-commerce platform, acquiring access information of the user and judging whether the user logs in the e-commerce platform; generating a universal unique identification code of an unregistered user based on a script file of an e-commerce platform, collecting corresponding behavior information, and collecting page information which is checked by the unregistered user when the service is executed based on programs to be executed of each execution node; determining that a user logs in an e-commerce platform, acquiring corresponding user information and token identification based on a script file, and acquiring logged-in user behavior information based on a program to be executed; and analyzing the behavior information to determine a funnel model corresponding to the commodity browsing, ordering and payment, and determining the conversion amount of the user according to the actual data in the funnel model.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, and a medium for acquiring user behavior based on an e-commerce platform.
Background
At present, with the rapid development of the e-commerce platform, the data volume on the e-commerce platform is also increasing. Analysis of user data in an e-commerce platform becomes critical, and meanwhile, the acquisition difficulty of user behavior information is gradually increased. On one hand, the user has a plurality of opaque behaviors in the process of entering the e-commerce platform to browse the commodity and purchasing the commodity, and on the other hand, the equipment used by the user and the time when the user browses also need to be subjected to unified analysis.
However, the existing statistical method has a large amount of useless data statistics, the accuracy of the user behavior information counted in the e-commerce platform cannot be guaranteed, the analysis result of the user behavior information is not real, the real use feeling of the user on the e-commerce platform cannot be obtained according to the analysis result, and the accuracy of the counted user conversion rate is lower.
Disclosure of Invention
The embodiment of the application provides a user behavior acquisition method, device and medium based on an e-commerce platform, which are used for solving the technical problems that a great amount of useless data exists in user behavior information acquired in the prior art, and the accuracy of the counted user conversion rate is low.
In one aspect, an embodiment of the present application provides a method for collecting user behavior based on an e-commerce platform, including:
based on access trigger of a user to an e-commerce platform, access information of the user is obtained, and whether the user logs in the e-commerce platform is judged according to the access information;
generating a universal unique identification code of an unregistered user based on a script file which is embedded in the electronic commerce platform in advance, collecting behavior information of the unregistered user, and collecting page information viewed by the unregistered user when a service corresponding to the program to be executed is executed based on the program to be executed which is embedded in advance in each execution node;
when the user is determined to log in the electric Shang Ping station, acquiring user information and token identification of the logged-in user based on the script file, and acquiring behavior information of the logged-in user based on a program to be executed, which is embedded into each execution node and carries the user information and the token identification;
and determining a funnel model corresponding to commodity browsing to ordering and payment of the user by analyzing behavior information of the unregistered user and the logged user, and determining conversion quantity of the user according to actual data in the funnel model.
In one implementation manner of the present application, the generating a universal unique identification code of an unregistered user based on a script file embedded in advance in the e-commerce platform, and collecting behavior information of the unregistered user specifically includes:
under the condition that the user is determined to be not logged in the E-commerce platform, generating a corresponding universal unique identification code for the user which is not logged in based on a script file which is embedded in the E-commerce platform in advance, and identifying the user which is not logged in through the universal unique identification code;
when the unregistered user triggers the e-commerce platform, acquiring behavior information of the unregistered user based on the script file which is embedded in the e-commerce platform in advance, and storing the behavior information of the unregistered user into a user data warehouse;
inquiring operation information of the unregistered user in the e-commerce platform according to a preset time interval, determining whether the unregistered user is not operated for a long time or triggers to operate a page which is not in the e-commerce platform or is switched to a non-e-commerce platform according to the operation information, and if so, stopping collecting behavior information of the unregistered user.
In one implementation manner of the present application, based on the program to be executed embedded in each execution node in advance, the method includes collecting page information viewed by the unregistered user when a service corresponding to the program to be executed is executed, specifically including:
determining execution nodes corresponding to a plurality of designated pages in the e-commerce platform, and respectively embedding corresponding programs to be executed in each execution node;
monitoring the operation of the unregistered user in a designated page, and executing a program to be executed in an execution node corresponding to the designated page;
and acquiring page information viewed by the unregistered user in the designated page, and storing the page information viewed by the unregistered user into a user data warehouse.
In one implementation manner of the present application, when it is determined that a user logs in the electricity Shang Ping platform, user information and token identification of the logged-in user are collected based on the script file, and behavior information of the logged-in user is obtained based on a program to be executed, which is embedded into each execution node and carries the user information and the token identification, specifically including:
under the condition that the access information comprises at least one piece of basic information of a user, determining that the user logs in the E-commerce platform, and discarding a universal unique identification code when the user does not log in the Shang Ping electric platform;
based on a script file which is embedded in the electronic commerce platform in advance, acquiring user information and token identification corresponding to a logged-in user, and identifying the logged-in user through the user information and the token information;
determining to-be-executed programs embedded with user information and token identifications of logged-in users in execution nodes corresponding to a plurality of designated pages of the e-commerce platform, and executing the to-be-executed programs in the execution nodes corresponding to the designated pages when the logged-in users operate in the designated pages;
and acquiring behavior information of the logged-in user in the designated page based on the execution of the program to be executed, and storing the user information, the token identification and the behavior information of the logged-in user into a user data warehouse.
In one implementation manner of the present application, the determining, by analyzing behavior information of the unregistered user and the logged-in user, a funnel model corresponding to browsing goods to ordering and payment of the user specifically includes:
in a user data warehouse, acquiring behavior information of a user which is not logged in and behavior information of a user which is logged in, and determining that the user is a new user according to a registration business process executed by the user on the e-commerce platform in the behavior information;
determining browsing behaviors of a user according to clicking operations or page switching operations of the user on the e-commerce platform in behavior information, acquiring identification information of the user, and determining the identity of the user so as to add the user to the access amount of the e-commerce platform;
determining ordering information corresponding to a user based on ordering operation of the user on the e-commerce platform in behavior information, and adding the ordering information to the ordering amount of the e-commerce platform; the ordering information at least comprises ordering users, ordering quantity and ordering amount;
determining the payment behavior of the user based on a payment success interface which is jumped and returned by the user in behavior information, and acquiring a corresponding payment amount so as to add the payment amount to the transaction amount of the e-commerce platform;
and counting the browsing amount of the E-commerce platform, the number of newly added users, the number of visitors on the same day and the total number of orders on the same day, and determining a funnel model corresponding to the user from browsing commodity to ordering and paying.
In one implementation of the present application, the determining the conversion amount of the user according to the actual data in the funnel model further includes:
receiving conversion quantity checking requirements of a user, and determining a time interval corresponding to the conversion quantity according to the conversion quantity checking requirements;
and counting the actual data in the funnel model in the time interval to determine the access quantity, the order quantity and the traffic quantity of the e-commerce platform, and determining the conversion quantity of the user in the time interval according to the ratio among the access quantity, the order quantity and the traffic quantity.
In one implementation manner of the present application, the collecting the page information viewed by the unregistered user specifically includes:
based on a Window object created in advance, acquiring page browsing information of the unregistered user on the E-commerce platform and corresponding page path information;
collecting business events of the unregistered user on a browsing page based on a pre-created Document object, wherein the business events at least comprise clicking operation, double-clicking operation and scrolling operation;
and acquiring page data in the browsed page of the unregistered user based on the localStorage object in the Window object.
In one implementation manner of the present application, the method includes the steps of acquiring access information of a user based on access trigger of the user to an e-commerce platform, and judging whether the user logs in to the e-commerce platform according to the access information, specifically including:
receiving an access request of a user to an e-commerce platform, and acquiring corresponding access information from the user according to the access request;
judging whether the access information comprises at least one of a user name, a user ID, a telephone number and a receiving address corresponding to the user;
if yes, determining that the user logs in the e-commerce platform, and if not, determining that the user does not log in the e-commerce platform.
On the other hand, the embodiment of the application also provides user behavior acquisition equipment based on the e-commerce platform, which comprises:
at least one processor;
and a memory communicatively coupled to the at least one processor;
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform an e-commerce platform based user behavior acquisition method as described above.
In another aspect, embodiments of the present application also provide a non-volatile computer storage medium storing computer-executable instructions configured to:
the user behavior acquisition method based on the e-commerce platform is as described above.
The embodiment of the application provides a user behavior acquisition method, equipment and medium based on an e-commerce platform, which at least comprise the following beneficial effects:
distinguishing the users which are not logged in from the logged in E-commerce platform by determining whether the acquired access information comprises the basic information of the users; aiming at the unregistered user, a universal unique identification code for identifying the identity is generated based on a script file in an electronic commerce platform, behavior information of the unregistered user is collected based on the script file on the basis that the identity of the unregistered user is identified by the universal unique identification code, and the collected behavior information is associated with the universal unique identification code; aiming at a logged-in user, directly acquiring user information and token identification of the logged-in user, identifying the logged-in user through the acquired user information and token identification, and acquiring behavior information of the logged-in user, so that normal operation of the user on an e-commerce platform is not influenced, the behavior information of the user is automatically acquired and stored, and the corresponding behavior information is convenient to view and use subsequently; the funnel model corresponding to commodity browsing, commodity ordering and payment of the user on the e-commerce platform can be determined by analyzing the acquired behavior information of the user, and further the conversion rate of the user in the e-commerce platform can be intuitively acquired according to the actual data in the funnel model.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a schematic flow chart of a user behavior acquisition method based on an e-commerce platform provided by an embodiment of the application;
FIG. 2 is a diagram showing a funnel model according to an embodiment of the present application;
fig. 3 is a schematic diagram of an internal structure of a user behavior acquisition device based on an e-commerce platform according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The embodiment of the application provides a user behavior acquisition method, device and medium based on an e-commerce platform, which are used for distinguishing users which are not logged in from users which are logged in the e-commerce platform by determining whether the acquired access information comprises basic information of the users; aiming at the unregistered user, a universal unique identification code for identifying the identity is generated based on a script file in an electronic commerce platform, behavior information of the unregistered user is collected based on the script file on the basis that the identity of the unregistered user is identified by the universal unique identification code, and the collected behavior information is associated with the universal unique identification code; aiming at a logged-in user, directly acquiring user information and token identification of the logged-in user, identifying the logged-in user through the acquired user information and token identification, and acquiring behavior information of the logged-in user, so that normal operation of the user on an e-commerce platform is not influenced, the behavior information of the user is automatically acquired and stored, and the corresponding behavior information is convenient to view and use subsequently; the funnel model corresponding to commodity browsing, commodity ordering and payment of the user on the e-commerce platform can be determined by analyzing the acquired behavior information of the user, and further the conversion rate of the user in the e-commerce platform can be intuitively acquired according to the actual data in the funnel model. The technical problems that a large amount of useless data exists in the collected user behavior information in the prior art, and the accuracy of the counted user conversion rate is low are solved.
The following describes the technical scheme provided by the embodiment of the application in detail through the attached drawings.
Fig. 1 is a flow chart of a user behavior acquisition method based on an e-commerce platform according to an embodiment of the present application. As shown in fig. 1, the method for collecting user behavior based on an e-commerce platform provided by the embodiment of the application mainly comprises the following steps:
101. based on the access trigger of the user to the e-commerce platform, access information of the user is obtained, and whether the user logs in the e-commerce platform is judged according to the access information.
At present, the e-commerce platform is used for collecting behavior information of a user and carrying out data statistics and display, and a specific user portrait can be generated only after the behavior information of the user is analyzed, so that the operation reasons of specific behaviors such as page browsing, commodity viewing and residence time of the user on the e-commerce platform are known. For the e-commerce platform, the conversion rate of the user is critical, and the user loss is not expected, so that the reason of the user loss can be understood only by collecting and analyzing the behavior information of the user, and the problem that the current e-commerce platform cannot see is solved.
Firstly, before collecting behavior information of a user, a server needs to determine user states, wherein the user states comprise two states, namely an unregistered state and a logged-in state. When a user accesses the page data in the e-commerce platform, an access request is sent to the e-commerce platform, a server of the e-commerce platform is requested to acquire access information of the accessed user, and then the server judges whether the user currently accessing the e-commerce platform is logged in to the e-commerce platform or not according to the currently acquired access information.
Specifically, the server needs to receive an access request of a user to the e-commerce platform, acquire corresponding access information from the user according to the access request, then judge whether the access information comprises at least one of a user name, a user ID, a telephone number and a receiving address corresponding to the user, if yes, determine that the user is logged in to the e-commerce platform, and if not, determine that the user is not logged in to the e-commerce platform.
102. Generating a universal unique identification code of an unregistered user based on a script file which is embedded in an electronic commerce platform in advance, collecting behavior information of the unregistered user, and collecting page information checked by the unregistered user when a service corresponding to the program to be executed is executed based on the program to be executed which is embedded in advance in each execution node.
Before a user accesses the e-commerce platform, the server embeds a pre-written JS script file in the e-commerce platform, so that the information of the displayed page and the operation information of the user can be automatically captured in the e-commerce platform through the JS script file under the condition that the user access or the normal operation trigger of the user occurs in the e-commerce platform. Meanwhile, the server adds functional codes for collecting user behavior information in certain businesses in the e-commerce platform, and the corresponding functional codes can be executed only when a user executes specific businesses, for example, when commodity information and store information in the e-commerce platform are checked.
Specifically, under the condition that the server determines that the user does not log in the e-commerce platform, the server cannot acquire the detailed information of the user because the current user does not log in the e-commerce platform, at this time, the server generates a 16-bit UUID universal unique identification code for the unregistered user based on a script file embedded in the e-commerce platform in advance, and replaces token identification of the user with the universal unique identification code so as to identify the unregistered user by taking the UUID universal unique identification code as identification information of the unregistered user. When the unregistered user performs trigger operation in the e-commerce platform, the server collects behavior information of the unregistered user based on a script file embedded in the e-commerce platform in advance, and stores the behavior information of the unregistered user in a user data warehouse, then the server inquires operation information of the unregistered user in the e-commerce platform according to a preset time interval, determines whether the unregistered user is not operated for a long time or triggers a page where the operation is not performed in the e-commerce platform or is switched to the non-e-commerce platform according to the operation information, and if so, stops collecting the behavior information of the unregistered user. It should be noted that, in the embodiment of the present application, it may be determined that the e-commerce platform is out of focus of the user according to whether the mouse pointer of the user is not in the e-commerce platform or the browser page switched by the user is no longer in the e-commerce platform, which is merely an example, and the present application is not limited to this.
The server needs to determine execution nodes corresponding to a plurality of specified pages in the e-commerce platform, namely the specified page corresponding to each specific service and the specified node corresponding to the specified page, embed corresponding programs to be executed in each execution node respectively, monitor the operation of the unregistered user in the specified page, execute the programs to be executed in the specified page corresponding to the execution nodes, acquire page information checked by the unregistered user in the specified page, and store the page information checked by the unregistered user in the user data warehouse.
In one embodiment of the present application, the server obtains the behavior information of the user through the Window object, the Document object, and the localStorage object. Specifically, page browsing information and corresponding page path information of an unregistered user on an e-commerce platform are collected based on a pre-created Window object, and business events of the unregistered user on a browsing page are collected based on a pre-created Document object. It should be noted that, in the embodiment of the present application, the service event includes at least a click operation, a double click operation, and a scroll operation.
And the server also acquires page data in the browsed page of the unregistered user based on the localStorage object in the Window object.
103. When the user login power Shang Ping is determined, user information and token identification of the logged-in user are collected based on the script file, and behavior information of the logged-in user is obtained based on programs to be executed, which are embedded into each execution node and carry the user information and the token identification.
Under the condition that the server determines that the user logs in the E-commerce platform, the server is different from the situation that the user does not log in, the user is not required to be identified through a UUID universal unique identification code, and token identification and user information of the user can be directly adopted.
Specifically, the server can determine that the user has logged in the e-commerce platform according to the access information including at least one piece of basic information of the user, and at this time, the server discards the universal unique identifier code when the user has not logged in Shang Ping, i.e. uses the UUID universal unique identifier code as a discarded field, but does not delete the UUID universal unique identifier code, or stores the UUID universal unique identifier code, but at this time, the UUID universal unique identifier code will not have meaning of distinguishing the user any more. The server collects user information and token identification corresponding to the logged-in user based on a script file which is embedded in the electronic commerce platform in advance, and identifies the logged-in user through the user information and the token identification.
And determining an execution program to be executed embedded with user information and token identification of the logged-in user in execution nodes corresponding to a plurality of designated pages of the e-commerce platform, executing the program to be executed in the designated pages corresponding to the execution nodes based on the trigger of the operation of the logged-in user in the designated pages, and then acquiring behavior information of the logged-in user in the designated pages based on the execution of the program to be executed by a server, and storing the user information, the token identification and the behavior information of the logged-in user in a user data warehouse.
It should be noted that, in the embodiment of the present application, the user data repository is a database for storing user information, behavior information of all users in the e-commerce platform is stored in the user data repository, the stored behavior information of the users is used to generate a part of data of the user portrait, such as gender, age, academic, location, etc., and the server also generates another part of the user portrait when the user searches for and browses goods, etc., and applies a corresponding label to the user, such as a digital fan who frequently views a mobile phone, a computer, etc., and frequently views 'eating and holding' of snacks and beverages, which are all data forming the user portrait. User portraits are a dynamic, changing data that is composed of basic information of the user and activity information, such as browsing information, together with the user's browsing.
104. And determining a funnel model corresponding to commodity browsing to ordering and payment of the user by analyzing behavior information of the unregistered user and the logged user, and determining conversion quantity of the user according to actual data in the funnel model.
After the behavior information of the unregistered user and the logged-in user is obtained, the server can determine the access amount, the order placing amount and the transaction amount of the electronic commerce platform for the last week, the last month or the last year by analyzing the behavior information of the unregistered user and the logged-in user, so that a funnel model corresponding to the goods browsed to the order placing and payment of the user is obtained, and then the server determines the user conversion amount of the electronic commerce platform for the last week, the last month or the last year according to the access amount, the order placing amount and the transaction amount in the funnel model.
Specifically, the server obtains behavior information of the unregistered user and behavior information of the logged-in user in the user data warehouse, and can determine that the current user is a newly added user according to a registration business process executed by the user on the e-commerce platform in the behavior information. The server determines the browsing behavior of the user according to the clicking operation or page switching operation of the user on the e-commerce platform in the behavior information, and then the server determines the identity of the user corresponding to the current browsing behavior by acquiring the identification information of the user, so that the user is added into the access amount of the e-commerce platform. The server determines the ordering information corresponding to the user based on the ordering operation of the user on the e-commerce platform in the behavior information, and adds the ordering information to the ordering amount of the e-commerce platform. It should be noted that, the order information in the embodiment of the present application at least includes the order user, the order quantity, and the order amount.
The server also determines the payment behavior of the user based on a payment success interface which is skipped and returned by the user in the behavior information, acquires the corresponding payment amount, and adds the payment amount to the transaction amount of the e-commerce platform, so as to count the browsing amount, the number of newly-added users, the number of visitors on the same day and the total number of orders on the same day of the e-commerce platform, and determine a funnel model corresponding to the user from browsing goods to ordering and payment.
The server receives conversion quantity checking requirements of users, determines a time interval corresponding to the conversion quantity to be checked according to the conversion quantity checking requirements, and then calculates actual data in a funnel model in the determined time interval, so that access quantity, order quantity and transaction quantity of an electronic commerce platform can be determined, and the conversion quantity of the users in the time interval to be checked is determined according to the ratio among the access quantity, the order quantity and the transaction quantity.
Fig. 2 is a display diagram of a funnel model according to an embodiment of the present application. As shown in fig. 2, the application can display the funnel model of the last week, the last month or the last year according to the actual viewing requirement of the user, and display the specific actual data of each part in the funnel model, so that the conversion rate of the user is more visual and clear.
In one embodiment of the application, the server performs accurate comparison for a plurality of regions with a plurality of latitudes based on the amount of orders, the number of orders, the length of the time line, and the number of people placed. For example: and comparing the order amounts of the time periods of different areas, and determining the order amounts of the places such as Beijing, shanghai, guangdong and the like in the period of one week, so as to obtain the ranking of the order amounts of one area and the ratio (%) of the area to all the order amounts.
The above is a method embodiment of the present application. Based on the same inventive concept, the embodiment of the application also provides user behavior acquisition equipment based on the e-commerce platform, and the structure of the equipment is shown in fig. 3.
Fig. 3 is a schematic diagram of an internal structure of a user behavior acquisition device based on an e-commerce platform according to an embodiment of the present application. As shown in fig. 3, the apparatus includes:
at least one processor;
and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to:
based on the access trigger of the user to the e-commerce platform, access information of the user is obtained, and whether the user logs in the e-commerce platform is judged according to the access information;
generating a universal unique identification code of an unregistered user based on a script file pre-embedded in an electronic commerce platform, collecting behavior information of the unregistered user, and collecting page information checked by the unregistered user when a service corresponding to the program to be executed is executed based on the program to be executed pre-embedded in each execution node;
when the Shang Ping platform of the user login power is determined, acquiring user information and token identification of the logged-in user based on a script file, and acquiring behavior information of the logged-in user based on a program to be executed, which is embedded into each execution node and carries the user information and the token identification;
and determining a funnel model corresponding to commodity browsing to ordering and payment of the user by analyzing behavior information of the unregistered user and the logged user, and determining conversion quantity of the user according to actual data in the funnel model.
The embodiment of the application also provides a nonvolatile computer storage medium, which stores computer executable instructions, wherein the computer executable instructions are configured to:
based on the access trigger of the user to the e-commerce platform, access information of the user is obtained, and whether the user logs in the e-commerce platform is judged according to the access information;
generating a universal unique identification code of an unregistered user based on a script file pre-embedded in an electronic commerce platform, collecting behavior information of the unregistered user, and collecting page information checked by the unregistered user when a service corresponding to the program to be executed is executed based on the program to be executed pre-embedded in each execution node;
when the Shang Ping platform of the user login power is determined, acquiring user information and token identification of the logged-in user based on a script file, and acquiring behavior information of the logged-in user based on a program to be executed, which is embedded into each execution node and carries the user information and the token identification;
and determining a funnel model corresponding to commodity browsing to ordering and payment of the user by analyzing behavior information of the unregistered user and the logged user, and determining conversion quantity of the user according to actual data in the funnel model.
The embodiments of the present application are described in a progressive manner, and the same and similar parts of the embodiments are all referred to each other, and each embodiment is mainly described in the differences from the other embodiments. In particular, for the apparatus and medium embodiments, the description is relatively simple, as it is substantially similar to the method embodiments, with reference to the section of the method embodiments being relevant.
The devices and media provided in the embodiments of the present application are in one-to-one correspondence with the methods, so that the devices and media also have similar beneficial technical effects as the corresponding methods, and since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media are not repeated here.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.
Claims (10)
1. The utility model provides a user behavior collection method based on an e-commerce platform, which is characterized by comprising the following steps:
based on access trigger of a user to an e-commerce platform, access information of the user is obtained, and whether the user logs in the e-commerce platform is judged according to the access information;
generating a universal unique identification code of an unregistered user based on a script file which is embedded in the electronic commerce platform in advance, collecting behavior information of the unregistered user, and collecting page information viewed by the unregistered user when a service corresponding to the program to be executed is executed based on the program to be executed which is embedded in advance in each execution node;
when the user is determined to log in the electric Shang Ping station, acquiring user information and token identification of the logged-in user based on the script file, and acquiring behavior information of the logged-in user based on a program to be executed, which is embedded into each execution node and carries the user information and the token identification;
and determining a funnel model corresponding to commodity browsing to ordering and payment of the user by analyzing behavior information of the unregistered user and the logged user, and determining conversion quantity of the user according to actual data in the funnel model.
2. The method for collecting user behavior based on an e-commerce platform according to claim 1, wherein the generating a universal unique identification code of an unregistered user based on a script file embedded in the e-commerce platform in advance, and collecting behavior information of the unregistered user specifically comprises:
under the condition that the user is determined to be not logged in the E-commerce platform, generating a corresponding universal unique identification code for the user which is not logged in based on a script file which is embedded in the E-commerce platform in advance, and identifying the user which is not logged in through the universal unique identification code;
when the unregistered user triggers the e-commerce platform, acquiring behavior information of the unregistered user based on the script file which is embedded in the e-commerce platform in advance, and storing the behavior information of the unregistered user into a user data warehouse;
inquiring operation information of the unregistered user in the e-commerce platform according to a preset time interval, determining whether the unregistered user is not operated for a long time or triggers to operate a page which is not in the e-commerce platform or is switched to a non-e-commerce platform according to the operation information, and if so, stopping collecting behavior information of the unregistered user.
3. The method for collecting user behavior based on an e-commerce platform according to claim 1, wherein the collecting page information viewed by the unregistered user when the service corresponding to the program to be executed is executed based on the program to be executed embedded in each execution node in advance specifically includes:
determining execution nodes corresponding to a plurality of designated pages in the e-commerce platform, and respectively embedding corresponding programs to be executed in each execution node;
monitoring the operation of the unregistered user in a designated page, and executing a program to be executed in an execution node corresponding to the designated page;
and acquiring page information viewed by the unregistered user in the designated page, and storing the page information viewed by the unregistered user into a user data warehouse.
4. The method for collecting user behavior based on an e-commerce platform according to claim 1, wherein when determining that a user logs in the electricity Shang Ping, collecting user information and token identification of the logged-in user based on the script file, and obtaining behavior information of the logged-in user based on a program to be executed which is embedded into each execution node and carries the user information and the token identification, specifically comprising:
under the condition that the access information comprises at least one piece of basic information of a user, determining that the user logs in the E-commerce platform, and discarding a universal unique identification code when the user does not log in the Shang Ping electric platform;
based on a script file which is embedded in the electronic commerce platform in advance, acquiring user information and token identification corresponding to a logged-in user, and identifying the logged-in user through the user information and the token information;
determining to-be-executed programs embedded with user information and token identifications of logged-in users in execution nodes corresponding to a plurality of designated pages of the e-commerce platform, and executing the to-be-executed programs in the execution nodes corresponding to the designated pages when the logged-in users operate in the designated pages;
and acquiring behavior information of the logged-in user in the designated page based on the execution of the program to be executed, and storing the user information, the token identification and the behavior information of the logged-in user into a user data warehouse.
5. The method for collecting user behaviors based on an e-commerce platform according to claim 1, wherein the determining a funnel model corresponding to browsing goods to ordering and payment of a user by analyzing behavior information of the unregistered user and the logged-in user specifically comprises:
in a user data warehouse, acquiring behavior information of a user which is not logged in and behavior information of a user which is logged in, and determining that the user is a new user according to a registration business process executed by the user on the e-commerce platform in the behavior information;
determining browsing behaviors of a user according to clicking operations or page switching operations of the user on the e-commerce platform in behavior information, acquiring identification information of the user, and determining the identity of the user so as to add the user to the access amount of the e-commerce platform;
determining ordering information corresponding to a user based on ordering operation of the user on the e-commerce platform in behavior information, and adding the ordering information to the ordering amount of the e-commerce platform; the ordering information at least comprises ordering users, ordering quantity and ordering amount;
determining the payment behavior of the user based on a payment success interface which is jumped and returned by the user in behavior information, and acquiring a corresponding payment amount so as to add the payment amount to the transaction amount of the e-commerce platform;
and counting the browsing amount of the E-commerce platform, the number of newly added users, the number of visitors on the same day and the total number of orders on the same day, and determining a funnel model corresponding to the user from browsing commodity to ordering and paying.
6. The method for collecting user behavior based on an e-commerce platform according to claim 1, wherein the determining the conversion amount of the user according to the actual data in the funnel model further comprises:
receiving conversion quantity checking requirements of a user, and determining a time interval corresponding to the conversion quantity according to the conversion quantity checking requirements;
and counting the actual data in the funnel model in the time interval to determine the access quantity, the order quantity and the traffic quantity of the e-commerce platform, and determining the conversion quantity of the user in the time interval according to the ratio among the access quantity, the order quantity and the traffic quantity.
7. The method for collecting user behavior based on an e-commerce platform according to claim 1, wherein the collecting page information viewed by the unregistered user specifically comprises:
based on a Window object created in advance, acquiring page browsing information of the unregistered user on the E-commerce platform and corresponding page path information;
collecting business events of the unregistered user on a browsing page based on a pre-created Document object, wherein the business events at least comprise clicking operation, double-clicking operation and scrolling operation;
and acquiring page data in the browsed page of the unregistered user based on the localStorage object in the Window object.
8. The method for collecting user behavior based on an e-commerce platform according to claim 1, wherein the method for acquiring access information of a user based on access trigger of the user to the e-commerce platform and judging whether the user logs in the e-commerce platform according to the access information specifically comprises:
receiving an access request of a user to an e-commerce platform, and acquiring corresponding access information from the user according to the access request;
judging whether the access information comprises at least one of a user name, a user ID, a telephone number and a receiving address corresponding to the user;
if yes, determining that the user logs in the e-commerce platform, and if not, determining that the user does not log in the e-commerce platform.
9. An electronic commerce platform-based user behavior acquisition device, the device comprising:
at least one processor;
and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform an e-commerce platform based user behavior acquisition method as claimed in any one of claims 1 to 8.
10. A non-transitory computer storage medium storing computer-executable instructions, the computer-executable instructions configured to:
a method of user behavior acquisition based on an e-commerce platform as claimed in any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310302166.8A CN117196662A (en) | 2023-03-22 | 2023-03-22 | User behavior acquisition method, device and medium based on e-commerce platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310302166.8A CN117196662A (en) | 2023-03-22 | 2023-03-22 | User behavior acquisition method, device and medium based on e-commerce platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117196662A true CN117196662A (en) | 2023-12-08 |
Family
ID=89000403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310302166.8A Pending CN117196662A (en) | 2023-03-22 | 2023-03-22 | User behavior acquisition method, device and medium based on e-commerce platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117196662A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150222512A1 (en) * | 2012-03-08 | 2015-08-06 | Google Inc. | Event pages for web applications and extensions |
CN104835057A (en) * | 2015-04-02 | 2015-08-12 | 百度在线网络技术(北京)有限公司 | Method and device for obtaining consumption feature information of network user |
CN106227832A (en) * | 2016-07-26 | 2016-12-14 | 浪潮软件股份有限公司 | Application method of Internet big data technology architecture in business analysis in enterprise |
CN108829572A (en) * | 2018-05-30 | 2018-11-16 | 北京奇虎科技有限公司 | The analysis method and device of user's login behavior |
CN111080413A (en) * | 2019-12-20 | 2020-04-28 | 深圳市华宇讯科技有限公司 | E-commerce platform commodity recommendation method and device, server and storage medium |
CN111371953A (en) * | 2020-03-10 | 2020-07-03 | 北京字节跳动网络技术有限公司 | Tag data processing method, device and storage medium |
CN112215685A (en) * | 2020-11-02 | 2021-01-12 | 杭州次元岛科技有限公司 | E-commerce management system based on Internet of things |
CN112508640A (en) * | 2020-11-30 | 2021-03-16 | 北京百度网讯科技有限公司 | Commodity processing method and component, electronic equipment and computer readable medium |
WO2021093423A1 (en) * | 2019-11-11 | 2021-05-20 | 北京沃东天骏信息技术有限公司 | Method and device for tagging user |
CN114596131A (en) * | 2022-01-20 | 2022-06-07 | 阿里巴巴(中国)有限公司 | Commodity information processing method and device and electronic equipment |
CN115660782A (en) * | 2022-11-02 | 2023-01-31 | 广州欢聚时代信息科技有限公司 | Scene type commodity recommendation method and device, equipment, medium and product thereof |
-
2023
- 2023-03-22 CN CN202310302166.8A patent/CN117196662A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150222512A1 (en) * | 2012-03-08 | 2015-08-06 | Google Inc. | Event pages for web applications and extensions |
CN104835057A (en) * | 2015-04-02 | 2015-08-12 | 百度在线网络技术(北京)有限公司 | Method and device for obtaining consumption feature information of network user |
CN106227832A (en) * | 2016-07-26 | 2016-12-14 | 浪潮软件股份有限公司 | Application method of Internet big data technology architecture in business analysis in enterprise |
CN108829572A (en) * | 2018-05-30 | 2018-11-16 | 北京奇虎科技有限公司 | The analysis method and device of user's login behavior |
WO2021093423A1 (en) * | 2019-11-11 | 2021-05-20 | 北京沃东天骏信息技术有限公司 | Method and device for tagging user |
CN111080413A (en) * | 2019-12-20 | 2020-04-28 | 深圳市华宇讯科技有限公司 | E-commerce platform commodity recommendation method and device, server and storage medium |
WO2021179904A1 (en) * | 2020-03-10 | 2021-09-16 | 北京字节跳动网络技术有限公司 | Labeled data processing method, device, and storage medium |
CN111371953A (en) * | 2020-03-10 | 2020-07-03 | 北京字节跳动网络技术有限公司 | Tag data processing method, device and storage medium |
CN112215685A (en) * | 2020-11-02 | 2021-01-12 | 杭州次元岛科技有限公司 | E-commerce management system based on Internet of things |
CN112508640A (en) * | 2020-11-30 | 2021-03-16 | 北京百度网讯科技有限公司 | Commodity processing method and component, electronic equipment and computer readable medium |
WO2022110694A1 (en) * | 2020-11-30 | 2022-06-02 | 北京百度网讯科技有限公司 | Commodity processing method and component, electronic device, and computer-readable medium |
CN114596131A (en) * | 2022-01-20 | 2022-06-07 | 阿里巴巴(中国)有限公司 | Commodity information processing method and device and electronic equipment |
CN115660782A (en) * | 2022-11-02 | 2023-01-31 | 广州欢聚时代信息科技有限公司 | Scene type commodity recommendation method and device, equipment, medium and product thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109150641B (en) | Data acquisition and query method, device, storage medium and processor | |
CN110069463B (en) | User behavior processing method, device electronic equipment and storage medium | |
CN108304410B (en) | Method and device for detecting abnormal access page and data analysis method | |
US9195372B2 (en) | Methods, systems, and computer program products for grouping tabbed portion of a display object based on content relationships and user interaction levels | |
CN108549569B (en) | Method and equipment for searching information in application program | |
CN106021583B (en) | Statistical method and system for page flow data | |
CN107644100B (en) | Information processing method, device and system and computer readable storage medium | |
CN105335423B (en) | Method and device for collecting and processing user feedback of webpage | |
US8639560B2 (en) | Brand analysis using interactions with search result items | |
CN110163654B (en) | Advertisement delivery data tracking method and system | |
CN111859076B (en) | Data crawling method, device, computer equipment and computer readable storage medium | |
CN112817817A (en) | Buried point information query method and device, computer equipment and storage medium | |
CN103544272A (en) | Method and device for displaying pictures in browser | |
CN111581069A (en) | Data processing method and device | |
CN111414410A (en) | Data processing method, device, equipment and storage medium | |
CN113378040A (en) | User behavior analysis method and device for popularization | |
CN110457610A (en) | Information recommendation method, device, terminal, server and storage medium | |
CN109862074B (en) | Data acquisition method and device, readable medium and electronic equipment | |
CN111259274A (en) | Information processing method, device, equipment and information display device | |
CN109729054A (en) | Access data monitoring method and relevant device | |
CN109542743B (en) | Log checking method and device, electronic equipment and computer readable storage medium | |
CN111367703A (en) | Troubleshooting method and device | |
CN112579880A (en) | Data analysis method and device, storage medium and electronic equipment | |
CN110659191A (en) | Buried point data analysis method and device, computer equipment and storage medium | |
CN117196662A (en) | User behavior acquisition method, device and medium based on e-commerce platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |