Quick start
From nothing to a ranked catalogue in about ten lines.
Get your keys
Sign in to the dashboard and open Integration → API keys. Create a key, name it for where it will run, and copy it immediately.
Shown once
The full key is returned only at creation. Only its hash is stored. If you lose it, revoke it and create another.
Your organization id is on the same page. You need both.
Install
pnpm add @thepulseapi/sdkStart a session
import { PulseClient } from '@thepulseapi/sdk';
export const pulse = new PulseClient();
await pulse.init({
apiKey: 'pk_live_...',
organizationId: 'org_...',
});init() also captures device, referrer and time of day once per session, unless you pass
autoTrack: false.
Send what the shopper did
await pulse.track([
{ type: 'category_view', value: 'helmets-safety' },
{ type: 'price_filter', value: '500000-1500000' },
]);Rank your catalogue
const { results } = await pulse.search(products);
results[0].scoreBreakdown; // why this one came firstEvery result carries the signals that matched it, so you can show a shopper why, or show yourself why when it looks wrong.
Without a bundler
<script src="https://cdn.thepulseapi.com/sdk/v0/pulse.iife.js"></script>
<script>
Pulse.init({ apiKey: 'pk_live_...', organizationId: 'org_...' });
</script>Giới thiệu
PULSE đo xem dữ liệu sản phẩm của bạn có trả lời được điều người mua đang hỏi hay không, xếp hạng những chỗ đáng sửa, và chứng minh bản sửa có tác dụng.
What the audit measures
Why the emptiest column is usually the wrong one to fix, what a bit of decision information buys, and the three cases where the ranking is wrong.

