Override-Robust Experience Analytics Script via Iframe Proxy
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing digital experience tracking systems fail to accurately collect user interactions on webpages due to overrides of native JavaScript functions by clients or third-party libraries, leading to incomplete or incorrect data collection and analysis.
Innovation Solution
Generating override-robust experience analytics scripts that reference an iframe window to access untouched native browser functions, ensuring data collection and analysis remain unaffected by such overrides.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If native JavaScript functions are used for tracking user interactions, then data collection is simple and direct, but the tracking fails when functions are overridden by clients or third-party libraries
Solution Approach 1:
The patent introduces an intermediary mechanism (iframe window or proxy function) that acts as a mediator between the tracking script and the native browser functions. This intermediary provides access to the native functions without being affected by overrides in the main document context, thereby resolving the contradiction between tracking reliability and script complexity.
2Measurement precision
If tracking scripts reference native browser functions directly, then implementation is straightforward, but data collection becomes inaccurate when overrides occur
Solution Approach 1:
The patent applies preliminary action by pre-establishing references to native functions within an iframe context before any overrides can occur. The tracking script sets up its function references in advance within the protected iframe environment, ensuring that subsequent overrides in the main document cannot affect the already-established references, thus maintaining measurement precision while managing implementation complexity.
3Adaptability or versatility
If clients or third-party libraries override native JavaScript functions for their purposes, then their functionality is enhanced, but experience analytics data collection becomes incomplete or incorrect
Solution Approach 1:
The patent segments the browser environment into two distinct contexts: the main document context where client and third-party functions can override native functions for their purposes, and an iframe context that maintains clean, unoverridden references to native functions. This segmentation allows both client functionality flexibility and complete user interaction data collection to coexist without interference.
Data Source
AI summary
A method of generating an experience analytics script that is override-robust starts with processor receiving a script and generating, based on the script, an experience analytics script that is override-robust. Generating the experience analytics script comprises identifying expressions in the script referencing browser native functions of a browser, and replacing the expressions referencing the native functions of the browser with expressions including one or more references that are set at upon execution. The processor causes the experience analytics script to be executed on the browser of a customer client device. Upon execution of the experience analytics script, a value of the one or more references are set to an iframe window. The iframe window is associated with an iframe providing access to a pure untouched version of the native functions of the browser. Other embodiments are described herein.


