Skip to content

Commit

Permalink
fix typo (#10984)
Browse files Browse the repository at this point in the history
  • Loading branch information
ameliahsu authored Aug 6, 2024
1 parent 257526c commit bc9565f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions develop-docs/development/analytics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ For analytics events that happen in Sentry, the function `trackAnalytics` is wha
### Step 1: Add the Typescript Definition
First, add the Typescript definiition of the event to an analytics event file inside the `analytics` directory like [issueAnalyticsEvents.tsx](https://github.com/getsentry/sentry/blob/master/static/app/utils/analytics/issueAnalyticsEvents.tsx). There are two parts of this:
First, add the Typescript definition of the event to an analytics event file inside the `analytics` directory like [issueAnalyticsEvents.tsx](https://github.com/getsentry/sentry/blob/master/static/app/utils/analytics/issueAnalyticsEvents.tsx). There are two parts of this:
1. Define the event parameters that get exported
Expand All @@ -217,7 +217,7 @@ export type ExampleTutorialEventParameters = {
};
```
2. Define the Reload to Amplitude name mapping. If the value is `null`, then the event will not be sent to Amplitude. This is usually only done for very high volumne events.
2. Define the Reload to Amplitude name mapping. If the value is `null`, then the event will not be sent to Amplitude. This is usually only done for very high volume events.
```tsx
export const exampleTutorialEventMap: Record<
Expand Down

0 comments on commit bc9565f

Please sign in to comment.