aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/zero_ex_instant_provider.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-22 00:20:09 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-22 03:10:17 +0800
commitd750225554a0c4c317863cf11a7db5b1570e5b41 (patch)
tree0dfedb44373f9b970ef80d3367419ebe5256be9e /packages/instant/src/components/zero_ex_instant_provider.tsx
parent1593b94aacd69a9c48c04a13d696c4c0bede4d58 (diff)
downloaddexon-0x-contracts-d750225554a0c4c317863cf11a7db5b1570e5b41.tar.gz
dexon-0x-contracts-d750225554a0c4c317863cf11a7db5b1570e5b41.tar.zst
dexon-0x-contracts-d750225554a0c4c317863cf11a7db5b1570e5b41.zip
Send in explicit props
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_provider.tsx')
-rw-r--r--packages/instant/src/components/zero_ex_instant_provider.tsx10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx
index 37ed3dc94..dc6a45a23 100644
--- a/packages/instant/src/components/zero_ex_instant_provider.tsx
+++ b/packages/instant/src/components/zero_ex_instant_provider.tsx
@@ -126,7 +126,15 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider
// Analytics
disableAnalytics(this.props.shouldDisableAnalyticsTracking || false);
- analytics.addEventProperties(analytics.generateEventProperties(state, window));
+ analytics.addEventProperties(
+ analytics.generateEventProperties(
+ state.network,
+ this.props.orderSource,
+ state.providerState,
+ window,
+ this.props.affiliateInfo,
+ ),
+ );
analytics.trackInstantOpened();
}
public componentWillUnmount(): void {