Description
Product Metrics is a profit optimisation platform for ecommerce advertising. Server-side tracking, product segmentation and campaign planning for Google Ads, Meta and ChatGPT Ads come together in one app, and this plugin connects your WooCommerce store to it in a few minutes.
Optimise your ads for profit
Product Metrics sends each order’s profit, whether the customer is new or returning, and their lifetime value to your ad platforms. Your campaigns can then optimise for POAS (profit on ad spend), new customers and lifetime value instead of revenue alone.
Server-side conversion tracking
Orders reach your ad accounts from the server, including enhanced conversions for Google Ads, and your visitors’ consent choices are respected. Storefront visits, add to cart and checkout events go through your own site, so your ad accounts learn which campaigns bring in profitable orders.
Segment every product
Machine learning places every product in a segment and writes it to custom labels for your Shopping and Performance Max campaigns.
Plan your campaigns
The campaign plan sets out the ideal campaign structure for those segments, so you know which campaigns to create, keep or change.
See your real profit
A dashboard shows profit, customers, stock and returns, with every order and product measured after product costs, payment fees and shipping.
What the plugin connects
- Your orders, refunds and order history, including new orders as they come in.
- Your product costs, from WooCommerce’s cost of goods field or any custom field you already use, plus payment and shipping costs if you store them on orders.
- Your product catalog, kept up to date.
- Storefront visits, add to cart, checkout and purchases.
You need a Product Metrics account. Create a WooCommerce connection there, paste the one-time setup token under WooCommerce Product Metrics, and you’re connected.
External services
This plugin connects your store to the Product Metrics service. It starts sending data once you connect the store with your setup token.
woocommerce.productmetrics.io keeps your store data in sync:
- When you connect: the setup token, the plugin version, and your store’s country and currency.
- While connected: orders, refunds, customer order history and your product catalog. Order data includes order numbers, totals, taxes, discounts, line items, costs, and the customer’s email address, phone number, name, postcode and country. Product Metrics uses customer details to recognise returning customers and to report conversions to your ad accounts.
- Your cost and order status settings, connection checks, and a short notice when a product changes.
- When you disconnect or delete the plugin: a request to remove the connection.
tracking.productmetrics.io receives storefront events:
- Your site loads the storefront’s tracking settings from this service.
- Events go through your own site to this service. They contain the page address and its campaign parameters, the referring page, the visitor’s consent choices, cart and checkout contents, and for purchases the order number, value and items. After a visitor opts in to advertising, events also include a hashed email address.
- Your site adds the visitor’s IP address and browser user agent to each event, which Product Metrics uses to match conversions for the ad accounts you connect.
After a visitor opts in to advertising, the plugin sets first-party cookies on your domain. It also keeps consent and measurement state in the browser’s local storage.
Terms of service: https://productmetrics.io/terms-of-service
Privacy policy: https://productmetrics.io/privacy-policy
Source code
The storefront script (assets/bundle.js and assets/sdk.deflate.js) is minified. Its full TypeScript source and build script are included under assets/src/. With Bun installed (the version is in assets/src/sdk-build.json), run:
bun assets/src/build.ts rebuilt/
to rebuild both files exactly.
Screenshots








Installation
- Install and activate WooCommerce.
- Install and activate ProductMetrics Profit Intelligence Platform for WooCommerce.
- In Product Metrics, create a WooCommerce connection and copy the one-time setup token.
- In WordPress, go to WooCommerce Product Metrics, paste the token and select Connect store.
- Under WooCommerce Settings Orders & product data, check your paid order statuses and cost fields, then save. The recommended settings work for most stores.
FAQ
-
Do I need a Product Metrics account?
-
Yes. The plugin is the connection between your store and Product Metrics.
-
Yes. Product Metrics reads visitors’ choices from the major consent platforms and treats consent as not given until a visitor opts in. Until then, events are sent without visitor IDs, email hashes or advertising cookies; the campaign parameters in the page address still travel with that page’s events.
-
Which costs can I use?
-
Product costs from WooCommerce’s built-in cost of goods field or from a custom product field, and payment fees and shipping costs from custom order fields. You choose the fields under WooCommerce Settings Orders & product data.
-
What happens when I disconnect or delete the plugin?
-
Disconnect store removes the connection in Product Metrics and cleans up the webhooks and credentials the plugin created. Deleting the plugin also asks Product Metrics to remove the connection, then removes the plugin’s settings, credentials and database tables from your site. Deactivating only pauses the plugin, so you can pick up where you left off.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ProductMetrics Profit Intelligence Platform for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “ProductMetrics Profit Intelligence Platform for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.18
- Renamed to ProductMetrics Profit Intelligence Platform for WooCommerce.
- Saving the settings checks the settings form’s security token.
1.0.17
- First release on WordPress.org as Product Metrics.
- The connection page and settings are translatable.
- Deleting the plugin removes its settings and database tables from your site.
- Pending consent withdrawals keep retrying after the plugin is reactivated.
