Documentation
Install in five minutes.
The snippet, the server API and the events that matter. Everything on this page is enough to get a first funnel working.
Install the snippet
Add one script tag before the closing </head> tag on every page. The key is in Settings > Project.
<!-- Pulsegrid -->
<script>
window.pulsegrid = window.pulsegrid || [];
pulsegrid.init('pk_live_8f2c41');
</script>
<script async src="https://cdn.example.com/pulsegrid.js"></script>
Working locally? Add
pulsegrid.debug(true) after init and every event prints to the console before it is sent.Track events
An event needs a name and nothing else. Properties are optional and are typed on first use.
pulsegrid.track('checkout_started', {
plan: 'growth',
items: 3,
value: 89.00
});
Use snake_case for names, keep them stable, and never put personal data in a property. Renaming an event is a breaking change: create a new one and alias the old.
Identify users
Call identify once after login so anonymous sessions stitch to the account.
pulsegrid.identify('user_8842', {
plan: 'growth',
created_at: '2026-02-11',
country: 'PT'
});
Ingest API
Server side events use the same schema over HTTPS. Batch up to 500 events per request.
curl -X POST https://api.example.com/v1/ingest \
-H "Authorization: Bearer pk_live_8f2c41" \
-H "Content-Type: application/json" \
-d '{"events":[{"name":"order_paid","user_id":"user_8842","value":89}]}'
Query API
Read a saved report as JSON, or run an ad-hoc funnel. Results are cached for sixty seconds.
GET /v1/reports/rep_1042?from=2026-11-01&to=2026-11-29
{
"steps": [
{"event": "signup", "users": 12840},
{"event": "workspace_created", "users": 6102},
{"event": "invite_sent", "users": 3418}
]
}
Limits
| Item | Limit |
|---|---|
| Event name | 64 characters, snake_case |
| Properties per event | 80 |
| Batch size | 500 events or 1 MB |
| Query range | Up to your plan's retention window |