Skip to content

Commit 2eaf109

Browse files
committed
Updates metrics and Experimentation language
1 parent 4849672 commit 2eaf109

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/shared/sdk-server/src/api/LDClient.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,17 +177,17 @@ export interface LDClient {
177177
/**
178178
* Tracks that a context performed an event.
179179
*
180-
* LaunchDarkly automatically tracks pageviews and clicks that are specified in the Goals section
181-
* of the dashboard. This can be used to track custom goals or other events that do not currently
182-
* have goals.
180+
* LaunchDarkly automatically tracks pageviews and clicks that are specified in the Metrics section
181+
* of the dashboard. This can be used to track custom metrics (goals) or other events that do not currently
182+
* have metrics.
183183
*
184184
* Note that event delivery is asynchronous, so the event may not actually be sent until later;
185185
* see {@link flush}.
186186
*
187187
* If the context is omitted or has no key, the client will log a warning and will not send an
188188
* event.
189189
*
190-
* @param key The name of the event, which may correspond to a goal in A/B tests.
190+
* @param key The name of the event, which may correspond to a metric in Experimentation.
191191
* @param context The context to track.
192192
* @param data Optional additional information to associate with the event.
193193
* @param metricValue A numeric value used by the LaunchDarkly experimentation feature in numeric

0 commit comments

Comments
 (0)