Skip to content

Commit

Permalink
Don't record analytics for linkless cards in Ultra page (stream-labs#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gettinToasty authored Jan 6, 2023
1 parent 9d453df commit 76f3311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components-react/windows/settings/Ultra.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ function ProductCard(p: IProductInfo) {
const { UsageStatisticsService } = Services;

function linkToProduct() {
UsageStatisticsService.actions.recordClick('SettingsUltraPage', p.title);
if (!p.link) return;
UsageStatisticsService.actions.recordClick('SettingsUltraPage', p.title);

remote.shell.openExternal(p.link);
}
Expand Down

0 comments on commit 76f3311

Please sign in to comment.