Skip to content

Commit 2a0a022

Browse files
authored
Merge pull request #8667 from woocommerce/feat/8644-release-profiler
Store creation: release profiler questions
2 parents 0e465a6 + 0ba9b1a commit 2a0a022

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
4040
case .storeCreationM2WithInAppPurchasesEnabled:
4141
return false
4242
case .storeCreationM3Profiler:
43-
return buildConfig == .localDeveloper || buildConfig == .alpha
43+
return true
4444
case .justInTimeMessagesOnDashboard:
4545
return true
4646
case .systemStatusReportInSupportRequest:

RELEASE-NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
12.0
44
-----
5-
5+
- [internal] Store creation flow now includes 3 profiler questions: store category, selling status, and store country. [https://github.com/woocommerce/woocommerce-ios/pull/8667]
66

77
11.9
88
-----

WooCommerce/Classes/Analytics/WooAnalyticsEvent+StoreCreation.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ extension WooAnalyticsEvent.StoreCreation {
133133
/// Steps of the native store creation flow.
134134
enum Step: String {
135135
case storeName = "store_name"
136+
case profilerCategoryQuestion = "store_profiler_industries"
137+
case profilerSellingStatusQuestion = "store_profiler_commerce_journey"
138+
case profilerCountryQuestion = "store_profiler_country"
136139
case domainPicker = "domain_picker"
137140
case storeSummary = "store_summary"
138141
case planPurchase = "plan_purchase"

WooCommerce/Classes/Authentication/Store Creation/StoreCreationCoordinator.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ private extension StoreCreationCoordinator {
323323
self.showSellingStatusQuestion(from: navigationController, storeName: storeName, category: nil, planToPurchase: planToPurchase)
324324
})
325325
navigationController.pushViewController(questionController, animated: true)
326-
// TODO: analytics
326+
analytics.track(event: .StoreCreation.siteCreationStep(step: .profilerCategoryQuestion))
327327
}
328328

329329
@MainActor
@@ -348,7 +348,7 @@ private extension StoreCreationCoordinator {
348348
planToPurchase: planToPurchase)
349349
}
350350
navigationController.pushViewController(questionController, animated: true)
351-
// TODO: analytics
351+
analytics.track(event: .StoreCreation.siteCreationStep(step: .profilerSellingStatusQuestion))
352352
}
353353

354354
@MainActor
@@ -370,7 +370,7 @@ private extension StoreCreationCoordinator {
370370
self?.showSupport(from: navigationController)
371371
})
372372
navigationController.pushViewController(questionController, animated: true)
373-
// TODO: analytics
373+
analytics.track(event: .StoreCreation.siteCreationStep(step: .profilerCountryQuestion))
374374
}
375375

376376
@MainActor

0 commit comments

Comments
 (0)