We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e68ad68 commit 3bfc669Copy full SHA for 3bfc669
src/components/settings/api-settings-card.tsx
@@ -12,6 +12,7 @@ import { Icon } from '../../icons';
12
import { uploadFile } from '../../util/ui';
13
import { attempt } from '../../util/promise';
14
import { asError } from '../../util/error';
15
+import { trackEvent } from '../../metrics';
16
17
import { buildApiMetadataAsync } from '../../services/ui-worker-api';
18
@@ -288,6 +289,7 @@ export class ApiSettingsCard extends React.Component<
288
289
['http://' + baseUrl, 'https://' + baseUrl]
290
);
291
this.props.apiStore!.addCustomApi(baseUrl, api);
292
+ trackEvent({ category: "Config", action: "Add API spec" });
293
294
this.enteredBaseUrl = "";
295
this.selectedSpec = undefined;
0 commit comments