File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed
apps/website/docs/guide/10-analytics Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,11 @@ CommandKit's analytics system is designed to be provider-agnostic. This means:
20
20
21
21
CommandKit automatically tracks various anonymous metrics:
22
22
23
- - Command execution counts and success rates
24
- - Feature flag usage statistics
25
- - Cache performance metrics
26
- - Guild count changes
23
+ - Command execution events (` command_execution ` )
24
+ - Cache performance metrics:
25
+ - Cache hits (` cache_hit ` )
26
+ - Cache misses (` cache_miss ` )
27
+ - Cache revalidations (` cache_revalidated ` )
27
28
- Anonymous interaction patterns
28
29
29
30
## Installation
Original file line number Diff line number Diff line change @@ -76,11 +76,10 @@ await analytics.identify({
76
76
77
77
CommandKit automatically tracks the following anonymous events in PostHog:
78
78
79
- - ` command_executed ` : Command execution counts and success rates
80
- - ` command_error ` : Error rates and types (without personal data)
81
- - ` guild_count ` : Changes in total guild count
82
- - ` feature_flag_used ` : Feature flag usage statistics
83
- - ` cache_operation ` : Cache performance metrics
79
+ - ` command_execution ` : Command execution events
80
+ - ` cache_hit ` : Cache hit events
81
+ - ` cache_miss ` : Cache miss events
82
+ - ` cache_revalidated ` : Cache revalidation events
84
83
85
84
## Best Practices
86
85
Original file line number Diff line number Diff line change @@ -60,10 +60,10 @@ await track({
60
60
61
61
CommandKit automatically tracks the following anonymous events in Umami:
62
62
63
- - Command execution counts and success rates
64
- - Guild count changes
65
- - Feature flag usage statistics
66
- - Cache performance metrics
63
+ - ` command_execution ` : Command execution events
64
+ - ` cache_hit ` : Cache hit events
65
+ - ` cache_miss ` : Cache miss events
66
+ - ` cache_revalidated ` : Cache revalidation events
67
67
- Anonymous interaction patterns
68
68
69
69
## Best Practices
You can’t perform that action at this time.
0 commit comments