Track everything. Integrate in minutes.
Official @reviewo/tracker SDK for JavaScript and TypeScript with two channels — public browser tracking and server-to-server sales events — plus a documented REST API and ready-to-use examples.
3 steps to tracking completo
Install the SDK
One line, any package manager — or drop in the JS loader (rv.js) in the browser.
Configure your keys
Publishable key for public tracking; secret key for sales events.
Start tracking
reviewo.track.event for navigation; reviewo.events for sales.
npm install @reviewo/tracker12 eventos, um fluxo completo
From page_view to order_placed, each event connects to the next. The API automatically normalizes aliases.
page_view
URL visitada
product_view
Produto visto
add_to_cart
Adicionou ao carrinho
checkout_start
Iniciou checkout
checkout_profile
Buyer data
checkout_shipping
Shipping selection
checkout_payment
Pagamento
purchase
Pedido confirmado
abandoned_cart
Carrinho abandonado
form_submit
Form submitted
custom_event
Evento livre
Explore cada tipo de evento
{
"clickId": "d8b947b875cc42cc...",
"eventType": "page_view",
"eventData": {
"url": "/produto/smart-tv",
"title": "Smart TV Samsung 65\"",
"referrer": "https://google.com",
"viewportWidth": 1920,
"scrollDepth": 45
}
}page_view
Required fields: url
| Campo | Tipo | Description |
|---|---|---|
| url* | string | Canonical URL of the visited page |
| title | string | Page title |
| referrer | string | Canonical referrer |
| viewportWidth | integer | Largura do viewport em px |
| viewportHeight | integer | Altura do viewport em px |
| scrollDepth | number | Profundidade de scroll (0-100%) |
SDK ou REST direto, you choose
Use the official SDK for quick integration or make direct REST calls. The same API powers both.
/api/v1/public/trackPublicPublic ingestion of navigation and checkout events (non-sensitive), identified by the publishable key.
Auth: Publishable key · metadata.siteKey
/api/v1/integration/eventsServerSensitive sales events — purchase, refund and cancel — always server-to-server, authenticated with the secret key and idempotent by orderId.
Auth: Secret key · x-api-key
Request Body — Campos compartilhados
| Campo | Tipo | Description |
|---|---|---|
| eventTyperequired | string | Public tracking event type (page_view, product_view, add_to_cart, checkout_*, abandoned_cart, custom_event). |
| eventDatarequired | object | Payload do evento. Estrutura varia por eventType. |
| clickId | string | Tracked Magic Link ID. Minimum 6 characters. Without it → organic event. |
| timestamp | string | ISO 8601 (ex: 2025-07-31T04:41:10.060Z). Omitido → hora atual. |
| deviceId | string | Identificador persistente do dispositivo. |
| metadata | object | Free-form integration data, stored as customData. |
Campos de enriquecimento
Additional telemetry for server-side ingestion: geolocation, fingerprint, and visitor context
| Campo | Tipo | Description |
|---|---|---|
| sessionId | string | Session ID sobrescrito manualmente. |
| ip | string | IP de origem. |
| userAgent | string | User-Agent. |
| fingerprint | string | Fingerprint do cliente. |
| origin | string | paid ou organic. |
| country / city / region | string | Geolocation to enrich ipLocation. |
| lat / lon | number | Coordenadas do visitante. |
| timezone | string | Timezone do visitante (ex: America/Sao_Paulo). |
Full reference, OpenAPI spec, and SDKs — open, no login.
11 plataformas, uma API
Use the official SDK or make direct REST calls. The same API powers both.
Tipagem completa
TypeScript-first com autocomplete no editor.
Docs interativas
Ready-to-use examples to copy and adapt.
Webhooks real-time
Receive conversion events in your backend.
Sandbox
Isolated environment for tests without affecting production.
Server-side ready
Endpoint direto com telemetria enriquecida.
<42ms p95
Ultra-low latency at edge locations.
190+ edge locations
CDN global via CloudFront.
Automatic alias
A API normaliza campos legados automaticamente.
Integrate in minutes, scale to millions
Free API key, testing sandbox, and interactive documentation with ready-to-use examples.