diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-04 08:01:37 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-04 08:01:37 +0800 |
commit | 7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c (patch) | |
tree | 4d5d7e4fbc7c5bd78c30fa1eede7c9f8e7fff46e /packages/instant/src/util/analytics.ts | |
parent | e9fe7dcf54183416e114655595be4e565811d4ed (diff) | |
download | dexon-sol-tools-7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c.tar dexon-sol-tools-7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c.tar.gz dexon-sol-tools-7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c.tar.bz2 dexon-sol-tools-7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c.tar.lz dexon-sol-tools-7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c.tar.xz dexon-sol-tools-7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c.tar.zst dexon-sol-tools-7a03df946dc86ad2b9cc86947cf61bc74dcfbf3c.zip |
feat(instant): Add eth balance, eth address, token symbol and decimals to event properties
Diffstat (limited to 'packages/instant/src/util/analytics.ts')
-rw-r--r-- | packages/instant/src/util/analytics.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts index e625824ef..b632e8f1a 100644 --- a/packages/instant/src/util/analytics.ts +++ b/packages/instant/src/util/analytics.ts @@ -100,6 +100,8 @@ export interface AnalyticsUserOptions { export interface AnalyticsEventOptions { embeddedHost?: string; embeddedUrl?: string; + ethBalanceInUnitAmount?: string; + ethAddress?: string; networkId?: number; providerName?: string; gitSha?: string; @@ -110,7 +112,9 @@ export interface AnalyticsEventOptions { affiliateFeePercent?: number; numberAvailableAssets?: number; selectedAssetName?: string; + selectedAssetSymbol?: string; selectedAssetData?: string; + selectedAssetDecimals?: number; } export enum TokenSelectorClosedVia { ClickedX = 'Clicked X', |