Skip to content

Commit

Permalink
Fix Tracking Bugs in AI WonderStart Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Apr 24, 2024
1 parent e1be4d5 commit e6a0632
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/OnboardingSPA/steps/SiteGen/Editor/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ const StepSiteGenEditorHeader = () => {
await setFlow( currentData );
await completeFlow();
sendOnboardingEvent(
new OnboardingEvent( ACTION_ONBOARDING_COMPLETE, {
new OnboardingEvent( ACTION_ONBOARDING_COMPLETE, undefined, {
source: SITEGEN_FLOW,
} )
);
Expand Down
11 changes: 6 additions & 5 deletions src/OnboardingSPA/steps/SiteGen/SiteLogo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,12 @@ const SiteGenSiteLogo = () => {
if ( siteLogo ) {
trackOnboardingEvent(
new OnboardingEvent(
ACTION_LOGO_ADDED
),
{
source: SITEGEN_FLOW,
}
ACTION_LOGO_ADDED,
undefined,
{
source: SITEGEN_FLOW,
}
)
);
}
} }
Expand Down

0 comments on commit e6a0632

Please sign in to comment.