Skip to content

Conversation

@jaclync
Copy link
Contributor

@jaclync jaclync commented Jan 18, 2023

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_step with new step enum cases when each of the 3 profiler questions is shown.

Testing instructions

  • Log in if needed
  • Go to the Menu tab, and tap Switch store
  • On the store picker, tap + Add a store
  • Tap Create a new store --> the domain selector should be shown with a placeholder image
  • Enter some store name and tap Continue --> in the console, a log should be shown 🔵 Tracked site_creation_step, properties: [AnyHashable("step"): "store_profiler_industries"] when the store category question is shown
  • Select a category and tap Continue --> 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 shown
  • Tap Skip --> in the console, a log should be shown 🔵 Tracked site_creation_step, properties: [AnyHashable("step"): "store_profiler_country"] when the store country question is shown
  • Select a country and tap Continue
  • Select or search for a domain, then tap Continue --> 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"): "**"]

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@jaclync jaclync added type: task An internally driven task. category: tracks Related to analytics, including Tracks Events. labels Jan 18, 2023
@jaclync jaclync added this to the 12.0 milestone Jan 18, 2023
@jaclync jaclync marked this pull request as ready for review January 18, 2023 02:52
Base automatically changed from issue/8644-track-profiler-answers to trunk January 18, 2023 02:53
@jaclync jaclync changed the title Feat/8644 release profiler Store creation: release profiler questions Jan 18, 2023
@wpmobilebot
Copy link
Collaborator

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr8667-0ba9b1a on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@itsmeichigo itsmeichigo self-assigned this Jan 18, 2023
Copy link
Contributor

@itsmeichigo itsmeichigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jaclync jaclync merged commit 2a0a022 into trunk Jan 18, 2023
@jaclync jaclync deleted the feat/8644-release-profiler branch January 18, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: tracks Related to analytics, including Tracks Events. type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Store creation: send a Tracks event with profiler answers after the last question

4 participants