diff --git a/src/app/core/services/integration/tracking.service.ts b/src/app/core/services/integration/tracking.service.ts index ecd69043f..c014008b9 100644 --- a/src/app/core/services/integration/tracking.service.ts +++ b/src/app/core/services/integration/tracking.service.ts @@ -73,12 +73,11 @@ export class TrackingService { } } - onOpenLandingPage(userId: string | undefined, orgId: number, fyleOrgId: string): void { + onOpenLandingPage(userId: string | undefined, fyleOrgId: string): void { try { if (this.tracking) { this.tracking.identify(userId); this.tracking.people.set({ - orgId, fyleOrgId }); this.identityEmail = userId; diff --git a/src/app/integrations/integrations.component.ts b/src/app/integrations/integrations.component.ts index bec8fedca..0a798f1af 100644 --- a/src/app/integrations/integrations.component.ts +++ b/src/app/integrations/integrations.component.ts @@ -63,7 +63,7 @@ export class IntegrationsComponent implements OnInit { this.user = this.userService.getUserProfile(); this.getOrCreateOrg().then((org: Org | undefined) => { if (org) { - this.trackingService.onOpenLandingPage(this.user?.user_id, org.id, org.name); + this.trackingService.onOpenLandingPage(this.user?.user_id, org.fyle_org_id); this.org = org; this.storageService.set('orgId', this.org.id); this.storageService.set('org', this.org);