@daeryun/dr_components 1.2.88 → 1.2.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -81,15 +81,15 @@ const LoginContainer = ({ layoutClassName = ' relative h-[100vh] max-h-[1200px]
|
|
|
81
81
|
return redirect;
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
|
-
// GA 이벤트: 로그인 완료
|
|
85
|
-
const loginCompleteGAEvent = (userId) => {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
};
|
|
84
|
+
// GA 이벤트: 로그인 완료 (useLoginUuidSync.ts 훅에서 처리)
|
|
85
|
+
// const loginCompleteGAEvent = (userId: string) => {
|
|
86
|
+
// gtag.event({
|
|
87
|
+
// action: 'login_complete',
|
|
88
|
+
// category: 'login',
|
|
89
|
+
// label: `로그인 완료 - ${userId}`,
|
|
90
|
+
// value: '1'
|
|
91
|
+
// });
|
|
92
|
+
// };
|
|
93
93
|
useEffect(() => {
|
|
94
94
|
if (!isCheckRecentLogin) {
|
|
95
95
|
return;
|
|
@@ -129,7 +129,7 @@ const LoginContainer = ({ layoutClassName = ' relative h-[100vh] max-h-[1200px]
|
|
|
129
129
|
const normalized = redirect ? (redirect.startsWith('/') ? redirect : `/${redirect}`) : '/';
|
|
130
130
|
const finalUrl = appendUuidToRedirect(normalized, String(idx !== null && idx !== void 0 ? idx : ''));
|
|
131
131
|
// GA 이벤트
|
|
132
|
-
loginCompleteGAEvent(String(idx
|
|
132
|
+
// loginCompleteGAEvent(String(idx ?? '')); useLoginUuidSync.ts 훅에서 처리
|
|
133
133
|
clearInterval(interval);
|
|
134
134
|
window.location.href = finalUrl;
|
|
135
135
|
return;
|
|
@@ -159,7 +159,7 @@ const LoginContainer = ({ layoutClassName = ' relative h-[100vh] max-h-[1200px]
|
|
|
159
159
|
const normalized = redirect ? (redirect.startsWith('/') ? redirect : `/${redirect}`) : '/';
|
|
160
160
|
const finalUrl = appendUuidToRedirect(normalized, String(idx !== null && idx !== void 0 ? idx : ''));
|
|
161
161
|
// GA 이벤트
|
|
162
|
-
loginCompleteGAEvent(String(idx
|
|
162
|
+
// loginCompleteGAEvent(String(idx ?? '')); useLoginUuidSync.ts 훅에서 처리
|
|
163
163
|
window.location.href = finalUrl;
|
|
164
164
|
}
|
|
165
165
|
else {
|
|
@@ -88,15 +88,15 @@ const LoginContainer = ({
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
-
// GA 이벤트: 로그인 완료
|
|
92
|
-
const loginCompleteGAEvent = (userId: string) => {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
};
|
|
91
|
+
// GA 이벤트: 로그인 완료 (useLoginUuidSync.ts 훅에서 처리)
|
|
92
|
+
// const loginCompleteGAEvent = (userId: string) => {
|
|
93
|
+
// gtag.event({
|
|
94
|
+
// action: 'login_complete',
|
|
95
|
+
// category: 'login',
|
|
96
|
+
// label: `로그인 완료 - ${userId}`,
|
|
97
|
+
// value: '1'
|
|
98
|
+
// });
|
|
99
|
+
// };
|
|
100
100
|
|
|
101
101
|
useEffect(() => {
|
|
102
102
|
if (!isCheckRecentLogin) {
|
|
@@ -141,7 +141,7 @@ const LoginContainer = ({
|
|
|
141
141
|
const finalUrl = appendUuidToRedirect(normalized, String(idx ?? ''));
|
|
142
142
|
|
|
143
143
|
// GA 이벤트
|
|
144
|
-
loginCompleteGAEvent(String(idx ?? ''));
|
|
144
|
+
// loginCompleteGAEvent(String(idx ?? '')); useLoginUuidSync.ts 훅에서 처리
|
|
145
145
|
|
|
146
146
|
clearInterval(interval);
|
|
147
147
|
window.location.href = finalUrl;
|
|
@@ -177,7 +177,7 @@ const LoginContainer = ({
|
|
|
177
177
|
const finalUrl = appendUuidToRedirect(normalized, String(idx ?? ''));
|
|
178
178
|
|
|
179
179
|
// GA 이벤트
|
|
180
|
-
loginCompleteGAEvent(String(idx ?? ''));
|
|
180
|
+
// loginCompleteGAEvent(String(idx ?? '')); useLoginUuidSync.ts 훅에서 처리
|
|
181
181
|
|
|
182
182
|
window.location.href = finalUrl;
|
|
183
183
|
} else {
|