mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
chore(studio): track docs link clicks in the region selector footer (#51841)
Adds `free_tier_general_region_docs_link_clicked` event, fired when the regions docs link in the selector footer is clicked
This commit is contained in:
1 parent
13d4d053c8
commit
a37e434aa4
2 files changed
+17
-1
No files matched your search
@@ -403,7 +403,10 @@ export const RegionSelector = ({
|
||||
Upgrade to Pro
|
||||
</InlineLink>{' '}
|
||||
to choose a{' '}
|
||||
<InlineLink href={`${DOCS_URL}/guides/platform/regions`}>
|
||||
<InlineLink
|
||||
href={`${DOCS_URL}/guides/platform/regions`}
|
||||
onClick={() => track('free_tier_general_region_docs_link_clicked')}
|
||||
>
|
||||
specific region
|
||||
</InlineLink>
|
||||
.
|
||||
|
||||
@@ -555,6 +555,18 @@ export interface FreeTierGeneralRegionUpgradeClickedEvent {
|
||||
groups: Omit<TelemetryGroups, 'project'>
|
||||
}
|
||||
|
||||
/**
|
||||
* User clicked the "specific region" docs link in the region selector's footer.
|
||||
*
|
||||
* @group Events
|
||||
* @source studio
|
||||
* @page new/{slug} and /integrations/vercel/{slug}/deploy-button/new-project
|
||||
*/
|
||||
export interface FreeTierGeneralRegionDocsLinkClickedEvent {
|
||||
action: 'free_tier_general_region_docs_link_clicked'
|
||||
groups: Omit<TelemetryGroups, 'project'>
|
||||
}
|
||||
|
||||
/**
|
||||
* User clicked the "Need a specific region?" link to reveal the specific regions
|
||||
* list in the project creation region selector.
|
||||
@@ -4189,6 +4201,7 @@ export type TelemetryEvent =
|
||||
| ProjectCreationFormExposedEvent
|
||||
| FreeTierGeneralRegionExperimentExposedEvent
|
||||
| FreeTierGeneralRegionUpgradeClickedEvent
|
||||
| FreeTierGeneralRegionDocsLinkClickedEvent
|
||||
| ProjectCreationSpecificRegionLinkClickedEvent
|
||||
| OrganizationCreationFormExposedEvent
|
||||
| OrganizationCreationCompletedEvent
|
||||
|
||||
Reference in new issue
Block a user