Track Feature Usage in Express
Understand how users interact with your product
The problem
You built features in your Express app you thought users would love, but you are not sure if they are actually using them. Traditional analytics tell you page views and session duration, but not whether users completed the action that matters.
Product decisions become guesswork. Should you invest more in that feature nobody seems to use? Or is it actually popular but you just cannot see it? You end up relying on user interviews and anecdotes instead of data.
The feedback loop between shipping and learning is too long. You push a feature in your Express codebase, wait weeks for enough data, and by then you have moved on to something else. You lose the connection between what you build and how it performs.
The solution
Quicklog lets you track specific feature interactions in real-time. With npm install @quicklog/sdk and a few lines of JavaScript in your route handlers, when a user exports a report, runs an analysis, or enables an integration, you see it immediately. You learn how features perform as users discover them.
This is not about tracking everything. Pick the moments that matter. The actions that indicate engagement and value. Watch them happen and build intuition about how people use your Express product.
Correlate feature usage with user segments. Do power users favor certain features? Do new users find the core value quickly? Real-time data helps you answer these questions without waiting for weekly reports.
Why track this?
- See which features drive engagement
- Learn how users discover functionality
- Make product decisions with real data
Quick setup
Install the SDK:
npm install @quicklog/sdkAdd tracking to your Express app:
const { Quicklog } = require('@quicklog/sdk')
const ql = new Quicklog(process.env.QUICKLOG_API_KEY)
// Track Feature Usage
await ql.track({
channel: 'features',
event: 'feature.used',
description: 'Describe what happened',
user: {
id: user.id,
email: user.email,
name: user.name
},
metadata: {
// Add relevant context here
}
})Express tips
- Create a trackFeature middleware that wraps specific route handlers
- Use res.locals to pass user context to your tracking calls
- Add tracking in your controller layer rather than middleware for more context
Ready to track feature usage?
Set up in under 5 minutes. See events in your dashboard instantly.
