Store creation: release profiler questions #8667
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #8644
Description
The profiler answer submission API is not ready yet, but we're tracking the answers in a Tracks event for now #8656. This PR enabled the profiler questions for the upcoming release, and added Tracks events
site_creation_stepwith new step enum cases when each of the 3 profiler questions is shown.Testing instructions
Switch store+ Add a storeCreate a new store--> the domain selector should be shown with a placeholder imageContinue--> in the console, a log should be shown🔵 Tracked site_creation_step, properties: [AnyHashable("step"): "store_profiler_industries"]when the store category question is shownContinue--> in the console, a log should be shown🔵 Tracked site_creation_step, properties: [AnyHashable("step"): "store_profiler_commerce_journey"]when the store selling status question is shownSkip--> in the console, a log should be shown🔵 Tracked site_creation_step, properties: [AnyHashable("step"): "store_profiler_country"]when the store country question is shownContinueContinue--> the store name, category, and country from the previous questions should be shown on the store summary screen. Also, a Tracks event should be tracked like:🔵 Tracked site_creation_profiler_data, properties: [AnyHashable("country_code"): "**", AnyHashable("industry"): "**", AnyHashable("industry_group"): "**"]RELEASE-NOTES.txtif necessary.