-
Notifications
You must be signed in to change notification settings - Fork 219
Remove page view tracking in favor of jetpack #12010
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
@@ -81,6 +82,8 @@ function() { | |||
// This is required to short circuit `show_shipping` from class-wc-cart.php - without it, that function | |||
// returns based on the option's value in the DB and we can't override it any other way. | |||
add_filter( 'option_woocommerce_shipping_cost_requires_address', array( $this, 'override_cost_requires_address_option' ) ); | |||
|
|||
add_action( 'rest_pre_serve_request', array( $this, 'track_local_pickup' ), 10, 4 ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not part of the page views, but was in that script, it's now moved.
@@ -663,7 +663,7 @@ private function create_customer_account( $user_email, $first_name, $last_name ) | |||
'first_name' => $first_name, | |||
'last_name' => $last_name, | |||
'role' => 'customer', | |||
'source' => 'store-api,', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a typo, it's now fixed to allow views in the other branch to work.
Size Change: -750 B (0%) Total Size: 1.53 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and the pageview events are not being fired 👍🏼
* Empty commit for release pull request * Update feedback link (#11999) * Update Feedback link on Cart and Checkout blocks (#12006) * Update feedback link * Remove default url link, and make the param required * Updated readme.txt Updated versions Added testing steps * Remove page view tracking in favor of jetpack (#12010) * import checkbox from single place (#12015) * Revert "import checkbox from single place (#12015)" This reverts commit d952f8e. * Updated testing zip link --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com> Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
This PR removes all page view tracking since we moved them to Jetpack.
Testing Instructions
woocommerceanalytics_order_confirmation_view
,woocommerceanalytics_cart_view
,woocommerceanalytics_checkout_view
.WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).