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

Analytics: Add tracks to checklist CTAs #12449

Merged
merged 2 commits into from
May 23, 2019
Merged

Conversation

sirreal
Copy link
Member

@sirreal sirreal commented May 23, 2019

Add tracking to the Checklist CTAs

  • jetpack_myplan_headerchecklistcta_click Static CTA enabled in the My Plan header at /wp-admin/admin.php?page=jetpack#/my-plan:
    Screen Shot 2019-05-23 at 12 32 54
  • jetpack_myplan_progresschecklistcta_click CTA in checklist progress (Not yet in use My plan: Add checklist progress banner #12277).

Tracks data includes plan property with plan slug.

Via #12429 (comment)

Testing instructions

  • From /wp-admin/admin.php?page=jetpack#/my-plan, open network panel and select "preserve log"
  • Click the CTA ("View your setup checklist" above).
  • Observer the tracks request fire.

@sirreal sirreal added [Status] Needs Review To request a review from Crew. Label will be renamed soon. [Feature] Tracks labels May 23, 2019
@sirreal sirreal requested a review from a team as a code owner May 23, 2019 10:28
@sirreal sirreal self-assigned this May 23, 2019
@jetpackbot
Copy link

jetpackbot commented May 23, 2019

Warnings
⚠️ "Proposed changelog entry" is missing for this PR. Please include any meaningful changes

This is an automated check which relies on PULL_REQUEST_TEMPLATE. We encourage you to follow that template as it helps Jetpack maintainers do their job. If you think 'Testing instructions' or 'Proposed changelog entry' are not needed for your PR - please explain why you think so. Thanks for cooperation 🤖

Generated by 🚫 dangerJS against 6f9357e

@sirreal sirreal requested review from jeffgolenski and a team May 23, 2019 10:38
@sirreal sirreal added this to the 7.4 milestone May 23, 2019
Copy link
Member

@jeherve jeherve left a comment

Choose a reason for hiding this comment

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

This works well in my tests. I only have one remark.

? {
plan: this.props.plan,
}
: undefined
Copy link
Member

Choose a reason for hiding this comment

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

Don't we always return a plan, even for free users?

Copy link
Member Author

Choose a reason for hiding this comment

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

We should, in theory. However, I don't trust that the plan prop will always be correctly provided.

@jeherve jeherve added [Status] Ready to Merge Go ahead, you can push that green button! Admin Page React-powered dashboard under the Jetpack menu Plans and removed [Status] Needs Review To request a review from Crew. Label will be renamed soon. labels May 23, 2019
@sirreal sirreal merged commit 3e3f522 into master May 23, 2019
@sirreal sirreal deleted the add/checklist-cta-tracks branch May 23, 2019 11:53
@matticbot matticbot added [Status] Needs Changelog and removed [Status] Ready to Merge Go ahead, you can push that green button! labels May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Page React-powered dashboard under the Jetpack menu [Feature] Tracks Plans
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants