Skip to content

Commit

Permalink
Fix Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Apr 5, 2024
1 parent 7901e22 commit 7e22ee2
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/OnboardingSPA/steps/TheFork/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,24 +81,24 @@ const TheFork = () => {
theForkExperimentVersion;
setCurrentOnboardingData( currentData );
await setFlow( currentData );
}
const experimentVersionNames = {
1: 'control',
2: 'position',
3: 'badge',
4: 'position_badge',
};
const experimentVersionNames = {
1: 'control',
2: 'position',
3: 'badge',
4: 'position_badge',
};

// Send an event for the experiment version shown to the user.
trackOnboardingEvent(
new OnboardingEvent(
ACTION_SITEGEN_FORK_AI_EXPERIMENT,
experimentVersionNames[ theForkExperimentVersion ],
null,
null,
CATEGORY_EXPERIMENT
)
);
// Send an event for the experiment version shown to the user.
sendOnboardingEvent(
new OnboardingEvent(
ACTION_SITEGEN_FORK_AI_EXPERIMENT,
experimentVersionNames[ theForkExperimentVersion ],
null,
null,
CATEGORY_EXPERIMENT
)
);
}
};

const oldFlow = window.nfdOnboarding?.oldFlow
Expand Down

0 comments on commit 7e22ee2

Please sign in to comment.