Skip to main content
The CDN snippet exposes four methods for sites that do not use the npm SDK. Each returns void and accepts an optional initialization callback.
For installation and the JavaScript-disabled beacon, see Install the JS Snippet.

Methods

Use a force method when your application requires a fresh Identification ID for a protected action. A regular call inside the cooldown posts no identification.

Arguments

string
Required for authenticated methods. A stable hashed or pseudonymous account identifier computed on your server. See User HID.
function
Called once with initialization status. Pass it inside an options object; a bare callback function is not supported.

Callback result

The initialized branch supplies the Identification ID for server-side correlation. The other branch has no Identification ID and includes skipped checks. Module import failures must be handled separately with try/catch.

SDK method mapping

The SDK wraps initialization in a promise, adds timeouts and validation, and exposes the Identification ID as requestId.