// sdk implementations

SDK Implementations

Wire customer.log into your stack in minutes. Pick a framework, install the package, and log your first event — the same log() call everywhere.

Framework guides

The React wrapper ships a useCustomerLog hook. It builds the client once per component and returns a stable log function you can call from event handlers.

terminal
npm install @customerlog/react
signup-button.tsx
import { useCustomerLog } from "@customerlog/react"; function SignupButton() { const { log } = useCustomerLog({ apiKey: "cl_xxx" }); const handleSignup = async () => { await log({ channel: "signups", title: "User signed up", message: "Came in via Google OAuth", metadata: { user_id: "usr_123", source: "google" }, notify: true, }); }; return <button onClick={handleSignup}>Complete signup</button>; }

Call log() from an event handler or effect, not during render. Each component creates its own client — reuse the hook in a shared module if you log from many places.

Base URL

All SDKs POST to https://event.customerlog.byorello.space/ by default. To self-host or point at a different environment, pass baseUrl in the client config (JS/TS, Dart, Python, Go, PHP, and Rust).

We care about your privacy

We use essential cookies to keep you signed in. We only ask for consent to use non-essential tracking cookies (visitor and page-view tracking). We never sell your data. Read our Privacy Policy and Terms of Use.