Skip to main content
ThreatMetrixdevice profilingarchitecture8 min readBy Catmouse Engineering

ThreatMetrix Session Profiling: Web Tags vs Mobile SDK Telemetry

Last reviewed
Short answer

ThreatMetrix session profiling is an out-of-band device-risk workflow where a client submits browser tags (fp/tags.js, clear.png) or mobile SDK telemetry (TMXProfiling) keyed by org_id and session_id before the merchant backend scores the checkout. Below: how web and mobile tracks compare, and how to inspect them in HAR captures.

Who this is for

Security engineers and fraud-prevention architects examining how e-commerce, ticketing, and financial applications combine edge bot defenses with LexisNexis ThreatMetrix session profiling on systems they own or are explicitly authorized to test.

On this page
  1. How do org_id and session_id bind device telemetry to checkout?
  2. How do ThreatMetrix web tags differ from the native mobile SDK?
  3. Why do unpopulated or mismatched session_id tokens fail at checkout?
  4. How does ThreatMetrix interact with edge bot defenses like Kasada?
  5. How do you inspect ThreatMetrix beacons in a HAR capture?
  6. Key takeaways
  7. Conclusion and scope
  8. Evidence and sources
  9. Frequently asked questions

How do org_id and session_id bind device telemetry to checkout?

The client sends device telemetry tagged with its organization and session identifiers to the profiling collector first, and the merchant backend later queries ThreatMetrix using that same pair.

Two-step out-of-band correlation between client beacons and backend Session Query

As introduced in our ThreatMetrix device fingerprinting overview, LexisNexis ThreatMetrix (product page) does not sit inline as a reverse proxy blocking HTTP requests with 403 or 429 status codes. Instead, it operates on a two-step out-of-band correlation model:

  1. Client-side profiling (pre-checkout): When a user opens a login, cart, or payment page, the application generates a unique session_id (often prefixed with the merchant identifier) and combines it with the merchant's 8-character org_id. The browser or mobile app sends device, network, and environment signals tagged with (org_id, session_id) to the ThreatMetrix profiling server (h.online-metrix.net or a first-party CNAME).
  2. Server-to-server Session Query (at checkout): When the user submits the login or payment POST request, the application includes that same session_id in the form or JSON body. The merchant's backend server then makes an API call to the LexisNexis Risk Defense Engine with (org_id, session_id) plus transaction attributes to retrieve the device risk score.
Comparison of ThreatMetrix session profiling across Web (fp/tags.js and clear.png beacons with org_id and session_id) and Native Mobile SDKs (TMXProfiling init and profile.doRequest), both feeding the LexisNexis Risk Defense Engine queried by the merchant backend at checkout.
Figure 1. Two-track ThreatMetrix telemetry collection (Web Tags vs Native Mobile SDK) and backend Session Query correlation. Diagram by Catmouse Engineering.

How do ThreatMetrix web tags differ from the native mobile SDK?

Web tags collect browser DOM, Canvas, WebGL, and font signals via JavaScript, whereas native mobile SDKs collect OS build, hardware model, and device-integrity signals via iOS and Android APIs.

Many large retailers (such as Walmart) and ticketing platforms expose both a web storefront and native iOS/Android applications. While both channels feed the same (org_id, session_id) ledger on the backend, the telemetry collectors differ substantially:

Track A: Web profiling tags (fp/tags.js and fp/clear.png)

In a web browser, profiling starts by loading /fp/tags.js?org_id=<8-char-id>&session_id=<uuid>, often disguised under a first-party CNAME path (for example, /jenny/ or /prefs/) so ad blockers do not strip the tag. The script executes inside the page context, probes browser APIs (navigator, screen geometry, Canvas/WebGL rendering, installed fonts, audio context, and timezone), and dispatches follow-up beacons including /fp/clear.png and encrypted POST payloads.

Track B: Native iOS and Android SDK (TMXProfiling)

In a native mobile app, there is no DOM or browser Canvas unless a WebView is used. Instead, the application links the native ThreatMetrix SDK (TMXProfiling on iOS and Android), configures it with the merchant's org_id and profiling domain, and invokes a profiling request that returns a session_id.

Table 1. ThreatMetrix Web Tag vs Native Mobile SDK telemetry comparison
DimensionWeb Browser Tag (fp/tags.js)Native Mobile SDK (TMXProfiling)
Primary entry pointGET /fp/tags.js?org_id=...&session_id=...TMXProfiling.sharedInstance().profile(...)
Hardware & rendering signalsCanvas 2D hash, WebGL renderer string, screen & window dimensionsDevice model identifier, OS build version, screen scale, CPU architecture
Persistence identifiersFirst-party cookies, localStorage, ETag / cache tokensiOS IDFV / Keychain items, Android device & installation identifiers
Integrity & environment checksWebDriver flags, headless browser traits, DevTools timingJailbreak / root file paths, debugger attachment, simulator detection
Network & transportBrowser TLS ClientHello, HTTP/2 settings, WebRTC IP probeNative OS TLS stack (URLSession / OkHttp), carrier & Wi-Fi interface state

Why do unpopulated or mismatched session_id tokens fail at checkout?

When a checkout request carries an unpopulated session_id, the backend risk query flags the transaction. The same failure occurs if your proxy IP or timezone contradicts the checkout call.

Web tags are easier for a merchant to deploy across a storefront without an app store release. In contrast, native mobile SDKs provide deeper hardware and OS integrity signals, though they require app updates whenever the library changes. On the testing side, every profiling beacon to /fp/clear.png returns HTTP 200 OK (RFC 9110) even when the payload is incomplete. However, the final checkout POST still fails with a generic payment decline.

Three failure modes in session_id correlation

A checkout Session Query fails when the client breaks any of these three invariants:

Unpopulated session_id
Generating a random UUID in a script and passing it as the checkout session_id without executing the profiling sequence leaves the key empty in the risk database. When the merchant server queries that session_id, no device telemetry exists.
Premature submission (race condition)
Submitting the checkout POST before the asynchronous fp/tags.js beacons finish uploading causes the merchant backend to query the session before the profile is committed.
Cross-channel or geo mismatch
Populating a session_id using a desktop web tag over one proxy IP and redeeming that session_id on a mobile API endpoint or from a different geographic ASN creates an immediate device-and-location contradiction.

How does ThreatMetrix interact with edge bot defenses like Kasada?

Edge bot managers block automated traffic at the perimeter before it reaches the origin, whereas ThreatMetrix scores transaction and account risk at the application layer.

On multi-layered targets, a single checkout flow may pass through two or three distinct systems:

  • Perimeter gatekeeper (e.g. Kasada or PerimeterX): Enforces client-side proof-of-work and telemetry (/fp, ips.js, /tl) at the CDN edge, issuing short-lived headers such as x-kpsdk-ct and x-kpsdk-cd. Catmouse's POST /Solver/solve API addresses this Kasada perimeter layer.
  • Interactive challenge (e.g. hCaptcha Enterprise): Steps in on login or high-demand actions requiring a single-use P1_ token bound to rqdata. Catmouse's hCaptcha gateway addresses this layer.
  • Transaction risk profiler (ThreatMetrix): Evaluates whether the (org_id, session_id) device profile, IP geography, and account history look trustworthy at the moment of payment or account creation.

How do you inspect ThreatMetrix beacons in a HAR capture?

Filter your recorded HAR session by org_id= or session_id= in HarFiddle on macOS to trace the exact lifecycle of the profiling token from page load to checkout.

Because merchants frequently map ThreatMetrix behind a custom first-party CNAME, searching a HAR file for online-metrix.net will miss disguised beacons. Instead, search the query strings in HarFiddle's Inspector for the 8-character org_id parameter, verify the timestamp when the last beacon returned HTTP 200, and confirm that the exact same session_id value is forwarded in the subsequent login or checkout POST body.

Key takeaways

  • Out-of-band correlation: ThreatMetrix links client-side profiling beacons to backend checkout verification using the (org_id, session_id) pair.
  • Web vs Mobile SDK: Web tags (fp/tags.js, clear.png) gather browser DOM/Canvas signals, while native mobile SDKs (TMXProfiling) gather OS and hardware signals.
  • Silent HTTP 200 beacons: Collector endpoints return 200 OK even on bad data; the accept or decline decision occurs when the merchant backend runs its Session Query.
  • Order of operations: Profiling beacons must complete over a coherent proxy and timezone before the checkout POST carrying that session_id is submitted.

Conclusion and scope

Understanding the boundary between perimeter bot management and out-of-band session profiling prevents misdiagnosing checkout declines. While edge gatekeepers enforce request headers at the CDN, ThreatMetrix correlates pre-checkout device telemetry against backend transaction queries via org_id and session_id.

Scope and authorized use. This article provides an architectural comparison of ThreatMetrix web and mobile session profiling based on public documentation and standard HTTP inspection. As defined in /openapi.json, Catmouse's POST /Solver/solve endpoint solves Kasada challenges and POST https://api.hcap.catmouse.ai/solve solves hCaptcha challenges; neither generates ThreatMetrix payloads. Inspect and test traffic only on systems you own or have explicit written authorization to test.

Evidence and sources

The technical descriptions in this article draw on the following primary references:

Methodology and limits. Documented: public ThreatMetrix session-profiling concepts (org_id, session_id, web tags vs mobile SDKs) and Catmouse API scope. No proprietary vendor scoring formulas or performance benchmarks are claimed. Reviewed 2026-10-10.

Frequently asked questions

How do org_id and session_id work in ThreatMetrix?

org_id is an 8-character identifier assigned to the merchant organization, and session_id is a per-transaction UUID or token generated before profiling. The client sends device signals tagged with (org_id, session_id) to the profiling host, and the merchant server later queries ThreatMetrix using that same pair during login or checkout.

How does ThreatMetrix web profiling differ from the native mobile SDK?

Web profiling loads fp/tags.js and fp/clear.png beacons (often under a first-party CNAME) to collect browser DOM, Canvas, WebGL, and network attributes. Native iOS and Android apps embed the TMXProfiling SDK to collect OS build identifiers, hardware model strings, keychain or vendor IDs, and jailbreak or root indicators.

Why does a checkout request fail when session_id is generated randomly without running the tag?

If the client submits a random session_id that never completed profiling against the ThreatMetrix collector, the merchant backend's Session Query finds no telemetry record for that session_id and flags or declines the transaction.

How does ThreatMetrix differ from edge anti-bot gatekeepers like Kasada?

Edge gatekeepers like Kasada block requests at the CDN or reverse proxy with HTTP 429 until a valid x-kpsdk-ct token is presented. ThreatMetrix is a fraud and device-risk intelligence engine: its beacons return HTTP 200 silently, and the accept/decline decision happens later when the merchant backend scores the checkout.

Does the Catmouse /Solver/solve endpoint generate ThreatMetrix payloads?

No. As defined in /openapi.json, POST /Solver/solve on kasadaapi.catmouse.ai solves Kasada challenges (ips.js and /tl) and POST https://api.hcap.catmouse.ai/solve handles hCaptcha challenges. ThreatMetrix is covered here for architectural comparison because retailers often layer it behind edge bot protection.