Skip to content

Commit

Permalink
feat: use the same id we send to bard
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong committed Nov 15, 2024
1 parent 5ee185f commit cda0778
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/libs/ajax/Metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,7 @@ const identify = async (anonId: String, signal: AbortSignal): Promise<any> => {
dateJoined: createDate,
app: 'DUOS'
};
if (user.userStatusInfo?.userSubjectId) {
window.Appcues.identify(user.userStatusInfo.userSubjectId, appcuesProps);
} else {
window.Appcues.identify(`${user.userId}`, appcuesProps);
}
window.Appcues.identify(`${Storage.getAnonymousId()}`, appcuesProps);
}

const config: AxiosRequestConfig = {
Expand Down

0 comments on commit cda0778

Please sign in to comment.