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

✨ feat: gtm loggin user property 추가 #121

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

dbstjrrb12
Copy link
Contributor

  • userJoinDate 추가

📝 About PR

⚙️ Changes

GTM 용 UserProperty에 userjoinDate(회워가입일) 값을 추가했습니다.

  • 최초 로그인 API 요청에 대한 응답을 userInfo 라는 이름의 쿠키에 저장합니다.
  • useAuth 훅 내부에서 session 객체를 요청하면, 해당 session 객체 내부에 userInfo 를 반환합니다.
  • 전달받은 userInfo 를 ScreenView 컴포넌트에서 gtm dataLayer 로 업데이트 합니다.

Copy link

vercel bot commented Sep 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
salpinoff-fe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 7, 2024 7:09am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants