CN113590959B - User behavior data acquisition method, device, equipment and storage medium - Google Patents

User behavior data acquisition method, device, equipment and storage medium Download PDF

Info

Publication number
CN113590959B
CN113590959B CN202110881547.7A CN202110881547A CN113590959B CN 113590959 B CN113590959 B CN 113590959B CN 202110881547 A CN202110881547 A CN 202110881547A CN 113590959 B CN113590959 B CN 113590959B
Authority
CN
China
Prior art keywords
landing page
stage
target
level
behavior data
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.)
Active
Application number
CN202110881547.7A
Other languages
Chinese (zh)
Other versions
CN113590959A (en
Inventor
冯丹
何柯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110881547.7A priority Critical patent/CN113590959B/en
Publication of CN113590959A publication Critical patent/CN113590959A/en
Application granted granted Critical
Publication of CN113590959B publication Critical patent/CN113590959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0255Targeted advertisements based on user history
    • G06Q30/0256User search
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a user behavior acquisition method, device, equipment and storage medium, and when a display instruction of each level of landing page aiming at a target advertisement is received, a target program corresponding to the level of landing page is created. And counting user behavior data of the user in the landing page of the stage through the target program corresponding to the landing page of the stage. When an exit instruction for the target advertisement is received, the user behavior data of the user in the landing page is sent to the target program corresponding to the currently displayed landing page through the target program corresponding to the landing page. And receiving user behavior data sent by other target programs corresponding to all levels of landing pages through the target program corresponding to the landing page currently displayed. Based on the processing, the user behavior data in other landing pages can be obtained through the target program corresponding to the currently displayed landing page, so that the client can count the user behavior data in the landing pages.

Description

User behavior data acquisition method, device, equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a storage medium for acquiring user behavior data.
Background
When the advertisement is put, the advertisement putting cloud end can put the target advertisement to the client. When a user uses the functionality provided by the client, the client may present targeted advertisements to the user to promote products or recommended services to the user. For example, the advertisement delivery cloud may deliver video advertisements to video clients, which in turn may play video advertisements to users if the users view the video using the video clients.
When an advertiser puts advertisements on a client through the advertisement putting cloud, the advertiser needs to pay fees to a service provider to which the advertisement putting cloud belongs. In the prior art, the advertisement delivery cloud end can acquire URLs (Uniform Resource Locator, uniform resource locators) of all levels of landing pages of target advertisements to be delivered. The ad serving cloud may then send the respective URLs to the client. When receiving a display instruction for the target advertisement, the client can display the landing pages of the target advertisement according to the received user operation. For example, when a click command of a user for a target advertisement is received, a first-level landing page may be displayed, further, when a user performs a preset operation in the first-level landing page, a jump may be made to a second-level landing page, and similarly, when a user performs a preset operation in the second-level landing page, a jump may be made to a third-level landing page. Accordingly, the fee that needs to be charged to the advertiser for the targeted advertisement may be determined based on user behavior data of the user in the various landing pages (e.g., the number of times the landing page is opened, the browsing duration of the landing page).
If the landing pages of each level contain both the self landing page of the advertiser and the self landing page of the service provider, that is, the landing pages of each level have the cross domain name. In the related art, a corresponding method is not provided to enable data communication between pages crossing domain names, so that the client cannot count user behavior data in all levels of landing pages.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device, equipment and a storage medium for acquiring user behavior data, so that a client can count the user behavior data in all levels of landing pages. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a method for acquiring user behavior data, where the method is applied to a client, and the method includes:
for each stage of landing page of the target advertisement, when a display instruction for the stage of landing page is received, loading a Software Development Kit (SDK) file corresponding to the stage of landing page to create a target program corresponding to the stage of landing page, and loading the stage of landing page;
counting user behavior data of a user in the landing page of the level through a target program corresponding to the landing page of the level;
When an exit instruction for the target advertisement is received, aiming at each stage of landing page of the target advertisement, sending user behavior data of a user in the stage of landing page to a target program corresponding to the currently displayed landing page through a target program corresponding to the stage of landing page;
and receiving user behavior data sent by other target programs corresponding to all levels of landing pages through the target program corresponding to the landing page currently displayed.
Optionally, when the exit instruction for the target advertisement is received, for each level of landing page of the target advertisement, the target program corresponding to the level of landing page is used for sending the user behavior data of the user in the level of landing page to the target program corresponding to the currently displayed landing page, and before the user behavior data is sent to the target program corresponding to the currently displayed landing page, the method further includes:
aiming at each stage of landing page of the target advertisement, storing user behavior data of a user in the stage of landing page into a database corresponding to the stage of landing page through a target program corresponding to the stage of landing page;
when receiving an exit instruction for the target advertisement, sending user behavior data of a user in the landing page of each stage of the target advertisement to a target program corresponding to the currently displayed landing page through a target program corresponding to the landing page of the stage, wherein the exit instruction comprises the following steps:
When an exit instruction for the target advertisement is received, acquiring user behavior data of a user in each stage of landing page of the target advertisement from a database corresponding to the stage of landing page through a target program corresponding to the stage of landing page;
storing user behavior data of a user in the landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the landing page;
the receiving, by the target program corresponding to the currently displayed landing page, user behavior data sent by the target program corresponding to the other landing pages at all levels includes:
and acquiring user behavior data stored in a preset queue corresponding to the landing page of other levels from the preset queue corresponding to the landing page of the current display through the target program corresponding to the landing page of the current display.
Optionally, the user behavior data in each level of landing page includes a browsing duration of a user browsing the level of landing page;
after the target program corresponding to the landing page passes through the step, the user behavior data of the user in the landing page is counted, and the method further comprises the following steps:
Acquiring a first time length from a preset queue corresponding to the landing page of the stage through a target program corresponding to the landing page of the stage; the first time length is the total browsing time length of each landing page displayed before the user browses the landing page of the stage, and is calculated through a target program corresponding to the target landing page and stored in a preset queue corresponding to the landing page of the stage; the target landing page is the last landing page displayed before the landing page of the stage;
calculating the sum of the first time length and the browsing time length of browsing the landing page of the level by the user as a second time length;
and storing the second time length to a preset queue corresponding to the first landing page displayed after the landing page of the stage.
Optionally, after receiving the user behavior data sent by the target program corresponding to the landing page of the current display and the target program corresponding to the landing page of other levels, the method further includes:
and sending user behavior data counted by the target programs corresponding to each level of landing page to the designated server through the target program corresponding to the currently displayed landing page.
Optionally, when receiving a display instruction for each level landing page of the target advertisement, loading a software development kit SDK file corresponding to the level landing page to create a target program corresponding to the level landing page, and loading the level landing page, including:
Aiming at each stage of landing page of the target advertisement, when a display instruction aiming at the stage of landing page is received, writing a preset SDK file into the head of a hypertext markup language (HTML) file of the stage of landing page;
analyzing an HTML file of the landing page to obtain the SDK file;
and loading the SDK file to create a target program corresponding to the landing page and loading the landing page.
Optionally, the loading the software development kit SDK file corresponding to the level floor page to create the target program corresponding to the level floor page includes:
and loading the SDK file corresponding to the level landing page to create a hypertext markup language tag iframe corresponding to the level landing page as a target program corresponding to the level landing page.
In a second aspect of the present invention, there is also provided a user behavior data acquisition apparatus, the apparatus being applied to a client, the apparatus comprising:
the loading module is used for loading the SDK file corresponding to each stage of landing page of the target advertisement when receiving the display instruction of the stage of landing page so as to create the target program corresponding to the stage of landing page and load the stage of landing page;
The statistics module is used for counting the user behavior data of the user in the landing page through the target program corresponding to the landing page;
the first sending module is used for sending user behavior data of a user in the landing page of each stage of the target advertisement to a target program corresponding to the currently displayed landing page through the target program corresponding to the landing page of the stage when receiving an exit instruction for the target advertisement;
and the receiving module is used for receiving the user behavior data sent by the target programs corresponding to the landing pages of other levels through the target programs corresponding to the landing pages currently displayed.
Optionally, the apparatus further includes:
the storage module is used for executing the first sending module to execute the first-stage landing page aiming at the target advertisement when receiving the exit instruction aiming at the target advertisement, and storing the user behavior data of the user in the first-stage landing page into a database corresponding to the first-stage landing page by the target program corresponding to the first-stage landing page before sending the user behavior data of the user in the first-stage landing page;
The first sending module is specifically configured to, when receiving an exit instruction for the target advertisement, obtain, for each level of landing page of the target advertisement, user behavior data of a user in the level of landing page from a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
storing user behavior data of a user in the landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the landing page;
the receiving module is specifically configured to obtain, from a preset queue corresponding to a currently displayed landing page, user behavior data stored in the preset queue by using a target program corresponding to a currently displayed landing page, where the target programs corresponding to other landing pages at different levels.
Optionally, the user behavior data in each level of landing page includes a browsing duration of a user browsing the level of landing page;
the apparatus further comprises:
the acquisition module is used for executing the target program corresponding to the landing page of the stage, counting the user behavior data of the user in the landing page of the stage, and then executing the target program corresponding to the landing page of the stage to acquire a first time length from a preset queue corresponding to the landing page of the stage; the first time length is the total browsing time length of each landing page displayed before the user browses the landing page of the stage, and is calculated through a target program corresponding to the target landing page and stored in a preset queue corresponding to the landing page of the stage; the target landing page is the last landing page displayed before the landing page of the stage;
The determining module is used for calculating the sum of the first time length and the browsing time length of browsing the landing page of the level by the user as a second time length;
and the storage module is used for storing the second time length to a preset queue corresponding to the first landing page displayed after the landing page of the stage.
Optionally, the apparatus further includes:
the second sending module is used for sending the user behavior data counted by the target programs corresponding to the landing pages at all levels to the appointed server after the receiving module executes the target program corresponding to the landing page displayed at present and receives the user behavior data sent by the target programs corresponding to the landing pages at all levels.
Optionally, the loading module is specifically configured to, when receiving a display instruction for each level of landing page of the target advertisement, write a preset SDK file into a header of an HTML file of the level of landing page;
analyzing an HTML file of the landing page to obtain the SDK file
And loading the SDK file to create a target program corresponding to the landing page and loading the landing page.
Optionally, the loading module is specifically configured to load an SDK file corresponding to the level floor page, so as to create a hypertext markup language tag iframe corresponding to the level floor page, which is used as a target program corresponding to the level floor page.
In yet another aspect of the present invention, there is also provided an electronic device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory perform communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the steps of the user behavior data acquisition method when executing the program stored in the memory.
In yet another aspect of the implementation of the present invention, there is also provided a computer readable storage medium, in which a computer program is stored, the computer program implementing any one of the above-mentioned user behavior data acquisition methods when executed by a processor.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the user behavior data acquisition methods described above.
According to the user behavior acquisition method and device provided by the embodiment of the invention, aiming at each stage of landing page of the target advertisement, when a display instruction aiming at the stage of landing page is received, an SDK file corresponding to the stage of landing page is loaded so as to create a target program corresponding to the stage of landing page, and the stage of landing page is loaded. And counting user behavior data of the user in the landing page of the stage through the target program corresponding to the landing page of the stage. When an exit instruction for the target advertisement is received, aiming at each stage of landing page of the target advertisement, sending user behavior data of a user in the stage of landing page to a target program corresponding to the currently displayed landing page through a target program corresponding to the stage of landing page. And receiving user behavior data sent by other target programs corresponding to all levels of landing pages through the target program corresponding to the landing page currently displayed.
Based on the processing, the user behavior data of the user on the landing page can be obtained through the target program corresponding to each landing page, and data communication can be performed among the target programs corresponding to each landing page, so that the user behavior data counted by the target programs corresponding to other landing pages can be obtained through the target programs corresponding to the landing pages currently displayed, and the client can count the user behavior data in each landing page.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a flowchart of a method for obtaining user behavior data according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for obtaining user behavior data according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for obtaining user behavior data according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for obtaining user behavior data according to an embodiment of the present invention;
FIG. 5 is a flowchart of another method for obtaining user behavior data according to an embodiment of the present invention;
FIG. 6 (a) is a schematic diagram of a landing page of a targeted advertisement provided in an embodiment of the present invention;
FIG. 6 (b) is a schematic diagram of a landing page of another targeted advertisement provided in an embodiment of the present invention;
FIG. 7 is a flowchart of a method for data communication across domain names on a page according to an embodiment of the present invention;
FIG. 8 is a block diagram of a user behavior data acquisition device according to an embodiment of the present invention;
fig. 9 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for obtaining user behavior data, where the method is applied to a client, and the method may include the following steps:
s101: and for each stage of landing page of the target advertisement, when a display instruction for the stage of landing page is received, loading an SDK file corresponding to the stage of landing page so as to create a target program corresponding to the stage of landing page, and loading the stage of landing page.
S102: and counting user behavior data of the user in the landing page of the stage through the target program corresponding to the landing page of the stage.
S103: when an exit instruction for the target advertisement is received, aiming at each stage of landing page of the target advertisement, sending user behavior data of a user in the stage of landing page to a target program corresponding to the currently displayed landing page through a target program corresponding to the stage of landing page.
S104: and receiving user behavior data sent by other target programs corresponding to all levels of landing pages through the target program corresponding to the landing page currently displayed.
According to the method provided by the embodiment of the invention, the user behavior data of the user on the landing page of each stage can be obtained through the target program corresponding to the landing page of each stage, and the data communication can be carried out among the target programs corresponding to the landing pages of each stage, so that the user behavior data counted by the target programs corresponding to other landing pages of each stage can be obtained through the target programs corresponding to the landing pages currently displayed, and the client can count the user behavior data in the landing pages of each stage.
In step S101, the landing page of the target advertisement may be a page introducing detailed information of the target advertisement. For example, when the target advertisement is a commercial advertisement, the landing page of each level of the commercial advertisement may include: a detail page of the commodity, a purchase page of the commodity, an evaluation page of the commodity by the purchased user, and the like. Alternatively, when the target advertisement is an application advertisement, the landing page of the application advertisement may include: details page of the application, download page of the application, trial page of the application, etc.
In one implementation, when a user opens a client, the client may send an advertisement request to an advertisement delivery server. After receiving the advertisement request, the advertisement delivery server can determine a target advertisement to be pushed to the client according to the service requirement. Then, the advertisement delivery server can acquire the URLs of the landing pages of the target advertisement, and send the URLs of the landing pages of the target advertisement to the advertisement delivery cloud.
Correspondingly, when the advertisement delivery cloud receives the URLs of all levels of landing pages of the target advertisement, the URLs of all levels of landing pages of the target advertisement can be sent to the client. The client can display the landing pages of the target advertisement according to the URLs of the landing pages of the target advertisement.
The level of the landing page may represent a display order of the landing page, for example, the target advertisement is a commodity advertisement, a first-level landing page of the commodity advertisement is a detail page of the commodity, a second-level landing page is an evaluation page of the purchased user on the commodity, and a third-level landing page is a purchase page of the commodity.
After receiving the URL of each level of landing page of the commodity advertisement, the client may display the commodity advertisement on the client, and when the user clicks the commodity advertisement, the client may display the detail page of the commodity. When the user performs a preset operation (e.g., clicks a specified operation button) in the detail page of the item, the client may display an evaluation page of the item for the purchased user. When the user performs a preset operation in the evaluation page of the purchased user for the commodity, the client may display the purchase page of the commodity.
In one implementation, for each level of landing page of the target advertisement, the client may parse the URL of the level of landing page to obtain the page file of the level of landing page. Further, the client renders according to the page file of the landing page to display the landing page. The page file of a landing page is an HTML (Hyper Text Markup Language ) file of the landing page.
For each level of landing pages of the target advertisement, when the level of landing pages is displayed, the client may load an SDK (Software Development Kit ) file corresponding to the level of landing pages to create a target program corresponding to the level of landing pages. Subsequently, the client can count the user behavior data of the user in the landing page through the target program corresponding to the landing page.
In one embodiment of the present invention, referring to fig. 2, based on fig. 1, step S101 may include the steps of:
s1011: and for each level of landing page of the target advertisement, when a display instruction for the level of landing page is received, writing a preset SDK file into the head of an HTML file of the level of landing page.
S1012: and analyzing the HTML file of the landing page to obtain the SDK file.
S1013: and loading the SDK file to create a target program corresponding to the landing page and loading the landing page.
The preset SDK file is a Java Script (a programming language) Script developed by a technician according to the IIFE (immediate call function expression) type.
In one implementation, for each level of landing page of the target advertisement, when receiving a display instruction for the level of landing page, the client may parse the URL of the level of landing page to obtain the HTML file of the level of landing page. Then, the client may acquire a preset SDK (Software Development Kit ) file, and write the acquired SDK file into the HTML file of the landing page. For example, the client may write the acquired SDK file to the head (header) of the HTML file of the landing page.
The preset SDK file may be stored in advance in the client for the technician. Or, the advertisement delivery cloud end can store a preset SDK file, and when the advertisement delivery cloud end sends URLs of all levels of landing pages of the target advertisement to the client, the advertisement delivery cloud end can send the SDK file to the client.
And aiming at each level of landing page of the target advertisement, when the client analyzes the HTML file of the level of landing page, the client can obtain the SDK file in the level of landing page.
In one embodiment of the present invention, step S101 may include the steps of: and loading the SDK file corresponding to the level landing page to create a hypertext markup language tag iframe corresponding to the level landing page as a target program corresponding to the level landing page.
In one implementation manner, the client may load the SDK file, and when the client loads the SDK file, the client starts to execute the SDK file, that is, creates a corresponding iframe (HTML tag) of the SDK file, that is, creates a target program corresponding to the landing page, because the SDK file is of IIFE type. iframe is the colrs. Js file.
In addition, for each level of landing page of the target advertisement, the client may write a preset SDK file into the page file of the level of landing page when receiving a display instruction for the level of landing page for the first time. Subsequently, when the display instruction for the level floor page is received again, the client can directly analyze the page file of the level floor page because the page file of the level floor page already has the SDK file, and the processing efficiency of the client can be improved.
In step S102, for each level of landing page of the target advertisement, the client monitors the level of landing page through the target program corresponding to the level of landing page. Furthermore, when the user operates in the landing page, the client side counts the user behavior data of the user in the landing page through the target program corresponding to the landing page.
In one embodiment of the invention, the user behavior data in each level of landing page comprises at least one of: the method comprises the steps of executing operation times of preset operation in the landing page by a user, browsing duration of browsing the landing page by the user and display size of the landing page in a client.
The preset operation may include: click operation, slide operation, zoom-in operation, zoom-out operation, and the like.
When detecting that the user performs the clicking operation in the landing page, the client records the operation times of the clicking operation in the landing page by one through the target program corresponding to the landing page.
Because of the size limitations of the client's display interface, for each level of landing pages of the targeted advertisement, the client may only display a portion of the content of that level of landing pages. When the client cannot completely display the landing page, the user can drag the landing page, slide up, slide down, zoom in, zoom out, etc. to browse the currently undisplayed part of the landing page.
Thus, the display size of each level of landing page in the display interface of the client may include: the display length of the landing page in the display interface of the client and/or the display width of the landing page in the display interface of the client.
The user behavior data of the user in each level of landing page can reflect the interest degree of the user in the target advertisement. Therefore, the client can count the user behavior data of the user in the landing page through the target program corresponding to the landing page. Subsequently, the fee charged to the advertiser can be determined according to the user behavior data corresponding to the landing pages at each level.
The user behavior data in each level of landing page includes: and in the time period from displaying the landing page to exiting the landing page, the user acts data of the user in the landing page. Correspondingly, aiming at each stage of landing page of the target advertisement, when exiting the stage of landing page, the user behavior data in the stage of landing page can be obtained through statistics through a target program corresponding to the stage of landing page.
For steps S103 and S104, when the user no longer browses the targeted advertisement, the landing page to exit the targeted advertisement may be selected, i.e., the client may receive an exit instruction for the targeted advertisement. And when the client receives the exit instruction for the target advertisement, the currently displayed landing page is the last landing page browsed by the user. Furthermore, the client can acquire the user behavior data counted by the target programs corresponding to the other landing pages through the target program corresponding to the last landing page browsed by the user.
In one embodiment of the present invention, referring to fig. 3 on the basis of fig. 1, before step S103, the method may further include the steps of:
s105: and storing the user behavior data of the user in the landing page of each stage into a database corresponding to the landing page of each stage according to the target program corresponding to the landing page of each stage aiming at the target advertisement.
Accordingly, step S103 may include the steps of:
s1031: when an exit instruction for the target advertisement is received, aiming at each stage of landing page of the target advertisement, acquiring user behavior data of a user in the stage of landing page from a database corresponding to the stage of landing page through a target program corresponding to the stage of landing page.
S1032: and storing the user behavior data of the user in the landing page to a preset queue corresponding to the currently displayed landing page through the target program corresponding to the landing page.
Accordingly, step S104 may include the steps of:
s1041: and acquiring user behavior data stored in a preset queue corresponding to the landing page of other levels from the preset queue corresponding to the landing page of the current display through the target program corresponding to the landing page of the current display.
The database corresponding to each stage of landing page is as follows: and the target program corresponding to the landing page creates the colls. The colls.html file is located in the HTML file of the landing page, and the colls.html file is used for storing user behavior data of the user on the landing page. The database corresponding to each level of landing page is created by the target program corresponding to the level of landing page after the target program corresponding to the level of landing page is created.
In one implementation manner, for each level of landing page, after user behavior data of a user in the level of landing page is acquired, the user behavior data of the user in the level of landing page can be stored into a database corresponding to the level of landing page through a target program corresponding to the level of landing page.
Then, when the client receives the exit instruction for the target advertisement, the user behavior data of the user in the landing page can be obtained from the database corresponding to the landing page through the target program corresponding to the landing page.
Furthermore, the client may send the user behavior data of the user in the level landing page to the target program corresponding to the currently displayed landing page in a PostMessage (an asynchronous message storage function) manner through the target program corresponding to the level landing page. That is, the client may store the user behavior data of the user in the landing page to a preset queue corresponding to the currently displayed landing page through the target program corresponding to the landing page, where the preset queue is a PostMessage message queue.
Furthermore, the client may obtain, from the corresponding PostMessage message queue, user behavior data stored in the corresponding target program of the landing page of other levels according to a GetMessage (an asynchronous message obtaining function) manner through the target program corresponding to the landing page currently displayed.
In one implementation, if the user behavior data in each level of landing page includes: the operation times of the preset operation performed by the user in the landing page and the display size of the landing page in the client. Aiming at each stage of landing page of the target advertisement, the client stores the counted operation times of the user for executing the preset operation in the stage of landing page and the display size of the stage of landing page in the client into a database corresponding to the stage of landing page through a target program corresponding to the stage of landing page.
Then, when an exit instruction for the target advertisement is received, for each stage of landing page of the target advertisement, the operation times of the user for executing the preset operation in the stage of landing page and the display size of the stage of landing page in the client are acquired from a database corresponding to the stage of landing page through a target program corresponding to the stage of landing page, and the operation times of the user for executing the preset operation in the stage of landing page and the display size of the stage of landing page in the client are stored in a preset queue corresponding to the currently displayed landing page.
Furthermore, the client can obtain the operation times of executing the preset operation in each level of landing page by the user and the display size of each level of landing page in the client from the preset queue corresponding to the current displayed landing page through the target program corresponding to the current displayed landing page.
In another implementation, the user behavior data in each level of landing pages includes a browsing duration for a user to browse the level of landing pages. The client can count the total browsing time of the user browsing the landing pages of each level of the target advertisement.
On the basis of fig. 1, referring to fig. 4, after step S102, the method may further include the steps of:
s106: and acquiring a first duration from a preset queue corresponding to the landing page of the stage through the target program corresponding to the landing page of the stage.
The first time length is the total browsing time length of each landing page displayed before the user browses the landing page of the stage, and is calculated through a target program corresponding to the target landing page and stored in a preset queue corresponding to the landing page of the stage. The target landing page is the last landing page displayed before the level landing page.
S107: and calculating the sum of the first time length and the browsing time length of browsing the landing page of the level by the user as a second time length.
S108: and storing the second time length to a preset queue corresponding to the first landing page displayed after the landing page of the stage.
In one implementation manner, for each level of landing page of the target advertisement, after counting the browsing duration of the user browsing the level of landing page through the target program corresponding to the level of landing page, the client may obtain the total browsing duration (i.e. the first duration) of browsing the displayed level of landing page before the user browses the landing page from the preset queue corresponding to the level of landing page.
Then, the client can calculate the sum of the first time length and the browsing time length of the user browsing the landing page to obtain a second time length. When the client displays the next landing page, the client can store the second duration to a preset queue corresponding to the first landing page displayed after the landing page of the stage through a target program corresponding to the landing page of the stage.
When the user no longer browses the targeted advertisement, a landing page to exit the targeted advertisement may be selected, i.e., the client may receive an exit instruction for the targeted advertisement. And when the client receives the exit instruction for the target advertisement, the currently displayed landing page is the last landing page browsed by the user. Furthermore, the client may obtain the third duration from the preset queue corresponding to the last landing page browsed by the user through the target program corresponding to the last landing page browsed by the user. The third time period is the total browsing time period of browsing the displayed landing pages before the user browses the last landing page. Furthermore, the client can calculate the sum of the third duration and the browsing duration of the last landing page browsed by the user through the target program corresponding to the last landing page browsed by the user, so as to obtain the total browsing duration of the landing page browsed by the user for target advertisements.
In another implementation manner, for each level of landing page of the target advertisement, after statistics of user behavior data in the level of landing page, the client may store the browsing duration of the user in the level of landing page to a corresponding database in the level of landing page through a target program corresponding to the level of landing page.
When the user no longer browses the targeted advertisement, a landing page to exit the targeted advertisement may be selected, i.e., the client may receive an exit instruction for the targeted advertisement. Then, the client can obtain the browsing time length of the user for browsing each level of landing page from the preset queue corresponding to the current displayed landing page through the target program corresponding to the current displayed landing page. And storing the browsing time of the user browsing each level of landing page into a preset queue corresponding to the currently displayed landing page through a target program corresponding to the level of landing page. Furthermore, the client can calculate the sum of the browsing time lengths of the user browsing each landing page through the target program corresponding to the currently displayed landing page, and the total browsing time length of the user browsing the landing page of the target advertisement is obtained.
In one embodiment of the present invention, after step S104, the method may further include the steps of:
and sending user behavior data counted by the target programs corresponding to each level of landing page to the designated server through the target program corresponding to the currently displayed landing page.
Wherein the designated server may be a data storage server for storing advertisement data.
The database corresponding to each level of landing pages may also be used to store a level identification of the level of landing pages. Subsequently, for each level of landing page, the level identifier of the level of landing page can be obtained. Further, when user behavior data of the user on each level of landing page is transmitted to the specified server, a level identification of the level of landing page may also be transmitted to the specified server.
In another implementation manner, after the client obtains the user behavior data counted by the target program corresponding to each level of landing page through the target program corresponding to the currently displayed landing page, the client may send the level identifier of each level of landing page and the user behavior data of the user in the level of landing page to the data storage server through Webview (kernel browser).
Subsequently, aiming at each level of landing page, user behavior data corresponding to the level identification of the level of landing page can be obtained from the data storage server, and the user behavior data of the user on the level of landing page is obtained. And further, optimizing the landing page of the stage according to the user behavior data of the user on the landing page of the stage.
Referring to fig. 5, fig. 5 is a flowchart of another method for obtaining user behavior data according to an embodiment of the present invention.
The client may display a targeted advertisement, for example, when the targeted advertisement is an advertisement of commodity a, the client may display the advertisement of commodity a in the page shown in fig. 6 (a), and "XXX" in fig. 6 (a) represents other information displayed by the client than the targeted advertisement.
Then, when the user clicks the target advertisement, the client can determine that a display instruction for the first-level landing page of the target advertisement is received, and the client can perform JS injection in the first-level landing page of the target advertisement through webview, namely, the client can write a preset SDK file into an HTML file of the first-level landing page of the target advertisement. The client may display a primary landing page of the targeted advertisement, which may be a free landing page of the advertiser. For example, the user may click "commodity a" in the page shown in fig. 6 (a), and the client may display a detail page of commodity a shown in fig. 6 (b), which is a first-level landing page.
Furthermore, when the user performs the preset operation in the first-level landing page of the target advertisement, the client can determine that the display instruction of the second-level landing page (i.e., the second-level landing page) aiming at the target advertisement is received, and the client can perform JS injection in the second-level landing page of the target advertisement through webview. The client may display a secondary landing page of the targeted advertisement. For example, the user may click on the "buy" operation button in the page shown in fig. 6 (b), and the client may display a purchase page of the commodity a, which is a secondary landing page.
Similarly, when the user performs the preset operation in the second-level landing page of the target advertisement, the client may determine that the display instruction for the third-level landing page of the target advertisement is received, and similarly, the client may perform JS injection in the third-level landing page of the target advertisement through webview, and when the client determines that the display instruction for the N-hop landing page (N-level landing page) of the target advertisement is received, the client may perform JS injection in the N-level landing page of the target advertisement through webview.
Subsequently, for each level of landing page, the client may load the SDK file corresponding to the level of landing page to create the target program corresponding to the level of landing page. Then, the client can count the user behavior data of the user in the landing page through the target program corresponding to the landing page. When receiving the exit instruction for the target advertisement, the user behavior data of the user in the landing page is sent to the target program corresponding to the currently displayed landing page by the target program corresponding to the landing page of each stage of the target advertisement, and the user behavior data sent by the target programs corresponding to the landing pages of other stages are received by the target program corresponding to the currently displayed landing page.
Based on the processing, the user behavior data of the user on the landing page can be obtained through the target program corresponding to each landing page, and data communication can be performed among the target programs corresponding to each landing page, so that the user behavior data counted by the target programs corresponding to other landing pages can be obtained through the target programs corresponding to the landing pages currently displayed, and the client can count the user behavior data in each landing page.
Referring to fig. 7, fig. 7 is a flowchart of a method for performing data communication between pages across domain names according to an embodiment of the present invention. HTML1 shown in fig. 7 is an HTML file of a first-order landing page of a target advertisement, and HTML2 is an HTML file of a second-order landing page of a target advertisement.
The HTML file of each level of landing page shown in fig. 7 includes a JSSDK file, which is the SDK file in the foregoing embodiment, and the JSSDK file in the HTML file of each level of landing page is written into the HTML file of the level of landing page when the client receives a display instruction for the level of landing page.
The JSSDK file in the HTML file of each level of landing page includes a colls.js file and a colls.html file, where the colls.js file (i.e. the iframe in the foregoing embodiment) is a target program corresponding to the level of landing page, and colls.js is used to obtain user behavior data of the user in the level of landing page, and colls.js may also be used to obtain a level identifier in the level of landing page, and store the user behavior data of the user in the level of landing page and the level identifier in the level of landing page, which are corresponding to the colls.html file in the HTML file stored in the level of landing page.
When receiving the exit instruction for the target advertisement, the client can obtain the user behavior data of the user in the landing page and the level identification in the landing page through the target program corresponding to each landing page. And then, storing the user behavior data of the user in the level landing page and the level identification in the level landing page into a preset queue corresponding to the currently displayed landing page correspondingly according to a PostMessage mode through a target program corresponding to the level landing page.
Furthermore, the client can obtain the user behavior data of the user in the level landing page and the level identification in the level landing page from the preset queue corresponding to the level landing page according to the target program corresponding to the current landing page and the GetMessage mode.
Based on the processing, the user behavior data of the user on the landing page can be obtained through the target program corresponding to each landing page, and data communication can be performed among the target programs corresponding to each landing page, so that the user behavior data counted by the target programs corresponding to other landing pages can be obtained through the target programs corresponding to the landing pages currently displayed, and the client can count the user behavior data in each landing page.
Corresponding to the method embodiment of fig. 1, referring to fig. 8, fig. 8 is a block diagram of a user behavior data acquisition device provided by an embodiment of the present invention, where the device is applied to a client, and the device includes:
the loading module 801 is configured to load, for each level of landing page of the target advertisement, an SDK file corresponding to the level of landing page when a display instruction for the level of landing page is received, so as to create a target program corresponding to the level of landing page, and load the level of landing page;
a statistics module 802, configured to count, through a target program corresponding to the landing page, user behavior data of a user in the landing page;
a first sending module 803, configured to send, when receiving an exit instruction for the target advertisement, user behavior data of a user in a landing page of each level of the target advertisement, to a target program corresponding to a currently displayed landing page through a target program corresponding to the landing page of the level;
the receiving module 804 is configured to receive, through a target program corresponding to a currently displayed landing page, user behavior data sent by a target program corresponding to other landing pages.
Optionally, the apparatus further includes:
the storage module is configured to execute, when the first sending module 803 receives the exit instruction for the target advertisement, for each level of landing page of the target advertisement, execute, before sending user behavior data of a user in the level of landing page, for each level of landing page of the target advertisement, through a target program corresponding to the level of landing page, to a target program corresponding to a currently displayed landing page, and store, through a target program corresponding to the level of landing page, user behavior data of the user in the level of landing page in a database corresponding to the level of landing page;
the first sending module 803 is specifically configured to, when receiving an exit instruction for the target advertisement, obtain, for each level of landing page of the target advertisement, user behavior data of a user in the level of landing page from a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
storing user behavior data of a user in the landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the landing page;
The receiving module 804 is specifically configured to obtain, from a preset queue corresponding to a currently displayed landing page, user behavior data stored in the preset queue by using a target program corresponding to a currently displayed landing page, where the target programs corresponding to other landing pages are stored in the preset queue.
Optionally, the user behavior data in each level of landing page includes a browsing duration of a user browsing the level of landing page;
the apparatus further comprises:
the obtaining module is configured to execute the target program corresponding to the landing page through the stage in the statistics module 802, and after counting the user behavior data of the user in the landing page, execute the target program corresponding to the landing page through the stage, and obtain a first time length from a preset queue corresponding to the landing page; the first time length is the total browsing time length of each landing page displayed before the user browses the landing page of the stage, and is calculated through a target program corresponding to the target landing page and stored in a preset queue corresponding to the landing page of the stage; the target landing page is the last landing page displayed before the landing page of the stage;
the determining module is used for calculating the sum of the first time length and the browsing time length of browsing the landing page of the level by the user as a second time length;
And the storage module is used for storing the second time length to a preset queue corresponding to the first landing page displayed after the landing page of the stage.
Optionally, the apparatus further includes:
the second sending module is used for sending the user behavior data counted by the target programs corresponding to the landing pages at all levels to the appointed server after the receiving module executes the target program corresponding to the landing page displayed at present and receives the user behavior data sent by the target programs corresponding to the landing pages at all levels.
Optionally, the loading module 801 is specifically configured to write a preset SDK file into a header of an HTML file of a landing page of each level, when a display instruction for the landing page of the level is received, for each landing page of the target advertisement;
analyzing an HTML file of the landing page to obtain the SDK file;
and loading the SDK file to create a target program corresponding to the landing page and loading the landing page.
Optionally, the loading module 801 is specifically configured to load an SDK file corresponding to the level floor page, so as to create a hypertext markup language tag iframe corresponding to the level floor page, which is used as a target program corresponding to the level floor page.
According to the user behavior data acquisition device provided by the embodiment of the invention, the user behavior data of the user on each level of landing page can be acquired through the corresponding target program of each level of landing page, and the corresponding target programs of each level of landing page can be used for data communication, so that the user behavior data counted by the corresponding target programs of other levels of landing pages can be acquired through the currently displayed target programs of each level of landing page, and the user behavior data in each level of landing page can be counted by the client.
The embodiment of the invention also provides an electronic device, as shown in fig. 9, which comprises a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902 and the memory 903 are in communication with each other through the communication bus 904;
a memory 903 for storing a computer program;
the processor 901 is configured to execute a program stored in the memory 903, and implement the following steps:
for each stage of landing page of the target advertisement, when a display instruction for the stage of landing page is received, loading an SDK file corresponding to the stage of landing page to create a target program corresponding to the stage of landing page, and loading the stage of landing page;
Counting user behavior data of a user in the landing page of the level through a target program corresponding to the landing page of the level;
when an exit instruction for the target advertisement is received, aiming at each stage of landing page of the target advertisement, sending user behavior data of a user in the stage of landing page to a target program corresponding to the currently displayed landing page through a target program corresponding to the stage of landing page;
and receiving user behavior data sent by other target programs corresponding to all levels of landing pages through the target program corresponding to the landing page currently displayed.
The communication bus mentioned by the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The memory may include random access memory (Random Access Memory, RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
According to the electronic equipment provided by the embodiment of the invention, the user behavior data of the user on the landing page of each stage can be obtained through the target program corresponding to the landing page of each stage, and the data communication can be carried out among the target programs corresponding to the landing pages of each stage, so that the user behavior data counted by the target programs corresponding to other landing pages of each stage can be obtained through the target programs corresponding to the landing pages currently displayed, and the client can count the user behavior data in the landing pages of each stage.
In yet another embodiment of the present invention, a computer readable storage medium is provided, where a computer program is stored, the computer program implementing the user behavior data acquisition method according to any one of the above embodiments when executed by a processor.
In a further embodiment of the present invention, a computer program product comprising instructions which, when run on a computer, cause the computer to perform the user behavior data acquisition method of any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, 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.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, electronic devices, computer readable storage media and computer program product embodiments, the description is relatively simple as it is substantially similar to method embodiments, as relevant points are found in the partial description of method embodiments.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (8)

1. A method for obtaining user behavior data, wherein the method is applied to a client, and the method comprises:
for each stage of landing page of the target advertisement, when a display instruction for the stage of landing page is received, loading a Software Development Kit (SDK) file corresponding to the stage of landing page to create a target program corresponding to the stage of landing page, and loading the stage of landing page;
counting user behavior data of a user in the landing page of the level through a target program corresponding to the landing page of the level;
when an exit instruction for the target advertisement is received, aiming at each stage of landing page of the target advertisement, sending user behavior data of a user in the stage of landing page to a target program corresponding to the currently displayed landing page through a target program corresponding to the stage of landing page;
receiving user behavior data sent by other target programs corresponding to all levels of landing pages through the target programs corresponding to the landing pages currently displayed;
When the exit instruction for the target advertisement is received, for each stage of landing page of the target advertisement, sending user behavior data of a user in the stage of landing page to a target program corresponding to the currently displayed landing page through a target program corresponding to the stage of landing page, wherein the method further comprises:
aiming at each stage of landing page of the target advertisement, storing user behavior data of a user in the stage of landing page into a database corresponding to the stage of landing page through a target program corresponding to the stage of landing page;
when receiving an exit instruction for the target advertisement, sending user behavior data of a user in the landing page of each stage of the target advertisement to a target program corresponding to the currently displayed landing page through a target program corresponding to the landing page of the stage, wherein the exit instruction comprises the following steps:
when an exit instruction for the target advertisement is received, acquiring user behavior data of a user in each stage of landing page of the target advertisement from a database corresponding to the stage of landing page through a target program corresponding to the stage of landing page;
Storing user behavior data of a user in the landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the landing page;
the receiving, by the target program corresponding to the currently displayed landing page, user behavior data sent by the target program corresponding to the other landing pages at all levels includes:
and acquiring user behavior data stored in a preset queue corresponding to the landing page of other levels from the preset queue corresponding to the landing page of the current display through the target program corresponding to the landing page of the current display.
2. The method of claim 1, wherein the user behavior data in each landing page comprises a browsing duration for a user to browse the landing page of that landing page;
after the target program corresponding to the landing page passes through the step, the user behavior data of the user in the landing page is counted, and the method further comprises the following steps:
acquiring a first time length from a preset queue corresponding to the landing page of the stage through a target program corresponding to the landing page of the stage; the first time length is the total browsing time length of each landing page displayed before the user browses the landing page of the stage, and is calculated through a target program corresponding to the target landing page and stored in a preset queue corresponding to the landing page of the stage; the target landing page is the last landing page displayed before the landing page of the stage;
Calculating the sum of the first time length and the browsing time length of browsing the landing page of the level by the user as a second time length;
and storing the second time length to a preset queue corresponding to the first landing page displayed after the landing page of the stage.
3. The method according to claim 1, wherein after the receiving, by the target program corresponding to the currently displayed landing page, the user behavior data sent by the target program corresponding to the other landing page of each level, the method further comprises:
and sending user behavior data counted by the target programs corresponding to each level of landing page to the designated server through the target program corresponding to the currently displayed landing page.
4. The method according to claim 1, wherein the loading the software development kit SDK file corresponding to the landing page for each level of the landing page for the target advertisement when the display instruction for the level of the landing page is received, to create the target program corresponding to the level of the landing page, and loading the level of the landing page, includes:
aiming at each stage of landing page of the target advertisement, when a display instruction aiming at the stage of landing page is received, writing a preset SDK file into the head of a hypertext markup language (HTML) file of the stage of landing page;
Analyzing an HTML file of the landing page to obtain the SDK file;
and loading the SDK file to create a target program corresponding to the landing page and loading the landing page.
5. The method of claim 1, wherein loading the software development kit SDK file corresponding to the level floor page to create the target program corresponding to the level floor page comprises:
and loading the SDK file corresponding to the level landing page to create a hypertext markup language tag iframe corresponding to the level landing page as a target program corresponding to the level landing page.
6. A user behavior data acquisition device, wherein the device is applied to a client, the device comprising:
the loading module is used for loading the SDK file corresponding to each stage of landing page of the target advertisement when receiving the display instruction of the stage of landing page so as to create the target program corresponding to the stage of landing page and load the stage of landing page;
the statistics module is used for counting the user behavior data of the user in the landing page through the target program corresponding to the landing page;
the first sending module is used for sending user behavior data of a user in the landing page of each stage of the target advertisement to a target program corresponding to the currently displayed landing page through the target program corresponding to the landing page of the stage when receiving an exit instruction for the target advertisement;
The receiving module is used for receiving user behavior data sent by the target programs corresponding to the landing pages of other levels through the target programs corresponding to the landing pages currently displayed;
the apparatus further comprises:
the storage module is used for executing the first sending module to execute the first-stage landing page aiming at the target advertisement when receiving the exit instruction aiming at the target advertisement, and storing the user behavior data of the user in the first-stage landing page into a database corresponding to the first-stage landing page by the target program corresponding to the first-stage landing page before sending the user behavior data of the user in the first-stage landing page;
the first sending module is specifically configured to, when receiving an exit instruction for the target advertisement, obtain, for each level of landing page of the target advertisement, user behavior data of a user in the level of landing page from a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
Storing user behavior data of a user in the landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the landing page;
the receiving module is specifically configured to obtain, from a preset queue corresponding to a currently displayed landing page, user behavior data stored in the preset queue by using a target program corresponding to a currently displayed landing page, where the target programs corresponding to other landing pages at different levels.
7. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any one of claims 1-5 when executing a program stored on a memory.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-5.
CN202110881547.7A 2021-08-02 2021-08-02 User behavior data acquisition method, device, equipment and storage medium Active CN113590959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110881547.7A CN113590959B (en) 2021-08-02 2021-08-02 User behavior data acquisition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110881547.7A CN113590959B (en) 2021-08-02 2021-08-02 User behavior data acquisition method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113590959A CN113590959A (en) 2021-11-02
CN113590959B true CN113590959B (en) 2023-07-28

Family

ID=78253849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110881547.7A Active CN113590959B (en) 2021-08-02 2021-08-02 User behavior data acquisition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113590959B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9076163B1 (en) * 2010-04-16 2015-07-07 Google Inc. User ad creation
WO2017167042A1 (en) * 2016-04-01 2017-10-05 阿里巴巴集团控股有限公司 Statistical method and apparatus for behaviors of front-end users
CN107734006A (en) * 2017-09-27 2018-02-23 北京奇艺世纪科技有限公司 A kind of statistical log sending method, device and electronic equipment
KR20190070642A (en) * 2017-12-13 2019-06-21 (주)포그리트 A visitor behavior alalysis appratus of dynamic webpages and a method for analysing a visitor behavior of webpages using it
CN110378732A (en) * 2019-07-18 2019-10-25 腾讯科技(深圳)有限公司 Information display method, information correlation method, device, equipment and storage medium
CN111526065A (en) * 2020-04-13 2020-08-11 苏宁云计算有限公司 Website page flow analysis method and system
CN111882367A (en) * 2020-08-11 2020-11-03 北京云和互动信息技术有限公司 Method for monitoring and tracking online advertisements through user internet behavior analysis
CN112541121A (en) * 2020-12-21 2021-03-23 深圳市彬讯科技有限公司 Page data pushing method and device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3810331B2 (en) * 2002-03-20 2006-08-16 富士通株式会社 Site monitoring method
US20090187520A1 (en) * 2008-01-23 2009-07-23 Chao Liu Demographics from behavior
CN113159807B (en) * 2020-01-07 2023-10-13 百度在线网络技术(北京)有限公司 Floor page processing method, floor page processing device, floor page processing equipment and floor page processing medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9076163B1 (en) * 2010-04-16 2015-07-07 Google Inc. User ad creation
WO2017167042A1 (en) * 2016-04-01 2017-10-05 阿里巴巴集团控股有限公司 Statistical method and apparatus for behaviors of front-end users
CN107734006A (en) * 2017-09-27 2018-02-23 北京奇艺世纪科技有限公司 A kind of statistical log sending method, device and electronic equipment
KR20190070642A (en) * 2017-12-13 2019-06-21 (주)포그리트 A visitor behavior alalysis appratus of dynamic webpages and a method for analysing a visitor behavior of webpages using it
CN110378732A (en) * 2019-07-18 2019-10-25 腾讯科技(深圳)有限公司 Information display method, information correlation method, device, equipment and storage medium
CN111526065A (en) * 2020-04-13 2020-08-11 苏宁云计算有限公司 Website page flow analysis method and system
CN111882367A (en) * 2020-08-11 2020-11-03 北京云和互动信息技术有限公司 Method for monitoring and tracking online advertisements through user internet behavior analysis
CN112541121A (en) * 2020-12-21 2021-03-23 深圳市彬讯科技有限公司 Page data pushing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113590959A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
US11361047B2 (en) Website creation system for creating websites having at least one series of directional webpages and related methods
US20070226058A1 (en) Time based electronic advertisement
US20210303654A1 (en) Website creation system for creating websites having at least one series of directional webpages and related methods
TWI486891B (en) Implementation Method and Device of Network Advertisement Effect Monitoring
AU2007333736B2 (en) Auction for each individual ad impression
JP5497282B2 (en) Information providing method and advertisement providing method
US9037483B1 (en) Multi-touch attribution model for valuing impressions and other online activities
US20110196735A1 (en) System and method for measuring effectiveness of electronically presented advertizing
CN110163654B (en) Advertisement delivery data tracking method and system
CN113656721B (en) Page loading method, device and system
JP2007156930A (en) System for utilizing advertising result, system for managing advertising result, and method for utilizing advertising result
JP2006252179A (en) Advertisement presentation in internet advertising service, management method, advertisement management server, program and storage medium for storing the same program
US9881318B1 (en) Attributing web-based user actions to multivariate test parameters associated with publisher content
EP1236145A1 (en) Method for brokering internet advertisements on the internet and host therefor
US20120260185A1 (en) Path length selector
WO2001039024A2 (en) Dynamic internet advertising
CN108694174B (en) Content delivery data analysis method and device
JP5747214B1 (en) Information distribution system, information distribution method, and information distribution program
CN108932594B (en) Information pushing method and device
CN105450460B (en) Network operation recording method and system
CN113590959B (en) User behavior data acquisition method, device, equipment and storage medium
US20140136317A1 (en) Advertisement information providing device and advertisement information providing method
JP2009058988A (en) Affiliate management server device, affiliate management method, and affiliate management server program
WO2004097654A1 (en) Web content validity evaluation method, web content search method using the same, web content accounting method, search server, and content providing device
JP4992088B2 (en) Web server device, web page management method, and web server program

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
GR01 Patent grant
GR01 Patent grant