File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/components/FindWallet/WalletTable Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,14 @@ const WalletTable = ({
320
320
} )
321
321
}
322
322
323
+ const handleClick = ( walletName : string ) => {
324
+ trackCustomEvent ( {
325
+ eventCategory : "WalletExternalLinkList" ,
326
+ eventAction : "Tap main button" ,
327
+ eventName : `${ walletName } ` ,
328
+ } )
329
+ }
330
+
323
331
return (
324
332
< WalletContainer
325
333
key = { wallet . key }
@@ -420,6 +428,7 @@ const WalletTable = ({
420
428
w = "auto"
421
429
isExternal
422
430
size = "sm"
431
+ onClick = { ( ) => handleClick ( wallet . name ) }
423
432
>
424
433
{ t ( "page-find-wallet-visit-website" ) }
425
434
</ ButtonLink >
@@ -446,6 +455,7 @@ const WalletTable = ({
446
455
w = "100%"
447
456
isExternal
448
457
size = "sm"
458
+ onClick = { ( ) => handleClick ( wallet . name ) }
449
459
>
450
460
{ t ( "page-find-wallet-visit-website" ) }
451
461
</ ButtonLink >
You can’t perform that action at this time.
0 commit comments