Set up WooCommerce COGS for accurate Profit on Ad Spend

Profit on Ad Spend is only as good as your cost data. This guide walks through capturing COGS in WooCommerce and shows the accuracy jump once it is mapped.

By Catrinoiu Barna Alex Alin, Founder6 min read

Founder of Profit Bid. Builds Profit on Ad Spend tracking and profit-based bidding for ecommerce merchants and agencies.

Live profit view

See Profit on Ad Spend vs revenue-only reporting

Profit Bid connects store costs to ad spend so you bid on margin — not vanity Return on Ad Spend.

Profit on Ad Spend accuracy before vs after COGS mapping

% reported Profit on Ad Spend

Assumed margins flatter Profit on Ad Spend. Mapping real COGS and fees exposes the true — and actionable — number.

Track Profit on Ad Spend automatically from your store — upload profit conversions and scale winners with A/C/X labels.

Capturing cost in WooCommerce

Add a cost value to each product and variation — via a cost plugin or a custom meta field. Keep it updated as supplier prices change.

Then sync that cost alongside orders so each sale carries its true product cost.

Before vs after mapping COGS

Before COGS is mapped, Profit on Ad Spend defaults to a guess or a flat margin — usually optimistic. After mapping, Profit on Ad Spend reflects reality and bidding sharpens.

The accuracy gain is often large enough to change which SKUs you scale.

Step-by-step

Follow these in order — each step builds on the previous one.

  1. 1

    Add a cost field

    Store cost per product and variation in WooCommerce.

  2. 2

    Sync cost with orders

    Connect the store so each order carries its COGS.

  3. 3

    Add shipping & fees

    Include variable costs to reach contribution margin.

Frequently asked questions

Common questions about this topic — tap to read answers.

What if COGS varies by supplier batch?

Use your best current cost and update it as it changes. Even approximate COGS beats none; refine over time.

Do I need shipping cost too?

For full accuracy, yes — add shipping and fees to reach contribution margin, the ideal bidding base.

Pricing

14-day free trial available — start free · full pricing details