Skip to content
LogZuno

Event tracking6 min readUpdated

Real-time event tracking, and when seconds matter

When seconds matter, how a live event feed works, what to put in it, and how to use notifications without drowning in them.

Real-time event tracking means seeing what people do in your product seconds after they do it, not in tomorrow's report. A payment, a sign-up from a big prospect, a spike in errors after a release: each is worth more when you know about it now. This guide explains what real-time event tracking is, when it matters, how it works under the hood, and how to set it up without drowning your team in notifications.

What is real-time event tracking?

Event tracking records actions as named events: Signed up, Payment received, Export failed. Real-time event tracking adds two promises:

  1. Low latency. An event is visible, in a feed or a chart, within seconds of being sent.
  2. Reaction. Important events can trigger something immediately: a push notification, a Slack message or a webhook.

Most analytics tools are batch systems. They collect events all day and process them on a schedule, so reports are hours old. That's fine for monthly trends and useless for a failed payment from your largest customer.

If the concept of events is new, start with event tracking examples and come back.

Real time vs batch: when does it matter?

Not every number needs to be live. A useful rule: real time matters when someone would act on the event today.

SituationReal time?Why
Failed payment over a thresholdYesSomeone should contact the customer now
New sign-up from a target accountYesSales wants to reach out while they're engaged
Error spike after a deployYesRoll back before more users hit it
Launch day sign-upsYesThe team wants to see it working
Weekly retention by cohortNoIt only changes once a week
Quarterly revenue by planNoNobody acts on it within the hour

The same events serve both. You track once, watch the live ones, and let the slow ones roll up into dashboards.

Use cases that pay for themselves

Revenue events

Payment received, Payment failed, Subscription cancelled and Plan upgraded are the events founders most want on their phones. A failed payment caught within minutes can often be fixed with one message; caught a week later, it's churn. See SaaS customer retention.

High-intent sign-ups

When someone from a company you've been pursuing signs up, a live notification lets sales follow up the same hour. Send the company as a property, or as a group, and filter alerts on it.

Errors and broken flows

Track Export failed, Webhook failed or Checkout error as events with an error code. A threshold alert on the count per hour tells you about a broken release long before support tickets do.

Launches and campaigns

On launch day, a live feed of sign-ups, activations and first payments is the most honest dashboard there is. Teams shipping several AI-written changes a day lean on this most; see vibe coded apps. It also confirms, within seconds, that the tracking you just shipped actually works.

How real-time tracking works

Under the hood, a real-time pipeline has four parts:

  1. Sending. Your code sends an HTTP request with the event. For anything important, send it from your backend after the action succeeds, so ad blockers and closed tabs can't lose it.
  2. Accepting. The ingestion API validates the request and accepts it quickly, usually returning 202 Accepted before the event is written. Fast acceptance keeps your own request path quick.
  3. Writing. Events are written in small batches, a fraction of a second apart, to storage built for counting events over time.
  4. Pushing. Once written, events are pushed to open feeds and checked against alert rules, which notify the right channel.

Two details separate a reliable pipeline from a fragile one:

  • Idempotency. Networks fail, and clients retry. Give each event an ID (an order number, for example) so a retried request is stored once.
  • Batching. High-volume sources should send many events per request. It's cheaper and kinder to rate limits.

How fast is "real time"?

For product analytics, "real time" means seconds, not milliseconds. A human can't act faster than that anyway. Be wary of tools that call hourly processing "near real time"; ask how long an event takes to appear in a chart and to trigger an alert, and test it during a trial with a single request.

Avoiding notification fatigue

The danger of real time is noise. A channel that pings for every page view gets muted in a day. Four habits keep notifications useful:

  1. Notify on outcomes, not activity. Payments and failures, not clicks.
  2. Filter. Only payments over a certain amount; only sign-ups on paid plans.
  3. Rate-limit. If a rule fires many times a minute, send one summary instead.
  4. Route. Revenue to the founders' channel, errors to engineering, sign-ups to sales.

Everything else belongs in charts and weekly reports. Our guide to user engagement metrics covers what to watch on a slower cadence.

Real-time tracking for B2B accounts

In B2B products, the account often matters more than the person. A single user at a 500-seat customer going quiet is noise; the whole account going quiet is a renewal at risk. Send a group ID with every event, as described in groups, and you can alert on account-level patterns: a target account's first sign-up, a big customer's first failed payment, or an account whose activity dropped this week.

The same group ID powers account health on slower dashboards, so the live signal and the weekly review agree. The customer health score entry covers how teams combine these signals.

Questions to ask any real-time vendor

  1. How many seconds from my request to the event appearing in a chart?
  2. Can I alert on a single event, filtered by its properties, and on a number crossing a threshold?
  3. What happens when a rule fires 500 times a minute?
  4. Can I send events from my backend in any language, and in batches?
  5. How are retries handled: is there an idempotency key?
  6. Where do alerts go: email, Slack, a webhook, my phone?

A short trial with your own events answers all six. If a vendor can't show you an event arriving in seconds, it isn't real time.

Real-time event tracking with LogZuno

LogZuno was built around the live feed:

  • One request per event. POST JSON to /v1/log from any language, or up to 100 events with /v1/batch. The quickstart has tested code for 12 languages.
  • Seconds to the feed. Events are accepted in milliseconds, written in small batches, and appear in the live feed and in charts within seconds.
  • Push for what matters. Add "notify": true to an event and team members who opted in get a browser push. Muted channels stay quiet.
  • Instant alerts. Rules on any event, user or group property post to email, Slack, Discord, Telegram, a signed webhook or browser push, with a per-minute limit that sends a summary instead of a flood. See alerts.
  • The same events everywhere. Every live event also feeds trends, funnels, retention and segments, so nothing is tracked twice.

Here's a payment event with a push notification:

curl -X POST https://api.logzuno.app/v1/log \
  -H "Authorization: Bearer $LOGZUNO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channel": "billing", "event": "Payment received", "user_id": "user-123", "icon": "💳", "notify": true, "tags": {"plan": "growth", "amount": 320}}'

Read more about event tracking in LogZuno, see how it compares with LogSnag, or see LogZuno for SaaS brands.

Key takeaways

  • Real-time event tracking means seeing events within seconds and reacting to the ones that matter.
  • Use it for revenue, high-intent sign-ups, errors and launches; leave slow metrics to dashboards.
  • Send important events from your backend, with idempotency keys, and batch high-volume sources.
  • Notify on outcomes, filter, rate-limit and route, or the channel will be muted.

Send your first event today.

7 days free on any plan, up to 500 events. Then from $17 a month. Cancel during the trial and you pay nothing.