Skip to content

Commit

Permalink
Update DAppOpened analytics event
Browse files Browse the repository at this point in the history
  • Loading branch information
serg-plusplus committed Jun 11, 2021
1 parent 2933237 commit f26c759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/templates/DAppsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const DAppsList: FC = () => {
trackEvent(
DAppStoreSelectors.DAppOpened,
AnalyticsEventCategory.ButtonPress,
{ website, name }
{ website, name, promoted: true }
);
},
[trackEvent]
Expand Down
2 changes: 1 addition & 1 deletion src/app/templates/DAppsList/DAppItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const DAppItem: FC<DAppItemProps> = ({
trackEvent(
DAppStoreSelectors.DAppOpened,
AnalyticsEventCategory.ButtonPress,
{ website, name }
{ website, name, promoted: false }
);
}, [trackEvent, website, name]);

Expand Down

0 comments on commit f26c759

Please sign in to comment.