Cross-Domain Ad-to-Cart Communication via iFrame Mediator
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current advertising technologies fail to establish a direct connection between digital advertisements and consumer purchases, relying on indirect inferences and being hindered by cross-domain communication restrictions in web browsers, which limits the effectiveness of interactive advertising.
Innovation Solution
The Ad-to-Cart (A2C) system enables bidirectional communication between digital advertisements and a merchant's shopping cart, allowing consumers to interact with the cart within the advertisement and have those changes reflected on the merchant's website, using an iFrame for cross-domain communication.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If AJAX function calls are restricted to the same domain for security reasons, then browser security is improved, but cross-domain communication capability deteriorates
Solution Approach 1:
The patent introduces an intermediary iframe element that acts as a mediator between the advertisement content and the merchant website. The iframe loads the merchant website content and enables cross-domain communication by serving as a bridge, allowing the advertisement to interact with the shopping cart functionality without direct cross-domain AJAX calls. This resolves the security restriction while enabling the desired communication capability.
2Object-affected harmful factors
If all data sources are stored in a single domain, then cross-domain scripting security is improved, but architectural flexibility and integration capability deteriorate
Solution Approach 1:
The patent implements a nested structure where the merchant website content is embedded within an iframe that is itself embedded in the advertisement. This nested doll approach allows multiple data sources and domains to be integrated hierarchically, maintaining security boundaries while enabling seamless interaction between different domains through the nested iframe structure.
3Adaptability or versatility
If users must use low-security browsers to access multi-source websites, then cross-domain functionality is improved, but user safety and convenience deteriorate
Solution Approach 1:
The iframe acts as a secure intermediary that enables cross-domain functionality without requiring users to lower their browser security settings. By mediating the communication through the iframe's same-origin policy mechanisms, the system achieves cross-domain interaction while maintaining standard security protections, thus avoiding exposure to cross-domain scripting attacks.
4Measurement precision
If indirect inference methods are used to measure advertising effectiveness, then measurement capability is improved, but direct attribution accuracy deteriorates
Solution Approach 1:
The patent implements bidirectional communication between the advertisement and the merchant website shopping cart, creating a feedback loop that provides real-time information about consumer actions. This direct feedback mechanism captures precise data about which advertisement led to which purchase, enabling accurate direct attribution while maintaining comprehensive measurement capability through the continuous communication channel.
Data Source
AI summary
A method of modifying a first webpage from a first domain to enable cross-domain two-way communication is disclosed. The method comprising causing a web browser to load, as part of the first webpage, dynamic content comprising a UI to embed an iFrame into the first webpage that contains a second webpage from a second domain different from the first domain; to load a script file from within the iFrame; to bind one or more functions defined by the script file to the UI; to, in response to the user interacting with the UI, using the one or more functions to send a message to the second domain; and to, after receiving a response from a server at the second domain, update the UI in response to the received response. The method also enables a seamless, cross-domain user interface that maintains synchronization between webpages on different domains.


