Skip to content

Commit fefd559

Browse files
committed
docs: analytics correction
1 parent 66a1b71 commit fefd559

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

apps/website/docs/guide/10-analytics/01-analytics-in-commandkit.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ CommandKit's analytics system is designed to be provider-agnostic. This means:
2020

2121
CommandKit automatically tracks various anonymous metrics:
2222

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`)
2728
- Anonymous interaction patterns
2829

2930
## Installation

apps/website/docs/guide/10-analytics/02-posthog.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,10 @@ await analytics.identify({
7676

7777
CommandKit automatically tracks the following anonymous events in PostHog:
7878

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
8483

8584
## Best Practices
8685

apps/website/docs/guide/10-analytics/03-umami.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ await track({
6060

6161
CommandKit automatically tracks the following anonymous events in Umami:
6262

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
6767
- Anonymous interaction patterns
6868

6969
## Best Practices

0 commit comments

Comments
 (0)