Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Remove page view tracking in favor of jetpack #12010

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

185 changes: 0 additions & 185 deletions assets/js/extensions/jetpack/woocommerce-analytics/index.ts

This file was deleted.

21 changes: 0 additions & 21 deletions assets/js/extensions/jetpack/woocommerce-analytics/test/index.ts

This file was deleted.

2 changes: 0 additions & 2 deletions bin/webpack-entries.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ const entries = {
'./assets/js/extensions/google-analytics/index.ts',
'wc-shipping-method-pickup-location':
'./assets/js/extensions/shipping-methods/pickup-location/index.js',
'wc-blocks-jetpack-woocommerce-analytics':
'./assets/js/extensions/jetpack/woocommerce-analytics/index.ts',
},
editor: {
'wc-blocks-classic-template-revert-button':
Expand Down
11 changes: 0 additions & 11 deletions src/Domain/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Automattic\WooCommerce\Blocks\BlockTemplatesController;
use Automattic\WooCommerce\Blocks\BlockTypesController;
use Automattic\WooCommerce\Blocks\Domain\Services\CreateAccount;
use Automattic\WooCommerce\Blocks\Domain\Services\JetpackWooCommerceAnalytics;
use Automattic\WooCommerce\Blocks\Domain\Services\Notices;
use Automattic\WooCommerce\Blocks\Domain\Services\DraftOrders;
use Automattic\WooCommerce\Blocks\Domain\Services\FeatureGating;
Expand Down Expand Up @@ -132,7 +131,6 @@ function() {
$this->container->get( CreateAccount::class )->init();
$this->container->get( ShippingController::class )->init();
$this->container->get( TasksController::class )->init();
$this->container->get( JetpackWooCommerceAnalytics::class )->init();

// Load assets in admin and on the frontend.
if ( ! $is_rest ) {
Expand Down Expand Up @@ -366,15 +364,6 @@ function( Container $container ) {
return new GoogleAnalytics( $asset_api );
}
);
$this->container->register(
JetpackWooCommerceAnalytics::class,
function( Container $container ) {
$asset_api = $container->get( AssetApi::class );
$asset_data_registry = $container->get( AssetDataRegistry::class );
$block_templates_controller = $container->get( BlockTemplatesController::class );
return new JetpackWooCommerceAnalytics( $asset_api, $asset_data_registry, $block_templates_controller );
}
);
$this->container->register(
Notices::class,
function( Container $container ) {
Expand Down
Loading
Loading