diff --git a/libs/remix-ui/git/src/lib/gitactions.ts b/libs/remix-ui/git/src/lib/gitactions.ts index 9d9b3f8ecb..1805289dfc 100644 --- a/libs/remix-ui/git/src/lib/gitactions.ts +++ b/libs/remix-ui/git/src/lib/gitactions.ts @@ -637,8 +637,10 @@ export const loadGitHubUserFromToken = async () => { type: 'success', message: `Github user loaded...` }) + await sendToMatomo(gitMatomoEventTypes.LOADGITHUBUSERSUCCESS) return true } else { + await sendToMatomo(gitMatomoEventTypes.ERROR, ['GITHUB USER LOAD ERROR']) sendToGitLog({ type: 'error', message: `Please check your GitHub token in the GitHub settings.` diff --git a/libs/remix-ui/git/src/types/index.ts b/libs/remix-ui/git/src/types/index.ts index d85a4a025c..538ae790dc 100644 --- a/libs/remix-ui/git/src/types/index.ts +++ b/libs/remix-ui/git/src/types/index.ts @@ -371,6 +371,7 @@ export enum gitMatomoEventTypes { SETREMOTEBRANCHINCOMMANDS = 'SET_REMOTE_IN_COMMANDS', REFRESH = 'REFRESH', ERROR = 'ERROR', + LOADGITHUBUSERSUCCESS = 'LOAD_GITHUB_USER_SUCCESS', } export enum gitUIPanels {