Skip to main content
Biqli provides separate SDKs for public browser tracking and trusted server tracking.

Browser SDK

Use @biqli/analytics with a publishable key in HTML or React.

TypeScript SDK

Use @biqli/sdk on Node.js 18 or newer with a secret API key.

PHP SDK

Use biqli/sdk on PHP 8.1 or newer with a secret API key.

Choose by runtime

Never substitute one credential type for the other. The server SDKs reject browser use, and the browser SDK rejects secret API keys.

SDKs versus endpoint reference

SDKs provide typed inputs, request IDs, idempotency handling, structured errors, and bounded retries. Endpoint pages define the wire-level JSON contract and remain the source of truth for field validation.