trackClick().
When a visitor opens a conversion-enabled Biqli short link, Biqli records the redirect click and forwards its click ID as bq_id. The browser SDK captures that value automatically.
When to use trackClick
UsetrackClick() only when your browser application must create a click for a known Biqli link without first following the normal short-link redirect.
First enable Client-side click tracking in Workspace settings -> Tracking.
The SDK stores the returned click ID using the configured first-click or last-click model.
Common errors
client_click_tracking_disabled: enable the setting for this workspace.origin_not_allowed: add the exact browser hostname and save it.resource_not_found: the domain and key do not resolve to an eligible link in this workspace.idempotency_conflict: the sameeventIdwas reused with different input.
Do not call
trackClick() after every page view. Single-page navigation capture updates stored attribution from URL parameters; it does not create a new click event by itself.
