diff --git a/analytics/auth.analytics.ts b/analytics/auth.analytics.ts
index 9fc1d9a5..a7d29499 100644
--- a/analytics/auth.analytics.ts
+++ b/analytics/auth.analytics.ts
@@ -24,6 +24,10 @@ export const useAuthAnalytics = () => {
captureEvent(AUTH_ANALYTICS.AUTH_LOGIN_BTN_CLICKED);
};
+ const onSignUpBtnClicked = () => {
+ captureEvent(AUTH_ANALYTICS.AUTH_SIGN_UP_BTN_CLICKED);
+ }
+
const onProceedToLogin = () => {
captureEvent(AUTH_ANALYTICS.AUTH_PROCEED_TO_LOGIN_CLICKED);
};
@@ -100,6 +104,7 @@ export const useAuthAnalytics = () => {
onUpdateEmailClicked,
onUpdateEmailSuccess,
onUpdateEmailFailure,
- onUpdateSameEmailProvided
+ onUpdateSameEmailProvided,
+ onSignUpBtnClicked
};
};
diff --git a/components/core/navbar/login-btn.tsx b/components/core/navbar/login-btn.tsx
index 341c13bc..fb9cc2d5 100644
--- a/components/core/navbar/login-btn.tsx
+++ b/components/core/navbar/login-btn.tsx
@@ -23,13 +23,13 @@ const LoginBtn = () => {
return (
<>
+ >
+ );
+};
+
+export default SignUpBtn;
diff --git a/utils/constants.ts b/utils/constants.ts
index 88d4d035..02f58b58 100644
--- a/utils/constants.ts
+++ b/utils/constants.ts
@@ -230,6 +230,7 @@ export const AUTH_ANALYTICS = {
AUTH_SETTINGS_EMAIL_UPDATE_SUCCESS: 'AUTH_SETTINGS_EMAIL_UPDATE_SUCCESS',
AUTH_SETTINGS_EMAIL_UPDATE_FAILED: 'AUTH_SETTINGS_EMAIL_UPDATE_FAILED',
AUTH_SETTINGS_EMAIL_UPDATE_SAME_AS_OLD: 'AUTH_SETTINGS_EMAIL_UPDATE_SAME_AS_OLD',
+ AUTH_SIGN_UP_BTN_CLICKED: 'AUTH_SIGN_UP_BTN_CLICKED',
};
export const TEAMS_ANALYTICS_EVENTS = {