JavaScript
Properties
When to Fire
- When key features are used
- When premium features are accessed
- When usage-based actions are performed
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Track when a specific feature is used to understand product adoption.
window._upstack('track', 'feature_used', {
accountId: 'acct_abc123',
userId: 'usr_xyz789',
featureId: 'feat_export',
featureName: 'CSV Export',
featureCategory: 'reporting'
});
| Property | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | Account identifier |
| featureId | string | Yes | Feature identifier |
| userId | string | No | User who used the feature |
| featureName | string | No | Feature display name |
| featureCategory | string | No | Feature category |
Was this page helpful?