Skip to content

Fix WooCommerce Services JITM Stats#6304

Merged
zinigor merged 3 commits intomasterfrom
fix/woocommerce-services-jitm-stats
Feb 6, 2017
Merged

Fix WooCommerce Services JITM Stats#6304
zinigor merged 3 commits intomasterfrom
fix/woocommerce-services-jitm-stats

Conversation

@jeffstieler
Copy link
Copy Markdown
Contributor

Changes proposed in this Pull Request:

  • Rename woocommerce_services MC stat to wooservices (was hitting char limit)
  • Don't bump activation stat as launch type, record as module activation

Testing instructions:

  • Verify that view, dismissal, and activation stats are bumped using the wooservices group, and that jitmActionToTake is not launch for WooCommerce Services.

Proposed changelog entry for your changes:

@jeffstieler jeffstieler added the [Status] Needs Review This PR is ready for review. label Feb 6, 2017
*/
private function install() {
$jetpack = Jetpack::init();
$jetpack->stat( 'jitm', 'wooservices-activated-' . JETPACK__VERSION );
Copy link
Copy Markdown
Contributor

@dereksmart dereksmart Feb 6, 2017

Choose a reason for hiding this comment

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

Would it make sense to move this below (after success), so we're not tracking failed attempts?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'd rather track an additional stat to determine successful install.. as it sits, we should be able to glean that people are having installation problems by comparing the number of activated stats to active sites.. though that method isn't without it's flaws.

What do you think about tracking an install stat on button click, and an activated stat on successful result of the install() method?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What do you think about tracking an install stat on button click, and an activated stat on successful result of the install() method?

:shipit:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

@dereksmart dereksmart left a comment

Choose a reason for hiding this comment

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

lgtm

@dereksmart dereksmart added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Feb 6, 2017
@zinigor zinigor merged commit b0e96a7 into master Feb 6, 2017
@zinigor zinigor deleted the fix/woocommerce-services-jitm-stats branch February 6, 2017 20:52
@zinigor zinigor removed the [Status] Ready to Merge Go ahead, you can push that green button! label Feb 6, 2017
@dereksmart dereksmart restored the fix/woocommerce-services-jitm-stats branch February 6, 2017 21:03
@dereksmart dereksmart deleted the fix/woocommerce-services-jitm-stats branch February 6, 2017 21:04
@dereksmart
Copy link
Copy Markdown
Contributor

merged to 4.6 20adafb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants