A multi-channel-based event merging method, device, equipment and medium
By using multi-channel redundant acquisition and unified event structure processing, the problem of integrating user behavior data and order data was solved, achieving the integrity and attribution accuracy of event data, and improving the accuracy of advertising ROI calculation.
Patent Information
- Application Number
- CN202611300075.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, it is difficult to integrate user behavior data and order data collected from multiple sources into a unified event stream that is non-duplicative and attributable, resulting in problems such as missed event reporting, duplicate counting, and broken attribution context.
User behavior data and order data are redundantly collected through multiple acquisition channels. The data is then reported to the server for signature verification using the same-domain proxy path and platform push path. The data is normalized into a unified event structure, and deduplication and event merging are performed for data entry. The marketing context of the checkout event is merged to repair session breaks.
It improves the reach rate of critical events in privacy-restricted environments, ensures the integrity, uniqueness, and attribution accuracy of event data, and solves the problems of duplicate counting and session breakage.
Smart Images

Figure CN123138592A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, device and medium for multi-channel event merging. Background Technology
[0002] With the development of cross-border e-commerce, more and more merchants are operating in the form of independent websites. An independent website refers to a merchant's own branded online store, built by themselves or based on an e-commerce SaaS (Software as a Service) platform, such as a store built on e-commerce platforms like Shopify and ShopLine. Independent website merchants typically acquire users through advertising on media platforms. The calculation of return on investment (ROI) relies on complete user journey touchpoint data, including user behavior data such as page views, adding to cart, initiating checkout, and making purchases, as well as order data. It also relies on marketing context information such as ad click identifiers (e.g., gclid, fbclid, ttclid) and UTM (Urchin Tracking Module) promotion parameters.
[0003] In existing technologies, event data collection typically employs the following methods: embedding tracking scripts or pixels pointing to a third-party domain in the store page, which are then executed by the browser to report user behavior data such as page views and adding items to the cart across domains and store it in the database; or obtaining order data solely through order message pushes from e-commerce platforms, which is then written into the order record after signature verification; or simply combining the above two channels, storing the collected data in two sets of data tables in parallel or approximately correlated by time.
[0004] However, with the widespread adoption of iOS ATT (App Tracking Transparency), browsers' deprecation of third-party cookies, Intelligent Tracking Prevention (ITP) mechanisms, and ad-blocking and privacy extensions such as AdBlock, the failure rate of client-side tracking has increased significantly, exceeding 50% to 70% in some scenarios, placing event collection in a privacy-constrained environment. In this environment, all the aforementioned collection methods suffer from technical flaws, making it difficult to integrate user behavior data and order data collected from multiple sources into a unified, attributable event stream without duplication: events collected from a single client channel are easily intercepted and lost; platform order pushes lack upstream behavioral journeys and click identifiers; simple overlay of multiple channels results in duplicate reporting of the same business fact, leading to duplicate counting; and cross-domain or cross-session issues in checkout and purchase processes cause breaks in the marketing context, making it impossible to trace purchase events back to advertising touchpoints, ultimately resulting in distorted attribution results. Summary of the Invention
[0005] This invention provides a multi-channel event merging method, apparatus, device, and medium, aiming to solve the technical problem in the prior art that it is difficult to integrate user behavior data and order data collected from multiple sources into a unified event stream that is non-duplicative and attributable, resulting in event underreporting, duplicate counting, and broken attribution context.
[0006] In a first aspect, embodiments of the present invention provide a multi-channel-based event merging method, comprising: By redundantly collecting user behavior data and order data from the target store through multiple collection channels, multiple raw events carrying source tags are obtained; Each of the original events is reported to the server via the same-domain proxy path or platform push path of the target store for signature verification, resulting in the aggregated original event stream; The original event stream is normalized into candidate events with a unified event structure; wherein, the unified event structure includes event identifier, identity signal, marketing context, and order identifier; The candidate events are deduplicated and written into the fact storage table according to the event identifier. Duplicate events in the fact storage table are then filtered to obtain deduplicated events. Purchase events with different source tags but associated with the same order identifier and repeated behavior events under the same identity signal are merged to obtain merged events. The marketing context of the checkout event in the merged event is persisted as an attribution context and merged into the purchase event associated with the same order identifier to obtain the target event.
[0007] Secondly, embodiments of the present invention provide a multi-channel event merging device, comprising: The data collection module is used to redundantly collect user behavior data and order data from the target store through multiple collection channels to obtain multiple raw events with source tags; The reporting module is used to report each of the original events to the server for signature verification via the same domain proxy path or platform push path of the target store, so as to obtain the aggregated original event stream. The normalization module is used to normalize the original event stream into candidate events with a unified event structure; wherein, the unified event structure includes event identifier, identity signal, marketing context, and order identifier; The deduplication module is used to deduplicatize the candidate events according to the event identifier and write them into the fact storage table, and filter the duplicate events in the fact storage table to obtain the deduplicated events; The merging module is used to merge purchase events with different source tags but associated with the same order identifier and duplicate behavior events under the same identity signal in the deduplication events to obtain merged events; The bridging module is used to persist the marketing context of the checkout event in the merged event as an attribution context and merge it into the purchase event associated with the same order identifier to obtain the target event.
[0008] Thirdly, embodiments of the present invention provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the multi-channel-based event merging method of the first aspect.
[0009] Fourthly, embodiments of the present invention provide a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the multi-channel-based event merging method of the first aspect.
[0010] This invention provides a multi-channel event merging method, comprising: redundantly collecting user behavior data and order data from a target store through multiple acquisition channels to obtain multiple original events carrying source tags; reporting each original event to the server for signature verification via a same-domain proxy path or platform push path of the target store to obtain a converged original event stream; normalizing the original event stream into candidate events with a unified event structure; wherein the unified event structure includes an event identifier, an identity signal, a marketing context, and an order identifier; deduplicating the candidate events according to the event identifier and writing them into a fact storage table, and filtering duplicate events in the fact storage table to obtain deduplicated events; merging purchase events with different source tags but associated with the same order identifier and duplicate behavior events under the same identity signal in the deduplicated events to obtain merged events; persisting the marketing context of the checkout event in the merged events as an attribution context and merging it into the purchase event associated with the same order identifier to obtain the target event. This invention redundantly collects user behavior and order data from target stores through multiple collection channels, ensuring that critical events can still reach the server through other channels even if some collection channels are blocked, thus improving the arrival rate of critical events in privacy-constrained environments. By using a same-domain proxy path to report original events as same-domain requests from the store and performing signature verification, it reduces event loss caused by blocked cross-domain reports and ensures the legitimacy of the event source. Furthermore, by normalizing the original events from each collection channel into a unified event structure including event identifiers, identity signals, marketing context, and order identifiers, it provides a multi-channel... The comparison and merging of events provides a unified primary key and dimension; by deduplicating and filtering duplicate events based on event identifiers, and merging purchase events with different source tags but associated with the same order identifier and duplicate behavioral events under the same identity signal, the duplicate count is eliminated while retaining the advantages of multi-channel redundant collection; by persisting the marketing context of checkout events as attribution contexts and merging them with purchase events associated with the same order identifier, the session break between checkout and purchase is repaired, allowing purchase events to be traced back to advertising touchpoints, thereby improving the integrity, uniqueness and attribution accuracy of event data.
[0011] The present invention also provides a multi-channel event merging device, a computer device, and a storage medium, which have the same beneficial effects as described above. Attached Figure Description
[0012] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 A flowchart illustrating a multi-channel event merging method provided in an embodiment of the present invention; Figure 2 This is a schematic block diagram of a multi-channel event merging device provided for an embodiment of the present invention. Detailed Implementation
[0014] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0015] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0016] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0017] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0018] Please see below. Figure 1 , Figure 1 The flowchart of a multi-channel event merging method provided in this embodiment of the invention specifically includes steps S101 to S106.
[0019] S101. Redundantly collect user behavior data and order data in the target store through multiple collection channels to obtain multiple raw events with source tags; S102. Each of the original events is reported to the server via the same-domain agent path or platform push path of the target store for signature verification, so as to obtain the aggregated original event stream. S103. Normalize the original event stream into candidate events with a unified event structure; wherein, the unified event structure includes event identifier, identity signal, marketing context, and order identifier; S104. Based on the event identifier, the candidate events are deduplicated and written into the fact storage table. Duplicate events in the fact storage table are filtered to obtain deduplicated events. S105. Merge purchase events with different source tags but associated with the same order identifier and repeated behavior events under the same identity signal in the deduplication events to obtain merged events; S106. The marketing context of the checkout event in the merged event is persisted as an attribution context and merged into the purchase event associated with the same order identifier to obtain the target event.
[0020] In step S101, the target store refers to the store that requires event collection and aggregation, such as a self-built or independent website store of a brand merchant that directly faces consumers (DTC) and is built on e-commerce SaaS (Software as a Service) platforms such as Shopify and ShopLine. Merchants of target stores typically acquire users through advertising on media platforms. The attribution calculation of Return on Investment (ROI) and Return on Ad Spend (ROAS, usually attribution revenue divided by advertising expenditure) relies on complete user journey touchpoint data. A touchpoint refers to an observable user interaction in an attribution sense. Multiple touchpoints constitute a funnel path of user conversion from browsing, adding to cart, checkout to purchase. Multi-touchpoint attribution (an attribution method that assigns conversion credit to multiple touchpoints before purchase, compared to only counting the last click) especially needs to fully cover touchpoints at each conversion stage. User behavior data refers to records of buyer actions within a target store, including page views, product detail browsing, adding items to cart, and initiating checkout. Order data refers to order information recorded by the e-commerce platform. In a privacy-constrained environment characterized by iOS ATT (App Tracking Transparency), Intelligent Tracking Prevention (ITP), third-party cookie disabling, and the widespread use of ad-blocking extensions like AdBlock (browser extensions that can simultaneously block third-party tracking scripts and pixel requests), relying solely on a single client-side channel for data collection can easily lead to the interception and loss of critical events. Public industry data shows that client-side tracking failure rates in this scenario can exceed 50% to 70%. Therefore, this step involves simultaneously collecting user behavior data and order data through multiple redundant collection channels—a redundant collection approach. A data acquisition channel refers to an independent approach to obtaining event data. For example, a data acquisition channel consists of three redundant channels: client-side scripts (data acquisition scripts injected into the store page and executed in the buyer's browser), web page pixels (pixel acquisition capabilities executed by the e-commerce platform during its controlled operation), and order messages (order notification messages actively pushed by the e-commerce platform). This forms a three-channel redundant acquisition system, which follows the following redundancy principle: when the same business action can be acquired through at least two acquisition channels, priority is given to retaining it. The order data of the e-commerce platform is used as the benchmark for the purchase fact, and the client-side and pixel-type channels supplement the behavior path.The source tag is a field that identifies the collection channel to which the event belongs. Its values include, for example, client (client-side script), web_pixel (webpage pixel), webhook (platform push), api (direct connection interface), and proxy (same-domain proxy). The original event refers to an event generated from the collected data and not yet normalized. Furthermore, in other embodiments, webpage pixels can be replaced with other forms of server-side pixels (referring to pixel collection executed on the server or platform server side and not dependent on third-party scripts in the buyer's browser), such as tag server-side containers or merchant-built server-side collection, as long as the source tag is distinguishable and the event can be included in a unified event structure.
[0021] In one embodiment, step S101 includes: The system collects user behavior data, such as page browsing, adding items to cart, and initiating checkout, by injecting client-side scripts into the target store's page. Key funnel behaviors in the user behavior data are repeatedly collected through the webpage pixels operated by the e-commerce platform. The system receives order messages pushed by the e-commerce platform as order data, and generates a purchase event after signature verification. The collected user behavior data and the key funnel behaviors are respectively converted into corresponding behavioral events; According to the acquisition channel to which they belong, source tags are added to each of the purchase events and the behavior events to obtain multiple original events.
[0022] In this embodiment, user behavior data is collected by injecting client-side scripts into the target store's pages. A client-side script is a JavaScript Software Development Kit (JS SDK) injected into the target store's pages and executed in the buyer's browser. Specifically, it can be injected into various pages of the target store through a store theme template or a tag management system (such as Google Tag Manager, a system used to centrally manage and track scripts on a website). After the page loads, the client-side script collects user behavior data such as page browsing, adding items to the cart, and initiating checkout. It retains complete User-Agent (UA, the client identifier string declared by the browser in the request), device information, and anonymous session identifiers stored in the browser's local key-value store, localStorage, as attribute information for the events. For example, a page browsing record is generated when a buyer opens a product page, an adding-to-cart record is generated when an item is added to the cart, and an initiating-checkout record is generated when the checkout process begins.
[0023] WebPixels, running on e-commerce platforms, repeatedly collect key funnel behaviors from user behavior data. A pixel is tracking code embedded in a page or runtime to collect and report user behavior events. WebPixels are pixel extensions provided by e-commerce platforms, such as the WebPixel extension on Shopify. Unlike client-side scripts running in the buyer's browser's normal page environment, WebPixels execute in the e-commerce platform's controlled runtime environment, independent of the survival of third-party scripts in the buyer's browser. Therefore, even when buyers have ad-blocking extensions like AdBlock installed, or client-side scripts are blocked, WebPixels can still complete data collection. Key funnel behaviors refer to the most critical conversion stage behaviors in user behavior data for attribution calculations, such as adding to cart and initiating checkout. WebPixels repeatedly collect key funnel behaviors that overlap with client-side scripts, creating redundancy between them.
[0024] The system receives order messages pushed by e-commerce platforms as order data, and generates a purchase event after signature verification. Order messages refer to messages proactively pushed by the e-commerce platform to the server's callback address via HTTP requests when an order business event occurs (i.e., the Webhook mechanism), such as order creation (orders / create) and order payment (orders / paid) messages. Signature verification involves verifying the request signature using methods such as Hash-based Message Authentication Code (HMAC) to confirm that the order message was indeed sent by a legitimate e-commerce platform and that its content has not been tampered with. After successful verification, a purchase event is generated based on the order data in the order message. A purchase event is an event that indicates the business fact of a successful purchase or order placement (purchase event). Since order messages come from the e-commerce platform's authoritative order records, the purchase event serves as the benchmark for the purchase fact.
[0025] The user behavior data collected by the client-side script and the key funnel behaviors repeatedly collected from web page pixels are converted into corresponding behavior events. Behavior events represent user actions, and the conversion follows a unified event naming convention. For example, page browsing is converted to the `page_view` event, adding to cart is converted to the `add_to_cart` event, and initiating checkout is converted to the `begin_checkout` event.
[0026] Source tags are added to each purchase and behavior event according to its respective acquisition channel, resulting in multiple raw events. For example, behavior events generated by client-side scripts are tagged with "client," behavior events generated by web pixel acquisition are tagged with "web_pixel," and purchase events generated by order messages are tagged with "webhook." Thus, the same business action may correspond to multiple raw events with different source tags. For instance, if a buyer's add-to-cart action is simultaneously acquired by client-side scripts and web pixel acquisition, two raw events with source tags "client" and "web_pixel" will be generated respectively. Even if one acquisition channel is blocked, the other channel can still ensure that the event corresponding to the add-to-cart action arrives, thereby achieving redundant acquisition of critical events.
[0027] In step S102, the same-domain proxy path refers to the reporting path formed by leveraging the application proxy capability of the e-commerce platform. The application proxy refers to the e-commerce platform's ability to forward requests from specific paths under a merchant's store domain to the application backend. This makes the browser's event reporting appear as a first-party same-site request, meaning the request is sent to the merchant's own store domain rather than a third-party tracking domain. The platform push path refers to the reporting path where the e-commerce platform actively pushes order information to the server. In existing technologies, when a browser initiates a cross-domain POST request (POST is a method in the Hypertext Transfer Protocol used to submit data to a server) to a third-party tracking domain, the event arrival rate is unstable due to the effects of Cross-Origin Resource Sharing (CORS), cookie partitioning (the mechanism by which browsers isolate cookies according to site context), enterprise network policies, and ad blocking extensions. However, by reporting behavioral events via the same-domain proxy path, third-party cross-domain tracking can be transformed into same-domain reporting by the store, reducing the probability of interception. The server refers to a cloud-based system used to receive and process events. This includes API (Application Programming Interface) gateways for unified access, authentication, and routing, as well as application services. All reports from each path are transmitted via encrypted HTTPS (Hypertext Transfer Protocol Secure), and the server performs signature verification on all events reported through each path to ensure the legitimacy and integrity of each event source in the aggregated original event stream. Furthermore, in other embodiments, client scripts can prioritize reporting via a same-domain proxy path, falling back to direct API reporting when the same-domain proxy path is unavailable, with the source marked as "api". For e-commerce platforms without application proxy capabilities, a first-party CNAME (DNS alias record, pointing the merchant's first-party domain alias to the tracking service) or Worker reverse proxy (e.g., using Cloudflare Worker at the edge gateway to reverse proxy requests to the server) can achieve an equivalent same-domain reporting effect.
[0028] In one embodiment, step S102 includes: The application proxy sub-path pointing to the server is pre-configured in the application settings of the e-commerce platform; The browser is controlled to send a same-site request carrying the behavioral event to the store domain of the target store, so that the e-commerce platform forwards the same-site request to the server through the application proxy sub-path, and the server performs proxy signature verification and store binding relationship verification on the same-site request. The verified behavioral events are aggregated with the purchase events reported through the platform's push path to obtain the aggregated raw event stream.
[0029] In this embodiment, an application proxy sub-path pointing to the server is pre-configured in the application configuration of the e-commerce platform. The application proxy sub-path refers to the path prefix configured under the store domain name of the target store, which is forwarded by the e-commerce platform to the server. For example, in the application configuration of Shopify or ShopLine platforms, if the application proxy sub-path is set to / apps / wehub / ..., then all requests under this sub-path under the store domain name will be uniformly forwarded by the e-commerce platform to the proxy receiving interface (ProxyIngest interface, i.e., the entry interface used by the server to receive application proxy forwarding events) on the server side.
[0030] This controls the browser to send a same-site request carrying the action event to the target store's domain. A same-site request refers to a request whose target and the current page belong to the same site (the protocol and registrable domain conform to the browser's same-site definition). For example, after a buyer adds a item to their cart on a page with the store domain xxx.myshopify.com, the client script sends a POST same-site request carrying the action event to https: / / xxx.myshopify.com / apps / wehub / track. Since the host of the request is the merchant's own domain, this request is not considered a cross-domain request to a third-party domain and is usually not blocked by ad-blocking extensions or browser privacy policies. Upon receiving the same-site request, the e-commerce platform forwards it to the server via an application proxy sub-path. The server performs proxy signature verification and store binding relationship verification on the same-site request. Proxy signature verification verifies the signature attached when the e-commerce platform forwards the request using methods such as HMAC, confirming that the request was indeed forwarded by the e-commerce platform and has not been tampered with. Store binding relationship verification verifies whether the binding relationship between the store domain to which the request belongs and the tenant and application authorization recorded on the server is consistent, preventing the reporting of events by forging store identities.
[0031] The validated behavioral events and the purchase events reported via the platform push path are aggregated to obtain the aggregated raw event stream. That is, behavioral events carried by the same-domain proxy path and purchase events carried by the platform push path are aggregated into a unified raw event stream on the server side for subsequent normalization processing.
[0032] In step S103, since the original events reported by different acquisition channels differ in field names, field formats, and field completeness, they are heterogeneous fields. Direct comparison would lead to the inability to deduplicate and merge them. Therefore, it is necessary to normalize the original event stream into candidate events with a unified event structure. The unified event structure refers to a uniformly defined event data structure for events reported by any acquisition channel. It includes at least an event identifier, an identity signal, a marketing context, and an order identifier: the event identifier is used to uniquely identify an event globally; the identity signal is used to characterize the identity of the visitor or user to whom the event belongs; the marketing context is used to record advertising and marketing information associated with the event; and the order identifier is used to associate the order corresponding to the purchase event. The unified event structure provides a comparable primary key and dimension for deduplication and merging of multi-channel events, avoiding the inability to deduplicate due to heterogeneous fields. Candidate events refer to events that have been normalized and are awaiting deduplication and merging processing. Candidate events also retain the source marker of the original event. Furthermore, in other embodiments, the unified event structure may also include a platform type field (e.g., values such as Shopify or Shopline).
[0033] In one embodiment, step S103 includes: Parse each original event in the original event stream, extract the event name and event time from the original events, and generate the event identifier; The hash values of the parsed anonymous identifier, user identifier, email address, and phone number are normalized to form the identity signal; The parsed promotion parameters, click identifiers, and landing page addresses are normalized into the marketing context. For the purchase event in the original event, the parsed platform order number is determined as the order identifier; The tenant identifier and store domain name are added to the unified field identifiers and combined to obtain candidate events with a unified event structure.
[0034] In this embodiment, each original event in the original event stream is parsed, and the event name and event time are extracted from the original events to generate an event identifier. The event name (event_name) refers to the type name of the event, such as page_view, add_to_cart, begin_checkout, and purchase; the event time (event_time) refers to the time when the event occurred; the event identifier (event_id) is a globally unique identifier for the event, which serves as the primary key for subsequent deduplication. For example, a globally unique event identifier can be generated by combining the event name, event time, and a random string.
[0035] The extracted anonymous identifier, user identifier, and hash values of email and phone number are normalized into identity signals. The anonymous identifier (anonymous_id) refers to the identifier of an anonymous visitor, typically generated by a client-side script and stored in the browser's localStorage. The user identifier (user_id) refers to the identifier of an identified user, such as a logged-in user or an order customer. The hash values of email and phone number (email_hash and phone_hash) are digest values obtained after hashing and anonymizing sensitive fields such as email and phone number. For example, SHA256 (a commonly used cryptographic hash algorithm for generating fixed-length digests) is used for irreversible processing to avoid storing personal data in plaintext, thus meeting privacy compliance requirements such as the General Data Protection Regulation (GDPR).
[0036] The parsed promotion parameters, click identifiers, and landing page URLs are normalized into a marketing context. Promotion parameters refer to the UTM (Urchin Tracking Module) marketing campaign parameters carried in the landing page URL, such as utm_source, utm_medium, and utm_campaign; click identifiers (clickId) are a collective term for click identifiers across various advertising platforms, such as Google Ads' gclid (Google Click Identifier), Meta Ads' fbclid (Facebook Click Identifier), and TikTok Ads' ttclid (TikTok Click Identifier); the landing page URL is the first page that opens after a user clicks on an ad, and it typically carries the aforementioned promotion parameters and click identifiers.
[0037] For the purchase event in the original event, the parsed platform order number is determined as the order identifier. The platform order number is a unique order number assigned by the e-commerce platform to an order. The determined order identifier (order_id) is used for association and deduplication of purchase events.
[0038] To supplement the normalized field identifiers, tenant identifiers and store domain names are added and combined to obtain candidate events with a unified event structure. The tenant identifier (team_id or customer_id) is used to isolate different merchant data in a multi-tenant system; the store domain name (shop_domain) is the domain name identifier of the target store, such as xxx.myshopify.com. For example, a normalized add-to-cart candidate event should include at least the following fields: event identifier, event name (add_to_cart), event time, anonymity identifier, marketing context consisting of promotion parameters, click identifiers, and landing page address, tenant identifier, and store domain name.
[0039] In step S104, the fact storage table refers to the data storage of the fact layer, which stores the original or near-original event details for traceability and recalculation. In this embodiment, the fact storage table is set in an analytical data warehouse, which is a data warehouse optimized for analytical queries. Due to redundant acquisition from multiple acquisition channels and the coexistence of historical backfilling and real-time push, the same event may be submitted and written multiple times. If left uncontrolled, this will result in duplicate entries and amplify statistical indicators. Therefore, two-level deduplication is required based on the event identifier: first, deduplication before writing; and second, filtering of duplicate events when querying the fact storage table. The two levels of deduplication together achieve same-source deduplication, which means that only one record is retained for duplicate reports from the same source and with the same event identifier. Deduplication upon entry is based on the idempotency principle, which means that performing the same operation multiple times has the same effect as performing it once. In addition, in other embodiments, besides the event identifier, a combination key (shop_domain, order_id, event_name) composed of the store domain name, order identifier, and event name, or an event content hash can be used as the idempotency key to achieve the same deduplication effect upon entry.
[0040] In one embodiment, step S104 includes: For the purchase event among the candidate events, the corresponding event identifier is derived from the platform order number of the e-commerce platform; The event identifier of each candidate event is determined as the idempotent key of the current candidate event during the write phase; Before writing, duplicate candidate events generated by historical backfilling and real-time push are filtered according to the idempotent key; Write the candidate events for completing the deduplication process into the fact storage table in the analytical data warehouse; When querying the fact storage table, duplicate events with the same event identifier are sorted and only one is retained to obtain the deduplicated events.
[0041] In this embodiment, for purchase events among the candidate events, the corresponding event identifier is derived from the e-commerce platform's order number. For example, the event identifier for a purchase event is defined as shopify-{orderId}-purchase, where {orderId} is the platform order number. Since the platform order number is unique regardless of how many times the same order is reported, the event identifier derived from the platform order number provides a stable and consistent deduplicated primary key for purchase events of the same order.
[0042] The event identifier of each candidate event is determined as the idempotent key of the current candidate event during the write phase. The idempotent key is a key used during the write phase to determine whether an event already exists and to ensure that the same event is not written repeatedly. Only one candidate event with the same idempotent key will be actually written.
[0043] Before writing, duplicate candidate events generated by historical backfilling and real-time push are filtered based on idempotent keys. Historical backfilling refers to the process of adding historical orders and events from a past period to the system when merchants access or supplement data. For example, after a merchant completes authorization access through an Open Authorization (OAuth) protocol (an authorization protocol that allows merchants to authorize applications to access their store data without handing over their account password), their historical orders from the past 90 days are backfilled. Real-time push refers to the e-commerce platform pushing order messages in real time when order business events occur. Among the orders in historical backfilling, there may be orders that have previously generated purchase events through real-time push. The event identifiers derived from the same platform order number are the same, that is, the idempotent keys are the same. Duplicate candidate events can be filtered based on idempotent keys before writing to avoid duplicate entries into the database.
[0044] Candidate events that have completed deduplication are written to a fact storage table in the analytical data warehouse. For example, the analytical data warehouse uses BigQuery (an analytical data warehouse on Google Cloud), and the fact storage table is the events detail table in BigQuery. In other embodiments, the analytical data warehouse can also be replaced by other analytical warehouses such as ClickHouse or Snowflake, without affecting the multi-channel event merging logic.
[0045] When querying the fact store table, duplicate events with the same event identifier are sorted and only one record is retained, thus obtaining the deduplicated events. For example, the query statement can be partitioned by event identifier and sorted by event time or entry time. Using the SQL analytic function QUALIFY ROW_NUMBER()=1, only the first record (i.e., the first or latest record) in each event identifier partition is retained. This filters out residual duplicate events during the query period, ensuring that the same event identifier appears only once in the deduplicated events.
[0046] In step S105, after the same-source deduplication in step S104, there may still be heterogeneous duplicates among the deduplicated events. This means that the same business fact is collected and reported separately by different collection channels, resulting in multiple events with different source labels. If heterogeneous duplicate events are directly counted, it will lead to double counting, which means that the same fact is counted twice, thus amplifying the indicator. If an event from a certain source is simply discarded, the only reliable source of information may be mistakenly deleted. Therefore, this step performs event merging on the deduplicated events. Event merging means merging events generated by multiple collection channels and multiple sources for the same business fact into a single logical event or complementary field set. Specifically, it includes two categories: heterogeneous merging for purchase events and homogeneous event merging for behavioral events. Heterogeneous merging means that when events from different sources describe the same order or behavior, complementary information is merged according to the authoritative field rules. Through event merging, the advantages of multi-channel redundant collection are preserved while eliminating duplicate counting, resolving the contradiction between duplicate counting caused by multiple channels and single-channel underreporting.
[0047] In one embodiment, step S105 includes: In the deduplication event, identify multiple purchase events that are associated with the same order identifier but have different source tags; The amount and product details of purchase events whose source is marked as platform push are retained as authoritative data, and the session identifier and click identifier carried by purchase events from other sources are added to the retained purchase events; In the deduplication event, identify the same behavior events with the same anonymous identifier in the identity signal and belonging to the same time bucket; The aforementioned events with the same name are merged into one event, which, together with the supplemented purchase event, constitutes a merged event.
[0048] In this embodiment, multiple purchase events associated with the same order identifier but with different source tags are identified in the deduplication event. For example, after the same order payment is completed, the platform push path generates a purchase event with the source tag "webhook" based on the order message. The client script may also collect the purchase behavior of the same order on the thank-you page after payment and generate a purchase event with the source tag "client". The two purchase events are associated with the same order identifier but have different source tags.
[0049] Purchase events originating from platform-push sources retain their amounts and product details as authoritative data. Conversation and click identifiers from other sources are then added to the retained purchase events. Authoritative data refers to data accepted as a benchmark when multiple sources are inconsistent: purchase events originating from platform-push sources are derived from authoritative order records on e-commerce platforms, and their order amounts and product details are the most accurate and complete, thus retaining them as authoritative data. While purchase events from other sources, such as client-side applications, may not have complete amounts and product details, they carry session and click identifiers lacking in platform-push data. A session identifier identifies a single session, which is a collection of browsing and interactions by the same visitor within a continuous period. Through this complementary merging at the field level, the merged purchase events possess both authoritative amounts and product details, as well as session and click identifiers (e.g., fbclid) that can be used for attribution.
[0050] In deduplication, events with the same anonymous identifier and belonging to the same time bucket are identified. A time bucket refers to a time interval obtained by discretizing continuous time into fixed intervals, such as 60 seconds per time bucket. Events with the same name refer to events with identical event names. For example, if a buyer's add-to-cart action is simultaneously captured by the client-side script and webpage pixels, generating two event names both "add_to_cart," with the same anonymous identifier and similar event times, these two events fall into the same time bucket and are thus identified as events with the same name to be merged.
[0051] Duplicate behavioral events are merged into a single event, which, together with the supplemented purchase event, constitutes a merged event. Specifically, based on the combination of anonymity identifier, event name, and time bucket (anonymous_id, event_name, time_bucket), identical behavioral events of the same visitor at similar times are merged into a single logical event, preventing the same behavior from being counted twice in metric statistics. The merged behavioral event, together with the purchase event whose fields are complementary, constitutes the merged event.
[0052] In step S106, the checkout event refers to the behavioral event in the merged events that indicates the buyer has entered or is in the checkout process, such as initiating checkout (begin_checkout) and checkout-related events. In actual business, cross-domain or cross-session situations often occur between the checkout page and the thank-you page after payment. For example, the checkout process may run under the checkout domain hosted by the e-commerce platform, the buyer's payment may take a long time, or the buyer may change devices to complete the payment, causing the marketing context of the checkout stage to be unable to be passed to the purchase stage with the browser session. Purchase events are mostly generated by order messages pushed by the platform and do not carry promotion parameters and click identifiers. If not handled properly, the purchase event will not be able to trace back to the advertising touchpoint, resulting in a session break. To address this, this step persists the marketing context of the checkout event in the merged events as an attribution context. The attribution context refers to the marketing and session information that is pre-saved for subsequent purchase attribution. When the purchase event arrives, the attribution context is then merged into the purchase event associated with the same order identifier, realizing the bridge from checkout to purchase and repairing the loss of marketing parameters caused by the session break.
[0053] In one embodiment, step S106 includes: Generate an attribution context based on the checkout event in the merged events; Using the checkout token or the order identifier as the association key, the attribution context and the corresponding timestamp are persistently stored. When the purchase event arrives, the attribution context in the preset session window is queried according to the association key, and the queried attribution context is merged into the corresponding purchase event to obtain the target event.
[0054] In this embodiment, an attribution context is generated based on the checkout event in the merged events. The attribution context includes the marketing context of the checkout event (i.e., promotion parameters, click identifier, and landing page address) as well as the session identifier and corresponding timestamp. For example, when a buyer clicks on an advertisement to enter a target store, the landing page address carries parameters such as gclid and utm_source. When the buyer initiates checkout and generates a checkout event, an attribution context containing the aforementioned promotion parameters, click identifier, landing page address, and session identifier is generated based on this checkout event.
[0055] The attribution context and its corresponding timestamp are persistently stored using a checkout token or order identifier as the association key. A checkout token is a unique token assigned by the e-commerce platform to a single checkout session. Orders generated after payment typically also carry this checkout token; therefore, both the checkout token and the order identifier can serve as association keys linking checkout and purchase events. Persistent storage refers to writing the attribution context to storage that can be read across requests and sessions and is not lost when the browser session ends, such as writing it to the server's business database. In other embodiments, email hashes, shopping cart tokens, or intent IDs (e.g., the paymentintent identifier of a payment gateway) can also be used as association keys between checkout and purchase events.
[0056] When a purchase event arrives, the attribution context within a preset session window is queried based on the association key. The retrieved attribution context is then merged into the corresponding purchase event to obtain the target event. The preset session window refers to a pre-defined valid time window for the attribution context, such as 30 days. When a purchase event generated via the platform push path arrives, the persistent storage is queried using the checkout token or order identifier carried by the purchase event as the association key. If an attribution context whose write time is no more than within the preset session window of the purchase event's arrival time is found, the promotion parameters, click identifiers, and session identifiers in the attribution context are merged into the purchase event to obtain the target event. If the attribution context has exceeded the preset session window, it is considered expired and is not merged. For example, a buyer clicks on an ad and enters a target store on a certain day. The landing page URL carries the ttclid. After the buyer initiates checkout, the payment is completed on another device the next day. After the e-commerce platform pushes the order message to generate a purchase event, it queries the attribution context that is still within the 30-day session window based on the checkout token. The click identifiers such as ttclid in the attribution context are merged with the promotion parameters into the purchase event. The resulting target event can then be traced back to the ad touchpoint, and the order thus becomes an attributable order.
[0057] In summary, the multi-channel event merging method provided by this invention redundantly collects user behavior data and order data from the target store through multiple collection channels such as client scripts, webpage pixels, and order messages. It then reports the data via same-domain proxy paths and platform push paths, ensuring high delivery rates for critical events even in privacy-restricted scenarios like AdBlock and ITP, while reducing silent data loss due to cross-domain reporting failures. By unifying the event structure, deduplication based on event identifiers during database entry and filtering of duplicate events during the query period, merging of field-level purchase events from different sources, and merging of time buckets for events with the same name, the method effectively controls multi-source duplication under redundant collection, preventing the amplification of metrics such as ROI, ROAS, and order count. Furthermore, by bridging the attribution context from checkout to purchase, it corrects the loss of marketing parameters caused by session interruptions, enabling purchase events to be associated with click identifiers and promotion parameters, increasing the proportion of attributable orders, and providing an accurate, complete, and non-duplicative target event data foundation for multi-touchpoint attribution. In terms of implementation, this method has clear module boundaries and can be deployed on cloud servers and store-side scripts and extensions. It can also be implemented in existing independent website applications (such as the application backend of advertising ROI attribution engines AttributionHub / Wehub). For example, the server-side application is implemented using the NestJS framework based on Node.js and uniformly accessed through an API gateway. The business database uses a MySQL relational database, and the fact storage table uses a BigQuery analytical data warehouse. The obtained target events are asynchronously triggered by a message queue (an asynchronous task middleware used for peak shaving and decoupling in post-event processing, such as a BullMQ task queue based on the in-memory key-value database Redis) to perform downstream identity resolution and attribution calculation. Identity resolution refers to the ability to associate identity signals such as anonymous identifiers, user identifiers, and hash values of email and phone numbers into the identity graph of the same natural person. Attribution calculation refers to the attribution engine capability of assigning channel credit to orders based on the touchpoint path. This method is decoupled from downstream identity resolution and attribution calculation, which facilitates independent evolution of each.
[0058] Combination Figure 2 As shown, Figure 2 A schematic block diagram of a multi-channel event merging device provided in an embodiment of the present invention. The multi-channel event merging device 200 includes: The data collection module 201 is used to redundantly collect user behavior data and order data in the target store through multiple collection channels to obtain multiple raw events carrying source tags; The reporting module 202 is used to report each of the original events to the server via the same domain proxy path or platform push path of the target store for signature verification, so as to obtain the aggregated original event stream. The normalization module 203 is used to normalize the original event stream into candidate events with a unified event structure; wherein, the unified event structure includes event identifier, identity signal, marketing context and order identifier; The deduplication module 204 is used to deduplicatize the candidate events according to the event identifier and write them into the fact storage table, and filter the duplicate events in the fact storage table to obtain the deduplicated events; The merging module 205 is used to merge purchase events with different source tags but associated with the same order identifier and repeated behavior events under the same identity signal in the deduplication events to obtain merged events; The bridging module 206 is used to persist the marketing context of the checkout event in the merged event as an attribution context and merge it into the purchase event associated with the same order identifier to obtain the target event.
[0059] In this embodiment, the acquisition module 201 redundantly acquires user behavior data and order data from the target store through multiple acquisition channels to obtain multiple original events carrying source tags; the reporting module 202 reports each of the original events to the server for signature verification via the same-domain proxy path or platform push path of the target store to obtain a converged original event stream; the normalization module 203 normalizes the original event stream into candidate events with a unified event structure; wherein, the unified event structure includes event identifier, identity signal, marketing context, and order identifier; the deduplication module 204 deduplicates the candidate events according to the event identifier and writes them into the fact storage table, and filters the duplicate events in the fact storage table to obtain deduplicated events; the merging module 205 merges purchase events with different source tags but associated with the same order identifier and duplicate behavior events under the same identity signal in the deduplicated events to obtain merged events; the bridging module 206 persists the marketing context of the checkout event in the merged events as an attribution context and merges it into the purchase event associated with the same order identifier to obtain the target event.
[0060] In one embodiment, the acquisition module 201 is specifically used for: The system collects user behavior data, such as page browsing, adding items to cart, and initiating checkout, by injecting client-side scripts into the target store's page. Key funnel behaviors in the user behavior data are repeatedly collected through the webpage pixels operated by the e-commerce platform. The system receives order messages pushed by the e-commerce platform as order data, and generates a purchase event after signature verification. The collected user behavior data and the key funnel behaviors are respectively converted into corresponding behavioral events; According to the acquisition channel to which they belong, source tags are added to each of the purchase events and the behavior events to obtain multiple original events.
[0061] In one embodiment, the reporting module 202 is specifically used for: The application proxy sub-path pointing to the server is pre-configured in the application settings of the e-commerce platform; The browser is controlled to send a same-site request carrying the behavioral event to the store domain of the target store, so that the e-commerce platform forwards the same-site request to the server through the application proxy sub-path, and the server performs proxy signature verification and store binding relationship verification on the same-site request. The verified behavioral events are aggregated with the purchase events reported through the platform's push path to obtain the aggregated raw event stream.
[0062] In one embodiment, the normalization module 203 is specifically used for: Parse each original event in the original event stream, extract the event name and event time from the original events, and generate the event identifier; The hash values of the parsed anonymous identifier, user identifier, email address, and phone number are normalized to form the identity signal; The parsed promotion parameters, click identifiers, and landing page addresses are normalized into the marketing context. For the purchase event in the original event, the parsed platform order number is determined as the order identifier; The tenant identifier and store domain name are added to the unified field identifiers and combined to obtain candidate events with a unified event structure.
[0063] In one embodiment, the deduplication module 204 is specifically used for: For the purchase event among the candidate events, the corresponding event identifier is derived from the platform order number of the e-commerce platform; The event identifier of each candidate event is determined as the idempotent key of the current candidate event during the write phase; Before writing, duplicate candidate events generated by historical backfilling and real-time push are filtered according to the idempotent key; Write the candidate events for completing the deduplication process into the fact storage table in the analytical data warehouse; When querying the fact storage table, duplicate events with the same event identifier are sorted and only one is retained to obtain the deduplicated events.
[0064] In one embodiment, the merging module 205 is specifically used for: In the deduplication event, identify multiple purchase events that are associated with the same order identifier but have different source tags; The amount and product details of purchase events whose source is marked as platform push are retained as authoritative data, and the session identifier and click identifier carried by purchase events from other sources are added to the retained purchase events; In the deduplication event, identify the same behavior events with the same anonymous identifier in the identity signal and belonging to the same time bucket; The aforementioned events with the same name are merged into one event, which, together with the supplemented purchase event, constitutes a merged event.
[0065] In one embodiment, the bridging module 206 is specifically used for: Generate an attribution context based on the checkout event in the merged events; Using the checkout token or the order identifier as the association key, the attribution context and the corresponding timestamp are persistently stored. When the purchase event arrives, the attribution context in the preset session window is queried according to the association key, and the queried attribution context is merged into the corresponding purchase event to obtain the target event.
[0066] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.
[0067] This invention also provides a computer-readable storage medium storing a computer program thereon, which, when executed, can perform the steps provided in the above embodiments. The storage medium may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0068] This invention also provides a computer device, which may include a memory and a processor. The memory stores a computer program, and when the processor calls the computer program in the memory, it can implement the steps provided in the above embodiments. Of course, the computer device may also include various network interfaces, a power supply, a graphics card, etc., to utilize the graphics card's performance to operate the model, such as for inference and training.
[0069] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
[0070] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A multi-channel-based event merging method, characterized in that, include: By redundantly collecting user behavior data and order data from the target store through multiple collection channels, multiple raw events carrying source tags are obtained; Each of the original events is reported to the server via the same-domain proxy path or platform push path of the target store for signature verification, resulting in the aggregated original event stream; The original event stream is normalized into candidate events with a unified event structure; wherein, the unified event structure includes event identifier, identity signal, marketing context, and order identifier; The candidate events are deduplicated and written into the fact storage table according to the event identifier. Duplicate events in the fact storage table are then filtered to obtain deduplicated events. Purchase events with different source tags but associated with the same order identifier and repeated behavior events under the same identity signal are merged to obtain merged events. The marketing context of the checkout event in the merged event is persisted as an attribution context and merged into the purchase event associated with the same order identifier to obtain the target event.
2. The event merging method based on multi-channels according to claim 1, characterized in that, The process involves redundantly collecting user behavior data and order data from the target store through multiple acquisition channels to obtain multiple raw events carrying source tags, including: The system collects user behavior data, such as page browsing, adding items to cart, and initiating checkout, by injecting client-side scripts into the target store's page. Key funnel behaviors in the user behavior data are repeatedly collected through the webpage pixels operated by the e-commerce platform. The system receives order messages pushed by the e-commerce platform as order data, and generates a purchase event after signature verification. The collected user behavior data and the key funnel behaviors are respectively converted into corresponding behavioral events; According to the acquisition channel to which they belong, source tags are added to each of the purchase events and the behavior events to obtain multiple original events.
3. The event merging method based on multi-channels according to claim 1, characterized in that, The process of reporting each of the original events to the server via the same-domain proxy path or platform push path of the target store for signature verification, to obtain the aggregated original event stream, includes: The application proxy sub-path pointing to the server is pre-configured in the application settings of the e-commerce platform; The browser is controlled to send a same-site request carrying the behavioral event to the store domain of the target store, so that the e-commerce platform forwards the same-site request to the server through the application proxy sub-path, and the server performs proxy signature verification and store binding relationship verification on the same-site request. The verified behavioral events are aggregated with the purchase events reported through the platform's push path to obtain the aggregated raw event stream.
4. The event merging method based on multi-channels according to claim 1, characterized in that, The process of normalizing the original event stream into candidate events with a unified event structure includes: Parse each original event in the original event stream, extract the event name and event time from the original events, and generate the event identifier; The hash values of the parsed anonymous identifier, user identifier, email address, and phone number are normalized to form the identity signal; The parsed promotion parameters, click identifiers, and landing page addresses are normalized into the marketing context. For the purchase event in the original event, the parsed platform order number is determined as the order identifier; The tenant identifier and store domain name are added to the unified field identifiers and combined to obtain candidate events with a unified event structure.
5. The event merging method based on multi-channels according to claim 1, characterized in that, The process of deduplicating the candidate events according to the event identifier and writing them into the fact storage table, and filtering duplicate events in the fact storage table to obtain deduplicated events, includes: For the purchase event among the candidate events, the corresponding event identifier is derived from the platform order number of the e-commerce platform; The event identifier of each candidate event is determined as the idempotent key of the current candidate event during the write phase; Before writing, duplicate candidate events generated by historical backfilling and real-time push are filtered according to the idempotent key; Write the candidate events for completing the deduplication process into the fact storage table in the analytical data warehouse; When querying the fact storage table, duplicate events with the same event identifier are sorted and only one is retained to obtain the deduplicated events.
6. The event merging method based on multi-channels according to claim 1, characterized in that, The process of merging purchase events with different source markers but associated with the same order identifier and repeated behavior events under the same identity signal in the deduplication events to obtain merged events includes: In the deduplication event, identify multiple purchase events that are associated with the same order identifier but have different source tags; The amount and product details of purchase events whose source is marked as platform push are retained as authoritative data, and the session identifier and click identifier carried by purchase events from other sources are added to the retained purchase events; In the deduplication event, identify the same behavior events with the same anonymous identifier in the identity signal and belonging to the same time bucket; The aforementioned events with the same name are merged into one event, which, together with the supplemented purchase event, constitutes a merged event.
7. The event merging method based on multi-channels according to claim 1, characterized in that, The step of persisting the marketing context of the checkout event in the merged event as an attribution context and merging it with the purchase event associated with the same order identifier to obtain the target event includes: Generate an attribution context based on the checkout event in the merged events; Using the checkout token or the order identifier as the association key, the attribution context and the corresponding timestamp are persistently stored. When the purchase event arrives, the attribution context in the preset session window is queried according to the association key, and the queried attribution context is merged into the corresponding purchase event to obtain the target event.
8. A multi-channel-based event merging device, characterized in that, include: The data collection module is used to redundantly collect user behavior data and order data from the target store through multiple collection channels to obtain multiple raw events with source tags; The reporting module is used to report each of the original events to the server for signature verification via the same domain proxy path or platform push path of the target store, so as to obtain the aggregated original event stream. The normalization module is used to normalize the original event stream into candidate events with a unified event structure; wherein, the unified event structure includes event identifier, identity signal, marketing context, and order identifier; The deduplication module is used to deduplicatize the candidate events according to the event identifier and write them into the fact storage table, and filter the duplicate events in the fact storage table to obtain the deduplicated events; The merging module is used to merge purchase events with different source tags but associated with the same order identifier and duplicate behavior events under the same identity signal in the deduplication events to obtain merged events; The bridging module is used to persist the marketing context of the checkout event in the merged event as an attribution context and merge it into the purchase event associated with the same order identifier to obtain the target event.
9. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the multi-channel-based event merging method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the multi-channel-based event merging method as described in any one of claims 1 to 7.
