aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-14 05:09:34 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-14 05:09:34 +0800
commit5e4b1eed3067208fecdd5c10f1c1cc16f6b4647b (patch)
treeaa3f890304da92f0c46158297ca8a9683d7bb65c /packages/website/ts/components
parentab5cd95cccff7b776d168036394203261b354aae (diff)
downloaddexon-sol-tools-5e4b1eed3067208fecdd5c10f1c1cc16f6b4647b.tar
dexon-sol-tools-5e4b1eed3067208fecdd5c10f1c1cc16f6b4647b.tar.gz
dexon-sol-tools-5e4b1eed3067208fecdd5c10f1c1cc16f6b4647b.tar.bz2
dexon-sol-tools-5e4b1eed3067208fecdd5c10f1c1cc16f6b4647b.tar.lz
dexon-sol-tools-5e4b1eed3067208fecdd5c10f1c1cc16f6b4647b.tar.xz
dexon-sol-tools-5e4b1eed3067208fecdd5c10f1c1cc16f6b4647b.tar.zst
dexon-sol-tools-5e4b1eed3067208fecdd5c10f1c1cc16f6b4647b.zip
Move update onboarding step tracking to onboarding flow code
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/onboarding/portal_onboarding_flow.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
index a51170735..f395674a1 100644
--- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
+++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx
@@ -233,6 +233,9 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp
}
private _updateOnboardingStep(stepIndex: number): void {
this.props.updateOnboardingStep(stepIndex);
+ analytics.track('Update Onboarding Step', {
+ stepIndex,
+ });
}
private _closeOnboarding(): void {
this.props.updateIsRunning(false);