What does real-time analytics mean?
The term is used in two fields. In data engineering it means stream processing: events from apps, sensors or transactions are analysed as they flow, with tools built for that job. In web analytics it means seeing your site’s activity live instead of in reports that refresh hours later. This page is about the second.
The difference from ordinary analytics is latency, the time between something happening and you seeing it:
| Kind | Typical delay | Good for |
|---|---|---|
| Real time | Seconds | Launches, campaigns going out, outages, checking a new event fires |
| Near real time | Minutes | Watching a day unfold, alerting on unusual traffic |
| Batch | Hours to a day | Trends, comparisons, monthly reporting |
Most decisions are batch decisions: which channel to invest in, which page to rewrite. Real time earns its place in the moments when waiting a day means missing the chance to act.
When is real-time analytics useful?
- A launch or announcement. See within seconds whether people are arriving, which page they land on and which post or newsletter sent them.
- A link going viral. When a page suddenly fills, the live sources show where it was shared before you go looking.
- Testing tracking. After a release, trigger the custom event yourself and look for it in the feed. If it is missing, you find out while the deploy is still fresh, not in tomorrow’s report.
- An outage or a bad deploy. Traffic falling to zero or an error spike is visible right away, and an alert can tell you before a customer does.
- A sale or campaign. Payments appearing next to the visits that led to them show whether the campaign converts, while you can still change it.
A worked example: reading a spike
Say a product launch goes out at 10:00. The numbers are an illustration, not customer data:
At 10:20 the number that matters is not the total but the source, because it tells you where to show up. By 11:30 the questions are batch questions again, and the same events answer them in the daily reports.
How does real-time analytics work in CrispStats?
- The script sends the event with a beacon. The page does not wait for a reply.
- The collector replies before it does any work. Classification and storage happen after the response, so the visitor’s page never waits on the dashboard.
- A per-site hub at the edge pushes it to every open dashboard over a WebSocket, with no polling, usually within a second or two.
- The same event is stored for reports, so the live numbers and the daily numbers come from one source and line up.
What real time does not replace
Live numbers are noisy. A five-minute window swings with every share and lunch break, so do not judge a change by the realtime view alone. Compare days and weeks in the regular reports, use funnels for conversion questions, and let alerts watch for you instead of keeping the tab open all day. If you need streaming analysis of data that is not website traffic, a stream processing platform is the right tool, not a web analytics product.