Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/shared/sdk-server/src/api/LDClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,17 +177,17 @@ export interface LDClient {
/**
* Tracks that a context performed an event.
*
* LaunchDarkly automatically tracks pageviews and clicks that are specified in the Goals section
* of the dashboard. This can be used to track custom goals or other events that do not currently
* have goals.
* LaunchDarkly automatically tracks pageviews and clicks that are specified in the Metrics section
* of the dashboard. This can be used to track custom metrics (goals) or other events that do not currently
* have metrics.
*
* Note that event delivery is asynchronous, so the event may not actually be sent until later;
* see {@link flush}.
*
* If the context is omitted or has no key, the client will log a warning and will not send an
* event.
*
* @param key The name of the event, which may correspond to a goal in A/B tests.
* @param key The name of the event, which may correspond to a metric in Experimentation.
* @param context The context to track.
* @param data Optional additional information to associate with the event.
* @param metricValue A numeric value used by the LaunchDarkly experimentation feature in numeric
Expand Down