From c64721cfe21087488b5d4e6b957146b55c2d6dad Mon Sep 17 00:00:00 2001 From: hyesuuou <68391767+hyesuuou@users.noreply.github.com> Date: Mon, 5 Jun 2023 23:53:24 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Feat:=20=ED=99=88=20=EB=AF=B9=EC=8A=A4?= =?UTF-8?q?=ED=8C=A8=EB=84=90=20=EB=A1=9C=EA=B9=85=20=EC=B6=94=EA=B0=80=20?= =?UTF-8?q?(#178)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Projects/App/Sources/Screens/Home/HomeViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Projects/App/Sources/Screens/Home/HomeViewController.swift b/Projects/App/Sources/Screens/Home/HomeViewController.swift index f44110b..14e2300 100644 --- a/Projects/App/Sources/Screens/Home/HomeViewController.swift +++ b/Projects/App/Sources/Screens/Home/HomeViewController.swift @@ -307,6 +307,7 @@ final class HomeViewController: BaseViewController, View { extension HomeViewController: MyWorkitHeaderViewDelegate { func dateButtonDidTap() { + Mixpanel.mainInstance().track(event: "홈_기간설정_Clicked") let bottomSheetViewController = CalendarBottomSheetViewController() bottomSheetViewController.modalPresentationStyle = .overFullScreen bottomSheetViewController.modalTransitionStyle = .crossDissolve From 8d739be66e4effab45066e092bd4b1db426cd1bf Mon Sep 17 00:00:00 2001 From: hyesuuou <68391767+hyesuuou@users.noreply.github.com> Date: Tue, 6 Jun 2023 00:12:40 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Feat:=20=EC=98=A8=EB=B3=B4=EB=94=A9=20?= =?UTF-8?q?=EB=AF=B9=EC=8A=A4=ED=8C=A8=EB=84=90=20=EB=A1=9C=EA=B9=85=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20(#178)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../App/Sources/Screens/Onboarding/OnboardingReactor.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Projects/App/Sources/Screens/Onboarding/OnboardingReactor.swift b/Projects/App/Sources/Screens/Onboarding/OnboardingReactor.swift index 4855f38..2520ef8 100644 --- a/Projects/App/Sources/Screens/Onboarding/OnboardingReactor.swift +++ b/Projects/App/Sources/Screens/Onboarding/OnboardingReactor.swift @@ -9,6 +9,7 @@ import DesignSystem import UIKit +import Mixpanel import ReactorKit final class OnboardingReactor: Reactor { @@ -95,6 +96,12 @@ final class OnboardingReactor: Reactor { newState.buttonTitle = getButtonTitle(page: page) case .setNextPage: + if newState.page == 0 { + Mixpanel.mainInstance().track(event: "온보딩_다음버튼(1)_Clicked") + } else if newState.page == 2 { + Mixpanel.mainInstance().track(event: "온보딩_다음버튼(3)_Clicked") + } + if newState.page >= Number.lastPage { newState.startButtonTap = true break