From 51b29dabbd030ecb59ac6d1cb5c83b644d05eefc Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Wed, 18 Sep 2024 22:05:29 -0600 Subject: [PATCH] Matomo events --- .../FindWalletLanguageSelectInput.tsx | 14 +- .../FindWalletsNoResults.tsx | 20 +- .../WalletSubComponent.tsx | 53 ++- .../data/WalletFilters.tsx | 315 ++++++++++++++++-- .../FindWalletProductTable/index.tsx | 15 +- src/components/ProductTable/MobileFilters.tsx | 11 +- src/components/ProductTable/Table.tsx | 4 +- src/components/ProductTable/index.tsx | 21 +- 8 files changed, 411 insertions(+), 42 deletions(-) diff --git a/src/components/FindWalletProductTable/FindWalletLanguageSelectInput.tsx b/src/components/FindWalletProductTable/FindWalletLanguageSelectInput.tsx index 4b0081d90f9..35eb68e9e37 100644 --- a/src/components/FindWalletProductTable/FindWalletLanguageSelectInput.tsx +++ b/src/components/FindWalletProductTable/FindWalletLanguageSelectInput.tsx @@ -9,8 +9,10 @@ import { SelectItem, SelectTrigger, SelectValue, -} from "@/components/ui/select" +} from "@/components/ui/Select" +import { getLanguageCodeName } from "@/lib/utils/intl" +import { trackCustomEvent } from "@/lib/utils/matomo" import { getLanguageCountWalletsData } from "@/lib/utils/wallets" interface FindWalletLanguageSelectInputProps { @@ -42,6 +44,11 @@ const FindWalletLanguageSelectInput = ({