The Context
In an omnichannel retail banking environment, the customer journey is rarely confined to a digital ecosystem. Online-to-Offline (O2O) attribution solves the critical gap of tracing a digital ad click to a branch visit where a financial instrument is physically issued (e.g., car loan, physical credit card).
The core technical challenge: the click happens on a mobile device carrying network tracking parameters, but the conversion is logged by a credit officer in a legacy CRM devoid of digital context.

System Components
We built a closed-loop tracking mechanism with four pillars:
The Breakthrough: session_id Persistence
The traditional approach involves retroactive matching by PII (e.g. Phone number). This causes a 15–30% data loss due to multi-device browsing.
Our highest-fidelity matching strategy involved injecting an immutable session_id into the very fabric of the application funnel.
- Trigger: User lands with a
gclid. The JS tracker fires and mints a uniquesession_idcookie. - Persistence: When the user opens the application form React component, a hidden field injects this
session_id. - Submission: The form payload hitting the backend carries the
session_idalongside the application data. - Resolution: The CRM records the business conversion directly coupled with the
session_id. Lookup is O(1) yielding a strictly 100% deterministic match rate.
Postgre / CRM Matching Logic
When a session_id is somehow dropped (e.g., cross-device organic return), the system gracefully cascades to a secondary PII-probabilistic match prioritizing IIN and recency.
Impact
This multi-tiered O2O pipeline eliminated the "black box" of physical branch conversions. For the first time, marketing could attribute offline revenue directly to individual Meta and Google campaigns. It allowed the reallocation of roughly $500K in annual budget from underperforming top-of-funnel campaigns directly into high-converting physical delivery networks.
Further Reading & Deeper Dive
Connecting online intent to physical conversions is challenging globally, not just in Kazakhstan.
- Think with Google: The omnichannel reality
- Building an Omnichannel Measurement Strategy (Harvard Business Review)
- Technical Note: The approach outlined above avoids relying on probabilistic matching (like device fingerprinting) which is increasingly illegal under GDPR and heavily restricted by OS vendors. Deterministic matching via an immutable
session_idguarantees clean data ownership.