Guides / SaaS
You don't need Mixpanel. You don't need Segment. You need to know the moment someone signs up, pays you, or hits an error — so you can act on it fast.
LogIt is one API call. You call it. You get a notification. That's it.
npm install logit
// lib/logit.ts
import { init } from "logit";
export const logit = init({ token: process.env.LOGIT_API_KEY! });
// 1. Signup
await logit.now("signups", {
event: "New user 👤",
description: user.email,
notify: true,
icon: "👤",
tags: { plan: user.plan },
});
// 2. First payment
await logit.now("payments", {
event: "First payment 💰",
description: `${user.email} — $${amount}`,
notify: true,
icon: "💰",
tags: { amount: String(amount) },
});
// 3. Error
await logit.now("errors", {
event: "Checkout crashed",
description: error.message,
notify: true,
icon: "❌",
});
// 4. Milestone (your choice)
await logit.now("milestones", {
event: "100th signup 🎉",
description: "Total users crossed 100",
notify: true,
icon: "🎉",
});
Those tools are for product analytics — funnels, retention, cohorts. LogIt is for operational awareness — knowing when something happens, right now, without opening a dashboard.
For an indie hacker, a phone buzz when someone pays beats any chart.
Try LogIt free
7-day trial. No credit card required.