Skip to content

Commit 5af4c3a

Browse files
committed
chore: add mobile sticky filters tracking
1 parent 04d41c7 commit 5af4c3a

File tree

1 file changed

+11
-1
lines changed
  • src/components/FindWallet/WalletTable

1 file changed

+11
-1
lines changed

src/components/FindWallet/WalletTable/index.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,16 @@ const WalletTable = ({
230230
// Context API
231231
const { supportedLanguage } = useContext(WalletSupportedLanguageContext)
232232

233+
const handleStickyFiltersClick = () => {
234+
onOpen()
235+
236+
trackCustomEvent({
237+
eventCategory: "MobileFilterToggle",
238+
eventAction: "Tap MobileFilterToggle - sticky",
239+
eventName: "show mobile filters true",
240+
})
241+
}
242+
233243
return (
234244
<Container>
235245
<WalletContentHeader>
@@ -243,7 +253,7 @@ const WalletTable = ({
243253
color="primary.base"
244254
textTransform="uppercase"
245255
cursor="pointer"
246-
onClick={onOpen}
256+
onClick={handleStickyFiltersClick}
247257
as="button"
248258
>
249259
{`${t("page-find-wallet-filters")} (${

0 commit comments

Comments
 (0)