Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Split out the common component between SuperUser and NonSuperUser form #25061

Merged
merged 5 commits into from
Jul 5, 2023
Merged
Next Next commit
moved instanceId outside to add this data in all events
  • Loading branch information
ankitsrivas14 committed Jun 16, 2023
commit 0d21d9a09ade8de124afea8a7b5deaa91c13761b
2 changes: 1 addition & 1 deletion app/client/src/utils/AnalyticsUtil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,9 @@ class AnalyticsUtil {
finalEventData = {
...eventData,
userData: user.userId === ANONYMOUS_USERNAME ? undefined : user,
instanceId,
};
}
finalEventData = { ...finalEventData, instanceId };

if (windowDoc.analytics) {
log.debug("Event fired", eventName, finalEventData);
Expand Down