Tracking Blocker for WooCommerce® WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA #7 in Privacy & Compliance
Blocks all outbound HTTP requests to tracking.woocommerce.com/v1/ and logs the original data.
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/robertdevore/tracking-blocker-for-woocommerce/releases/download/1.1.0/tracking-blocker-for-woocommerce.zipBlocks all outbound HTTP requests to tracking.woocommerce.com/v1/ and logs the original data sent to the endpoint for debugging and analysis.
Description
Tracking Blocker for WooCommerce® is a lightweight WordPress plugin designed to enhance your site's privacy by preventing WooCommerce from sending data to its tracking endpoint.
The plugin intercepts outbound HTTP requests to tracking.woocommerce.com/v1/, logs the original request details (URL and payload), and blocks the request entirely. This ensures that no sensitive information is sent to WooCommerce's tracking service.
Features
- Block Tracking Requests: Prevents WooCommerce from sending data to its tracking endpoint.
- Log Request Details: Logs the blocked URL and the payload for transparency and debugging.
- Automatic Updates: Integrates with the GitHub repository to provide automatic plugin updates.
- WooCommerce Compatibility: Works seamlessly with WooCommerce without breaking core functionality.
Installation
- Download the Plugin: Clone or download the repository from GitHub.
- Upload the Plugin:
- Navigate to the WordPress admin dashboard.
- Go to
Plugins > Add New > Upload Plugin. - Upload the
tracking-blocker-for-woocommerce.zipfile.
- Activate the Plugin: Activate the plugin from the
Pluginsmenu in WordPress.
Usage
The plugin works automatically upon activation.
It intercepts HTTP requests to the WooCommerce tracking endpoint (tracking.woocommerce.com/v1/) and blocks them. All blocked requests and their payloads are logged to the WordPress debug log for review.
Logs Example
Blocked request log entry:
Blocked outbound request to: https://tracking.woocommerce.com/v1/
Original data sent: {
"event": "installed",
"site": "https://example.com",
"timestamp": "1672455600",
"data": {
"woocommerce_version": "6.0",
"php_version": "8.1.2"
}
}
Development
Requirements
- PHP 7.4 or higher
- WordPress 5.0 or higher
- WooCommerce 5.0 or higher
Local Development
-
Clone the repository:
git clone https://github.com/robertdevore/tracking-blocker-for-woocommerce.git -
Install dependencies:
composer install -
Activate the plugin in your local WordPress environment.
Updating the Plugin
The plugin uses the plugin-update-checker library to fetch updates from the GitHub repository. Ensure the main branch is used for stable releases.
Frequently Asked Questions (FAQ)
Does this plugin block all WooCommerce tracking?
Yes, the plugin blocks all outbound HTTP requests to tracking.woocommerce.com/v1/.
Where can I find the logs?
The plugin logs all blocked requests to the WordPress debug log. Ensure WP_DEBUG and WP_DEBUG_LOG are enabled in your wp-config.php file.
Can this plugin break WooCommerce functionality?
No, the plugin only blocks tracking requests. All other WooCommerce features remain unaffected.
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page and submit a pull request 🤘
License
This plugin is licensed under the GPL-2.0+ license.
Releases
2 releases. Each count is every asset in that release; expand a row for the breakdown.
Active-site estimate ≈20 comes from the median of recent superseded releases. Method.