System for monitoring interactions on a web page
Patent Information
- Application Number
- EP2022813656
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-11-02
- Filing Date
- 2022-10-25
- Publication Date
- 2024-09-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing web page interaction monitoring solutions generate significant server-side overhead and lose relevance when the page structure changes, leading to increased maintenance costs and data irrelevance without specific tagging.
A web page interaction tracking system that uses CSS codes to log interactions, sending CSS codes and indicators to an interaction logging server, where they are encoded and stored in a database, allowing for real-time analysis without modifying the web page code and supporting large connection peaks without scaling.
Enables real-time, cost-effective navigation monitoring across all elements without additional server load, maintaining data relevance and reducing maintenance costs by using CSS codes to identify elements and encode interactions, allowing for efficient data retrieval and analysis.
Smart Images

Figure 1.1
Abstract
Description
[0001] Description
[0002] Title :
[0003] INTERACTION SUM SYSTEM ON A WEB PAGE
[0004] The invention relates to the tracking of Internet navigation, and in particular the tracking of navigation or activity within a site and within the pages of a site.
[0005] Web designers have access to a limited amount of data with which to quantify the quality of the sites they design. Historically, their main source of information was audience measurement, via page counts.
[0006] To enrich this data, certain solutions have been developed to try to systematize the recovery of most of a user's operations within a site, including within a page.
[0007] However, these solutions pose several challenges. First, the solution must not generate server-side overhead. Tracking all of a user's interactions with a page is a data-intensive task that can pose significant network and server load issues.
[0008] To get around this problem, it is known to reference the objects on a web page by the order in which they appear in the code. Navigation tracking data is then retrieved based on this order. The problem with these solutions is that without specific tagging, as soon as the page structure is lost, all past data loses its relevance. The cost is therefore shifted to the maintenance and design of the web pages.
[0009] The invention improves the situation. To this end, it proposes an Internet navigation tracking system comprising a web server arranged to provide at least one web page in which at least some of the elements associated with navigation tracking are coded in the web page by a CSS code, the web page comprising a mechanism for detecting interaction to be logged, which mechanism is arranged, when a type of interaction to be logged is detected, to send the CSS code associated with the element concerned with an indicator of the detected interaction to an interaction logging server.The interaction logging server comprises an input memory arranged to receive the CSS codes associated with a relevant element and at least one indicator of the detected interaction, and an extractor arranged to analyze each CSS code associated with a relevant element and the at least one indicator of the detected interaction, cut them into pieces, encode at least some of the pieces in the form of a number, and store the resulting sequence of numbers encoding the pieces in a database.
[0010] This device is particularly advantageous because it allows us to offer a system that does not require modification of the web page code, which systematizes the tracking of navigation on all elements, and which allows real-time analysis of data without additional cost because the database is structured with the data from the web page code, which are therefore controlled with the design of the latter.
[0011] According to various embodiments, the invention may have one or more of the following characteristics:
[0012] - the logging server comprises a content delivery network server, and wherein the input memory is a logging memory of the content delivery network server,
[0013] - the extractor is an extractor-loader,
[0014] - the extractor is further arranged to store the sequence of numbers encoding the pieces composing the CSS code associated with the element concerned with an indicator of the interaction detected in a row of a table in the database, each number being stored in a separate column,
[0015] - the extractor is further arranged to store the pairs associating a piece with a number in a two-column database table,
[0016] - the extractor is arranged to search for a piece in a two-column database table to retrieve the corresponding number, and, when the piece is absent, to generate a number and create a new row with the piece and the generated number,
[0017] - the detection mechanism is implemented by JavaScript code included in the web page, - the detection mechanism issues a content request to the content delivery network server, which content has a weight lower than Iko, and in which said request contains as parameters at least the URL of the web page on which the interaction was detected, the CSS code of the element concerned and an indicator of the detected interaction,
[0018] - the detection mechanism is arranged to detect an interaction in the group comprising page display, single click, double click, long press, quick touch and long touch, and
[0019] - the detection mechanism comprises an enrichment function arranged to detect that the interaction type of a detected interaction is such that two interactions each having a chosen interaction type have been detected on the same web page without changing the page, to calculate a duration from time markers associated with these two interactions, and to return this duration with the CSS code associated with the element concerned with an indicator of the second detected interaction.
[0020] Other characteristics and advantages of the invention will appear more clearly on reading the following description, taken from examples given for illustrative and non-limiting purposes, taken from the drawings in which:
[0021] - figure 1 represents a generic diagram of an Internet navigation tracking system according to the invention,
[0022] - Figure 2 represents an example of a function implemented by the extractor of Figure 1.
[0023] The drawings and the description below contain, for the most part, elements of a certain character. They may therefore not only serve to better understand the present invention, but also contribute to its definition, if necessary.
[0024] Figure 1 represents a generic diagram of an Internet navigation tracking system 2 according to the invention. The personalized Internet navigation tracking system 2 comprises in the example described here a web server 4 and a logging server 6. The web server 4 is arranged to provide web contents, in particular web pages to one or more devices 8 which are connected to the Internet. The logging server 6 comprises a memory 10 and an extractor 12. In the example described here, the memory 10 comprises an input memory and a logging database which will be described below. Still in the example described here, the logging server 6 is a content distribution network server (or CDN server for "Content distribution network server" in English), and the extractor 12 is an extract-transform-loader ("ETL" in English).As will be seen below, the role of ETL is to transform the navigation tracking data received by the CDN server to save it in the logging database, which is a relational database. In the example described here, this database is stored in the same space as the input memory. Alternatively, the navigation data could be stored in separate spaces. In the example described here, the ETL is part of the CDN server. Alternatively, the ETL could be implemented in another server or computing resource.
[0025] The memory 10 may be any type of data storage suitable for receiving digital data: hard disk, flash memory hard disk, flash memory in any form, random access memory, magnetic disk, locally or cloud distributed storage, etc. The data calculated by the device may be stored on any type of memory similar to or on the memory 4. This data may be erased after the device has performed its tasks or retained.
[0026] The extractor 12 directly or indirectly accesses the input memory. It can be implemented in the form of appropriate computer code executed on one or more processors. A processor should be understood to mean any processor suitable for the calculations described below. Such a processor can be implemented in any known manner, in the form of a microprocessor for a personal computer, a dedicated chip of the FPGA or SoC type, a computing resource on a grid or in the cloud, a cluster of graphics processing units (GPUs), a microcontroller, or any other form suitable for providing the computing power necessary for the implementation described below. One or more of these elements can also be implemented in the form of specialized electronic circuits such as an ASIC. A combination of processor and electronic circuits can also be envisaged. The operation of the navigation tracking is as follows.A device 8 sends a request to the web server 4 to view a web page Page.html. In this web page, the elements to be displayed are encoded with CSS code to format it. In addition to the CSS codes, the web page Page.html contains JavaScript code that implements an interaction detection mechanism to be logged. This mechanism is arranged to detect that a user is interacting with an element of the web page and that this interaction must be logged. For example, this interaction can be the display of the page (“Pageview” event), a click on an element (single click, long click, double click, long press, quick touch, long touch, etc.), a hover over an event (“Mouseover” event), etc. The mechanism can be arranged to detect all possible interactions on the web page or only a subset of them, depending on the desired degree of logging.
[0027] When one of these interactions is detected, the JavaScript code triggers a silent Int_Dat request to the CDN server. The term silent request is used because this request targets content that is of no interest to the device 8, and the result of which must remain transparent to the latter. Thus, in the example described here, this request targets an image that contains a single pixel (i.e. an image with dimensions 1 pixel * 1 pixel) and whose display cannot be seen. The Int Dat request therefore contains the address on the CDN server of this resource, but also all the data of interest for logging. For this, this data is passed as parameters of the request. Advantageously, the resource on the logging server side will weigh less Iko, which helps to preserve bandwidth, and to offer a resource that, even if it is displayed, will not be perceived by the user.
[0028] Below is an example of the address targeted by the request on the CDN server. https: / / 8vhgfgcwsnjp.air360tracker.net / i?a=8vhgfgcwsnjp&d=dc4912ea8f9b966fa3860 81cbfe8e46e&s=648d8686-fa31-4d55-bd04-075294e3155c-1632908375& p=web&t=1632909753.266&et=pv&el=Pageview&wu=https%3A%2P%2Pbilletterie.fr %2P&wt=Billetterie&wr=https%3A%2P%2Fbilletterie.fr%2Pcontent%2P168- billetterie-europa-league-21 -22&web_i= 1 In this query, we see: the address of the resource on CDN server: 8vhgfgcwsnjp.air360tracker.net / i?a=8vhgfgcwsnjp,
[0029] - user ID: dc4912ea8f9b966fa386081cbfe8e46e,
[0030] - the CSS code of the element concerned: p=web
[0031] - session ID: 648d8686-fa31-4d55-bd04-075294e3155c- 1632908375,
[0032] - the type of interaction and its time marker: Pageview; 1632909753.266,
[0033] - the URL of the original web page: https%3A%2F%2Fbilletterie.fr%2F&wt=Billetterie the URL of the destination web page of the link that was clicked: https%3A%2F%2Fbilletterie.fr%2Fcontent%2F168-billetterie-europa-league-21-22.
[0034] This request, when received by the CDN server, is stored in a log that constitutes the input memory. It appears here that the use of a CDN server is particularly interesting. Indeed, it allows the use of the request logging function that all CDN servers are equipped with. In addition, these are naturally made to manage very high access loads, which means that system 2 can serve several hundred thousand users simultaneously.
[0035] Furthermore, using a transparent query means that, on the one hand, the user is not impacted by the logging of their interactions, and, on the other hand, the calling URL is an ideal vector for transporting the data to be logged. Finally, using the CSS code associated with the logged element is very advantageous because it allows easy identification of elements by their CSS properties, without requiring any special processing on the part of the user viewing the web page, or in the design of the page.
[0036] Once this request is received in the input memory 10, the extractor 12 processes it to store the data in the logging database. In the example described here, this is done periodically, for example the extractor 12 accesses the input memory every minute. This desynchronization is interesting because it allows the system 2 to support significant connection peaks without having to scale or risk a loss of service, while remaining real-time in most situations. Thus, the Applicant's experiments have shown that with a conventional CDN server, even in the case of peaks of several hundred thousand connections per minute for around ten minutes, the extractor 12 manages to unstack the input memory in 30 minutes.
[0037] Figure 2 shows an example of operation of the extractor 12 for processing the data in the input memory 10.
[0038] In an operation 200, the extractor 12 retrieves an entry from the input memory 10 by executing a Pop() function which pops the latter and stores the result in a local variable Dat.
[0039] If we take the example mentioned above, the local variable Dat therefore contains the entire URL https: / / 8vhgfgcwsnjp.air360tracker.net / i?a=8vhgfgcwsnjp&d=dc4912ea8f9b966fa3860 81cbfe8e46e&s=648d8686-fa31-4d55-bd04-075294e3155c-1632908375& p=web&t=1632909753.266&et=pv&el=Pageview&wu=https%3A%2F%2Fbilletterie.fr %2F&wt=Billetterie&wr=https%3A%2F%2Fbilletterie.fr%2Fcontent%2F168- ticketing-europa-league-21-22&web_i= 1
[0040] Then, in an operation 210, the extractor 12 cleans the Dat variable by means of a Clean() function, in particular to remove the URL of the resource on the CDN server and the data separators in the URL, and cuts the result into pieces in a Dat2Conv[] array.
[0041] From the above URL, the resulting Dat2Conv[] array is as follows:
[0042] The Dat2Conv[] array is then traversed using a Conv() function to convert a given entry into a single number. This conversion is accomplished by accessing a conversion table with two columns. One column contains text strings, and the other contains a number. The Conv() function searches for the input text in the Dat2Conv[] array and returns the corresponding number if that text is present. If the text is not present, then a pseudo-random generator is used to determine a number for that text, and this double entry is added to the two-column table. Finally, the numbers corresponding to the entries in the Dat2Conv[] array are returned in a ConvDat variable in which the numbers are separated by a separator, for example ";" or "#".
[0043] In a first variant, all entries in the Dat2Conv[] array are transformed by the Conv() function. In a second variant, certain unique elements such as the user ID are not converted and will be stored identically in the relational database.
[0044] Finally, in a 230 operation, a Wrt() function writes the ConvDat variable into a row of a relational database table.
[0045] This operation of extractor 12 is particularly interesting because it is easy to implement by an ETL, and produces a form of encoding of each transparent query into a sequence of numbers. This type of data is particularly easy to manipulate in extraction, and searches are inexpensive in terms of calculation.
[0046] Thus, it becomes possible in an industrializable way to log all navigation events from an unlimited number of devices, with real-time availability, and in a way that makes data extraction all the easier since the division into pieces ("chunks" in English) of operation 210 makes it particularly agile. Indeed, by thoughtfully designing the CSS entries of web pages, it becomes possible to perform analysis not only on a web page, but also on an entire site. To do this, it is enough to name elements that we wish to analyze simultaneously in the same way: the part of these elements that corresponds to the name in the CSS code will be encoded with the same number, and it will be enough to search for this number to retrieve all the events associated with them. In the same spirit, the combination of several numbers together will amount to a query on a subset of elements, etc.
[0047] It therefore appears that, taken alone, each of the features described above provides a significant advantage over the prior art. Thus, it would be possible to use a different type of server than a CDN server, or a different tool than an ETL, or even use a different vehicle than a transparent query to transmit the data to be encoded. The most crucial elements are the use of CSS code data, cut into pieces and encoded as a series of numbers, which allows the main technical effect to be obtained. The specificities mentioned above make it possible to further improve the result obtained.
[0048] It is also possible to further enhance the operation of System 2 by combining certain events on the device side.
[0049] Indeed, when two events follow one another without a page change (for example, loading the page, then clicking on a particular element, which can cause a page change or mark a particular interest in an element for the user), the mechanism can directly calculate the time that elapsed between the first interaction and the second, and transmit this information in the transparent request. This allows creating composite indicators without increasing the server load, with an imperceptible cost on the client side. In addition, the logging server can include routines that automatically calculate certain composite indicators in the database, such as the average time for the indices just described, the average number of clicks per hour / day / other unit of time on each element or on a subset of them, etc.
[0050] Thanks to all of the above, the Internet Navigation Tracking System 2 allows to offer an enriched interface to designers, who can access an enriched version of the web pages that allows to display for each element all the relevant information in the relational database, instantly.
Claims
Demands
1. Internet browsing tracking system comprising a web server (4) arranged to provide at least one web page in which at least some of the elements associated with navigation tracking are encoded in the web page by CSS code, the web page comprising a mechanism for detecting interactions to be logged, which mechanism is arranged, when a type of interaction to be logged is detected, to send the CSS code associated with the relevant element, together with at least one indicator of the detected interaction, to an interaction logging server (6), the interaction logging server (6) comprising an input memory (10) arranged to receive the CSS codes associated with a relevant element and at least one indicator of the detected interaction, and an extractor (12) arranged to parse each CSS code associated with a relevant element and at least one indicator of the detected interaction, slice them into pieces, and encode at least some of the pieces in the form of a number,and store the resulting sequence of numbers encoding the pieces in a database.
2. Internet browsing tracking system according to claim 1, wherein the logging server (6) comprises a content delivery network server, and wherein the input memory (10) is a logging memory of the content delivery network server.
3. Internet browsing tracking system according to claim 1 or 2, wherein the extractor (12) is an extractor-loader.
4. Internet browsing tracking system according to any one of the preceding claims, wherein the extractor (12) is further arranged to store the sequence of numbers encoding the pieces composing the CSS code associated with the element concerned with an indicator of the interaction detected in a row of a database table, each number being stored in a separate column.
5. An Internet browsing tracking system according to any one of the preceding claims, wherein the extractor (12) is further arranged to storing the pairs associating a piece with a number in a two-column database table.
6. Internet browsing tracking system according to claim 5, wherein the extractor (12) is arranged to search for a piece in a two-column database table to retrieve the corresponding number, and, when the piece is absent, to generate a number and create a new row with the piece and the generated number.
7. Internet browsing tracking system according to any one of the preceding claims, wherein the detection mechanism is implemented by JavaScript code included in the web page.
8. Internet browsing tracking system according to claim 2 together with claim 7, wherein the detection mechanism issues a content request to the content delivery network server, which content has a weight less than Iko, and wherein said request contains as parameters at least the URL of the web page on which the interaction was detected, the CSS code of the relevant element and an indicator of the detected interaction.
9. Internet browsing tracking system according to any one of the preceding claims, wherein the detection mechanism is arranged to detect an interaction in the group comprising the display of a page, single click, double click, long press, quick touch and long touch.
10. An internet browsing tracking system according to any one of the preceding claims, wherein the mechanism comprises an enrichment function arranged to detect that the type of interaction of a detected interaction is such that two interactions, each exhibiting a chosen interaction type, have been detected on the same web page without any change to the page, to calculate a duration from time markers associated with these two interactions, and to return this duration with the CSS code associated with the element in question with an indicator of the second interaction detected.
