bq_id from the destination URL, stores it in a first-party cookie, and uses it when you track a lead or sale.
The core package is framework-independent. Use it from Vue, Svelte, Angular, Astro client code, or plain browser JavaScript. React applications can use the dedicated provider and hook.
Before you start
- Create a Biqli short link and enable conversions on that link.
- Open Workspace settings -> Tracking.
- Enable conversion tracking.
- Add your website hostname.
- Generate and save a publishable key beginning with
biqli_pk_.
1
Install the package
2
Initialize the SDK once
3
Visit the short link
Open the conversion-enabled short link in a clean browser session. Its destination URL should include
bq_id.Confirm the SDK captured it:4
Track a lead
clickId when the SDK already captured it. You may pass it explicitly when your application has a known eligible click.
Track a browser-side sale
Verify the result
- Deploy the page publicly.
- Select Verify beside its hostname in Tracking settings.
- Complete a test journey through the short link.
- Open Customers and confirm the click and lead appear under the expected link.

