Skip to content

Commit

Permalink
Fix Analytics bug
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Feb 28, 2024
1 parent 4c7e892 commit d64019d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/OnboardingSPA/steps/SiteGen/SiteLogo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const SiteGenSiteLogo = () => {
setSiteLogo( undefined );
setIsFooterNavAllowed( false );
trackOnboardingEvent(
new OnboardingEvent( ACTION_SITEGEN_LOGO_SKIPPED, {
new OnboardingEvent( ACTION_SITEGEN_LOGO_SKIPPED, undefined, {
source: SITEGEN_FLOW,
} )
);
Expand Down
10 changes: 7 additions & 3 deletions src/OnboardingSPA/steps/SiteGen/SocialMedia/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,13 @@ const SiteGenSiteSocialMedia = () => {

const trackSkipEvent = () => {
trackOnboardingEvent(
new OnboardingEvent( ACTION_SITEGEN_SOCIAL_CONNECT_SKIPPED, {
source: SITEGEN_FLOW,
} )
new OnboardingEvent(
ACTION_SITEGEN_SOCIAL_CONNECT_SKIPPED,
undefined,
{
source: SITEGEN_FLOW,
}
)
);
};

Expand Down

0 comments on commit d64019d

Please sign in to comment.