feat: log walletDisplayName to Heap
This commit is contained in:
parent
aa4fcebdc7
commit
57dc5b6fc0
@ -119,6 +119,7 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider
|
||||
this.props.orderSource,
|
||||
state.providerState,
|
||||
window,
|
||||
state.walletDisplayName,
|
||||
state.selectedAsset,
|
||||
this.props.affiliateInfo,
|
||||
),
|
||||
|
@ -106,6 +106,7 @@ export interface AnalyticsEventOptions {
|
||||
ethAddress?: string;
|
||||
networkId?: number;
|
||||
providerName?: string;
|
||||
walletDisplayName?: string;
|
||||
gitSha?: string;
|
||||
npmVersion?: string;
|
||||
instantEnvironment?: string;
|
||||
@ -138,6 +139,7 @@ export const analytics = {
|
||||
orderSource: OrderSource,
|
||||
providerState: ProviderState,
|
||||
window: Window,
|
||||
walletDisplayName?: string,
|
||||
selectedAsset?: Asset,
|
||||
affiliateInfo?: AffiliateInfo,
|
||||
): AnalyticsEventOptions => {
|
||||
@ -149,6 +151,7 @@ export const analytics = {
|
||||
embeddedUrl: window.location.href,
|
||||
networkId: network,
|
||||
providerName: providerState.name,
|
||||
walletDisplayName,
|
||||
gitSha: GIT_SHA,
|
||||
npmVersion: NPM_PACKAGE_VERSION,
|
||||
orderSource: orderSourceName,
|
||||
|
Loading…
x
Reference in New Issue
Block a user