aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-17 07:29:07 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-17 07:29:07 +0800
commite8be70da10c887956d6e200f7d551d3d7bbafb93 (patch)
treec2f6db1426702e42793d52ce50d841339c5544db /packages/instant/src/util
parent4d7bd15334f909765749fea1c67ad26b161d6025 (diff)
downloaddexon-0x-contracts-e8be70da10c887956d6e200f7d551d3d7bbafb93.tar
dexon-0x-contracts-e8be70da10c887956d6e200f7d551d3d7bbafb93.tar.gz
dexon-0x-contracts-e8be70da10c887956d6e200f7d551d3d7bbafb93.tar.bz2
dexon-0x-contracts-e8be70da10c887956d6e200f7d551d3d7bbafb93.tar.lz
dexon-0x-contracts-e8be70da10c887956d6e200f7d551d3d7bbafb93.tar.xz
dexon-0x-contracts-e8be70da10c887956d6e200f7d551d3d7bbafb93.tar.zst
dexon-0x-contracts-e8be70da10c887956d6e200f7d551d3d7bbafb93.zip
Widget -> Instant
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r--packages/instant/src/util/analytics.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/util/analytics.ts b/packages/instant/src/util/analytics.ts
index b75665ff5..4c229be03 100644
--- a/packages/instant/src/util/analytics.ts
+++ b/packages/instant/src/util/analytics.ts
@@ -3,6 +3,7 @@ import { ObjectMap } from '@0x/types';
import { heapUtil } from './heap';
enum EventNames {
+ INSTANT_OPENED = 'Instant - Opened',
WALLET_READY = 'Wallet - Ready',
WIDGET_OPENED = 'Widget - Opened',
}
@@ -44,4 +45,5 @@ export const analytics = {
},
trackWalletReady: trackingEventFnWithoutPayload(EventNames.WALLET_READY),
trackWidgetOpened: trackingEventFnWithoutPayload(EventNames.WIDGET_OPENED),
+ trackInstantOpened: trackingEventFnWithoutPayload(EventNames.INSTANT_OPENED),
};