PixelYourSite WooCommerce Cost of Goods Addon
The PixelYourSite WooCommerce Cost of Goods Addon is a premium extension for WooCommerce stores that lets you record product costs, calculate order profit automatically, and send profit-based values to your Facebook Pixel via PixelYourSite. It turns your analytics from simple revenue tracking into real profitability tracking, directly inside WordPress.
What does PixelYourSite WooCommerce Cost of Goods Addon do?
This WooCommerce cost of goods plugin is designed to help you understand how much you actually earn from every sale, not just how much you sold. It allows you to:
- Add a Cost of Goods (COG) value to your WooCommerce products
- Automatically calculate profit per order (price minus cost)
- Backfill and calculate profit for existing (old) orders, not just new ones
- Use profit as the Facebook Pixel event value when tracking conversions with PixelYourSite
Instead of optimizing ads based only on order totals, you can optimize based on real profit, which is far more meaningful for scaling campaigns.
Key features of PixelYourSite WooCommerce Cost of Goods Addon
Flexible ways to add Cost of Goods
The add-on gives you multiple ways to define your product costs so it works for both small and large catalogs:
- Manual COG per product – set cost directly on individual products
- Category-based rules – apply a cost rule to all products in a category
- Global rule – define a default cost for products without a specific value
- CSV export/import – export products to CSV, add or edit costs in bulk, then import them back
- WooCommerce built-in import support – fill the COG field using the standard WooCommerce import tool
- WP All Import support – map and import COG values via WP All Import for advanced workflows.
This flexibility makes it practical whether you manage a few simple products or a large, frequently changing catalog.
Automatic profit calculation for every order
Once costs are in place, the PixelYourSite WooCommerce Cost of Goods Addon automatically handles profit calculations:
- Existing orders – run a dedicated process to compute profit for past orders based on the stored COG
- New orders – profit is calculated as orders are created, with no manual work
- Recalculate button – if you change costs later, you can recalculate profit for any order with a single action.
This means you always have an up-to-date view of margin at the order level, even as your prices or costs change over time.
Cost & profit analytics inside WooCommerce
The add-on adds dedicated Cost of Goods analytics inside WooCommerce, so you can monitor your margins without leaving your store dashboard:
- New “Cost of Goods” section under WooCommerce Analytics
- Overview of revenue, cost, and profit across orders
- Better visibility into which products, categories, or campaigns are truly profitable.
Having this data next to your standard WooCommerce reports makes it much easier to make data-driven decisions about pricing, stock, and promotions.
Deep integration with PixelYourSite & Facebook Pixel
One of the main strengths of this add-on is its tight integration with PixelYourSite and Facebook/Meta tracking:
- Use profit as the value sent with WooCommerce-related Facebook Pixel events (for example Purchase)
- Configure PixelYourSite so that the value parameter is “price minus cost” rather than full order total
- Optionally send both TOTAL and PROFIT as separate events, such as:
- TOTAL as the Purchase event value
- PROFIT as the CompleteRegistration (or other) event value, sent server-side so it’s not visible in the browser.
This lets you optimize Facebook campaigns for what actually matters: profitable conversions, not just high revenue that might include low-margin or loss-making items.
Typical use cases
The PixelYourSite WooCommerce Cost of Goods Addon is particularly useful if you:
- Run performance marketing and need to know which campaigns generate the most profit
- Manage a store with varying margins across products or categories
- Want to move from “gut feeling” to data-driven decisions about scaling ads
- Need a simple way to track COGS and profit in WooCommerce without external spreadsheets
- Rely heavily on PixelYourSite and Facebook Pixel for conversion tracking and remarketing
From small D2C brands to larger WooCommerce shops, this add-on bridges the gap between eCommerce and marketing analytics.
Benefits for WooCommerce store owners
Using this WooCommerce cost of goods plugin alongside PixelYourSite can help you:
- See true profitability per order and across your store
- Optimize ad spend by feeding profit (not just revenue) into Facebook/Meta’s algorithms
- Identify unprofitable products or campaigns early and adjust strategy
- Keep all your cost and profit data inside WordPress, without maintaining external tools
- Simplify reporting for team members, accountants, or marketing partners
Who is PixelYourSite WooCommerce Cost of Goods Addon for?
The PixelYourSite WooCommerce Cost of Goods Addon is ideal for:
- WooCommerce stores actively running Facebook or Meta ads
- Brands focused on ROAS, CPA, and profit-based optimization
- Agencies managing multiple WooCommerce clients with PixelYourSite installed
- Merchants who want built-in cost and profit analytics without complex BI tools
If you’re serious about understanding which sales actually make you money—and you’re already using PixelYourSite for tracking—adding the PixelYourSite WooCommerce Cost of Goods Addon gives you the missing piece: accurate, automated profit tracking connected directly to your advertising and analytics.
