PixelYourSite WooCommerce Cost of Goods is a WordPress extension designed for online stores that use WooCommerce and the PixelYourSite tracking ecosystem. Its purpose is clear: to allow you to associate the real cost of each product with your tracking events so you can accurately know how much each sale costs you and, above all, how much real profit you generate.
If you invest in digital advertising, you know that platforms like Meta (Facebook), Google Analytics 4, and Google Ads often report the gross value of your transactions, which can give you a misleading picture of your profitability. This extension solves that problem by calculating the net profit of each order and sending that data to your tracking tools. So, instead of optimizing your campaigns based on gross revenue, you can optimize them based on the real margin you obtain.
Configuring product costs is flexible and simple. You can add the cost manually to each product or variation, create rules by category, set a global fallback rule, or import costs in bulk via CSV files or WooCommerce's native importer. The plugin is also compatible with WP All Import for those managing extensive catalogs.
One of its most notable features is the automatic calculation of profits for both new and historical orders. If you install the plugin when you already have recorded sales, you can run a script that recalculates the profit of your previous orders, establishing an immediate baseline for your reports. Additionally, it has a specific Cost of Goods section within WooCommerce analytics, where you can consult costs and profits clearly.
In the realm of advertising tracking, the extension allows you to use profit as the value of Facebook Pixel events, and even send the transaction total as the Purchase event value and profit as the CompleteRegistration event value. This lets you see both the money generated and the real profit in your advertising reports, with the option to send the profit event server-side only to keep your margin hidden from curious visitors.
In short, PixelYourSite WooCommerce Cost of Goods is the ideal tool for WooCommerce store owners, digital marketing specialists, and agencies that need to measure the real profitability of their campaigns and make decisions based on profit data, not just revenue.