Event Tracking Overview
Kissmetrics tracks events tied to individual users for complete journey analysis.
Basic Tracking
Record Events
_kmq.push(['record', 'Signed Up']);
// With properties
_kmq.push(['record', 'Signed Up', {
'Plan': 'Premium',
'Source': 'Website'
}]);
Identify Users
_kmq.push(['identify', 'user@example.com']);
Set Properties
_kmq.push(['set', {
'Plan': 'Enterprise',
'Company Size': '50-100'
}]);
Revenue Tracking
_kmq.push(['record', 'Purchased', {
'Revenue': 99.99,
'Product': 'Pro Plan'
}]);
Automatic Events
Enable automatic tracking:
_kmq.push(['trackClick', 'signup-button', 'Clicked Signup']);
_kmq.push(['trackSubmit', 'signup-form', 'Submitted Signup Form']);
Best Practices
- Identify users as early as possible
- Use consistent event naming
- Track meaningful actions, not everything
- Include revenue on purchase events