|
|
@ -154,11 +154,12 @@ export default class DepositEtherModal extends Component { |
|
|
|
text: t('buyCryptoWithMoonPayDescription', [symbol]), |
|
|
|
text: t('buyCryptoWithMoonPayDescription', [symbol]), |
|
|
|
buttonLabel: t('continueToMoonPay'), |
|
|
|
buttonLabel: t('continueToMoonPay'), |
|
|
|
onButtonClick: () => { |
|
|
|
onButtonClick: () => { |
|
|
|
this.context.metricsEvent({ |
|
|
|
this.context.trackEvent({ |
|
|
|
eventOpts: { |
|
|
|
category: 'Accounts', |
|
|
|
category: 'Accounts', |
|
|
|
event: 'Click buy Ether via MoonPay', |
|
|
|
action: 'Deposit tokens', |
|
|
|
properties: { |
|
|
|
name: 'Click buy tokens via MoonPay', |
|
|
|
action: 'Deposit Ether', |
|
|
|
|
|
|
|
legacy_event: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
toMoonPay(address, chainId); |
|
|
|
toMoonPay(address, chainId); |
|
|
@ -171,11 +172,12 @@ export default class DepositEtherModal extends Component { |
|
|
|
text: t('buyWithWyreDescription'), |
|
|
|
text: t('buyWithWyreDescription'), |
|
|
|
buttonLabel: t('continueToWyre'), |
|
|
|
buttonLabel: t('continueToWyre'), |
|
|
|
onButtonClick: () => { |
|
|
|
onButtonClick: () => { |
|
|
|
this.context.metricsEvent({ |
|
|
|
this.context.trackEvent({ |
|
|
|
eventOpts: { |
|
|
|
category: 'Accounts', |
|
|
|
category: 'Accounts', |
|
|
|
event: 'Click buy Ether via Wyre', |
|
|
|
|
|
|
|
properties: { |
|
|
|
action: 'Deposit Ether', |
|
|
|
action: 'Deposit Ether', |
|
|
|
name: 'Click buy Ether via Wyre', |
|
|
|
legacy_event: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
toWyre(address); |
|
|
|
toWyre(address); |
|
|
|