diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-22 00:20:09 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-22 03:10:17 +0800 |
commit | d750225554a0c4c317863cf11a7db5b1570e5b41 (patch) | |
tree | 0dfedb44373f9b970ef80d3367419ebe5256be9e /packages/instant/src/components/zero_ex_instant_provider.tsx | |
parent | 1593b94aacd69a9c48c04a13d696c4c0bede4d58 (diff) | |
download | dexon-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.tsx | 10 |
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 { |