Compare commits

...
Author SHA1 Message Date
Shivam Mishra ce8702564f feat: identify users on clarity 2023-05-31 21:26:11 +05:30
@@ -49,6 +49,10 @@ export class AnalyticsHelper {
avatar: this.user.avatar_url,
});
if (window.clarity) {
window.clarity('identify', this.user.email);
}
const { accounts, account_id: accountId } = this.user;
const [currentAccount] = accounts.filter(
account => account.id === accountId