Quickstart
This walks the same path the dashboard’s Get started checklist does. Budget about ten minutes.
Create a workspace
A workspace is an isolated event stream with its own write key and destinations. Use one per product or brand — and a separate one for staging, since a workspace is the only real boundary between environments.
You’ll be asked for a name and your website. That’s it.
Copy your write key
Find it under Settings → API keys. It looks like wk_live_xxxxxxxxxxxx.
Write keys can only ingest events — they can’t read your data or change settings — so they’re safe to ship in browser code.
Install the SDK
npm
Script tag
Using React or Next.js? Install @pivolio/react or
@pivolio/next instead — they wrap the same engine in a
provider.
Initialize and track
Now track something. Note that event properties are nested under
properties — this is the single most common mistake:
For commerce events, prefer the helpers. They map their arguments onto the exact property names the backend reads for revenue and deduplication:
Identify your customers
Tie anonymous activity to a known person. Everything that visitor did before signing in is retroactively linked to them:
Send raw email and phone — Pivolio normalizes and hashes them server-side, so every destination receives byte-identical digests. Hashing them yourself is the fastest way to quietly destroy your match rates.
Verify the event arrived
Open the Live Debugger in the dashboard. Events appear within a couple of seconds, showing which person they resolved to and how each destination handled them.
What to read next
- Events — standard event names, and the taxonomy that decides which events earn attribution credit.
- Configuration — every SDK option, including consent, batching and SPA page views.
- First-party domains — serve the collector from your own subdomain to beat ad-blockers and Safari ITP.
Events are tracked and reported immediately, but delivery to ad platforms requires an active plan or trial. If the Live Debugger shows events arriving while destinations stay quiet, check Billing first.