Skip to content

Commit bce459b

Browse files
Add missing event data (#7449)
Do not show in changelog
1 parent 95dddc4 commit bce459b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

newIDE/app/src/MainFrame/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3359,7 +3359,11 @@ const MainFrame = (props: Props) => {
33593359
initialStepIndex,
33603360
initialProjectData,
33613361
});
3362-
sendInAppTutorialStarted({ tutorialId, scenario });
3362+
sendInAppTutorialStarted({
3363+
tutorialId,
3364+
scenario,
3365+
isUIRestricted: !!selectedInAppTutorialShortHeader.shouldRestrictUI,
3366+
});
33633367
setSelectedInAppTutorialInfo(null);
33643368
},
33653369
[

newIDE/app/src/Utils/Analytics/EventSender.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ export const sendTutorialOpened = (tutorialName: string) => {
248248
export const sendInAppTutorialStarted = (metadata: {|
249249
tutorialId: string,
250250
scenario: 'startOver' | 'resume' | 'start',
251+
isUIRestricted: boolean,
251252
|}) => {
252253
recordEvent('in-app-tutorial-started', metadata);
253254
};

0 commit comments

Comments
 (0)