Webpage Element Identification via Dynamic DOM Path Recalculation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current web analysis solutions lack accuracy in identifying and analyzing webpage elements due to changes in the Document Object Model (DOM) structure, leading to inconsistent zoning metrics and reduced effectiveness in user experience analysis.
Innovation Solution
An experience analytics system that identifies webpage elements based on optional HTML attributes and selectors, using computed paths and custom configurations to account for changes in the DOM structure, thereby enhancing the accuracy of zoning metrics.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If traditional web analysis solutions use fixed DOM structure assumptions, then initial element identification works, but accuracy deteriorates when DOM structure changes
Solution Approach 1:
The system dynamically adapts to DOM structure changes by implementing a feedback mechanism that detects modifications in the DOM tree and automatically recalculates element paths and selectors. This allows the analysis system to maintain accuracy despite structural changes, transforming a static approach into a dynamic one that responds to environmental changes.
Solution Approach 2:
The system incorporates feedback loops that continuously monitor DOM structure and compare expected versus actual element positions. When changes are detected, the system adjusts its element identification strategies accordingly, ensuring consistent and accurate analysis even as the webpage structure evolves over time.
2Measurement precision
If the system accounts for DOM structure changes, then element identification accuracy improves, but system complexity increases
Solution Approach 1:
The system performs preliminary actions by pre-defining multiple potential element identification strategies and selectors before DOM changes occur. When a change is detected, the system can quickly switch between pre-prepared strategies rather than computing everything from scratch, reducing the apparent complexity while maintaining accuracy.
Solution Approach 2:
The system manages complexity by changing parameters such as selector types and path calculations dynamically based on the detected DOM structure. Rather than implementing a completely complex adaptive system, it adjusts specific parameters like selector specificity and path depth to accommodate structural changes, simplifying the overall architecture.
Data Source
AI summary
Aspects of the present disclosure involve a system comprising a computer-readable storage medium storing a program and method for identifying webpage elements based on optional HTML attributes and selectors (e.g., corresponding to custom configuration of targets for a webpage). The program and method provide for accessing session events corresponding to user interaction by at least one first device with respect to a webpage, the session events being associated with a tracking tag corresponding to the webpage; determining, based on the session events associated with the tracking tag, plural targets for the webpage, each target comprising a computed path to a respective node in a tree diagram representing the webpage, each computed path being based on a custom configuration corresponding to user-selected rules for applying with respect to the tree diagram; and determining, based on determining the plural targets, zoning metrics for display on a second device.


