Add your additional costs
Add the shipping, handling, returns and payment costs your store can't report, so Product Metrics can send profit for POAS bidding.
Product costs come from your store platform. Shipping, handling, returns and payment fees come from you. The four profit conversion actions (and the Meta and ChatGPT Ads profit events) need both: profit = revenue − product costs − additional costs.
You activate the costs in the app: an assistant can read them back and help you choose the values.
Prerequisites
- A connected store linked to a property.
- Write access to Tracking (editor or admin): see Before you start.
Set it up with AI
Connect your assistant
First time? Add the Product Metrics MCP server to your assistant, then paste the prompt below.
In Claude, choose Add custom connector; in ChatGPT, Settings → Apps & Connectors. Paste this URL:
https://www.productmetrics.io/mcpClaude Code: run this in your terminal.
claude mcp add --transport http product-metrics https://www.productmetrics.io/mcpPaste the prompt into your assistant.
Check which additional costs are active for my store in Product Metrics. Compare them with the prefilled defaults, ask me what my shipping, handling, returns and payment fees really are, and tell me what to change before I select Activate additional costs.Check which additional costs are active for my store in Product Metrics. Compare them with the prefilled defaults, ask me what my shipping, handling, returns and payment fees really are, and tell me what to change before I select Activate additional costs.Check which additional costs are active for my store in Product Metrics and compare them with the prefilled defaults, then tell me what to change in the app before I activate them. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first).Check which additional costs are active for my store in Product Metrics and compare them with the prefilled defaults, then tell me what to change in the app before I activate them. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first).In the app
1. Open Add your additional costs
Open Tracking. Under Complete your tracking setup, open Add your additional costs.
2. Check the prefilled defaults
Change what differs for your store. Each amount is in the currency shown next to its field.
- Outbound shipping, Return shipping
- Pick and pack base, Pick and pack per unit, Fulfillment per unit, Return processing per unit
- External payment fixed cost and External payment (%)
- Restocked value loss (%) and Not restocked value loss (%)
- Product cost fallback (%): only for order lines without a product cost from your platform. Enter 0 to 100; 0% is allowed.
3. Activate them
Select Activate additional costs.
You should see the Profit tracking section say your additional costs are active. Until then, the profit actions send no profit.
4. Change them later, or per country
Open Tracking → Profit tracking. Under Active policy and overrides you can change every value, add a country override for outbound and return shipping, and select Activate margin policy.
There the app labels your additional costs Margin policy; it is the same set of costs.
Where each cost comes from
| Platform | Product cost | What you add |
|---|---|---|
| Shopify | Shopify | Shipping, handling, returns, payment fees |
| WooCommerce | WooCommerce Core COGS or a product meta key | The rest; payment and actual shipping cost can also come from order meta keys |
| Magento | The cost on each Magento order item | Shipping, handling, returns, payment fees |
| Lightspeed | The cost price on each order line | The rest, including payment fees (Lightspeed has none) |
| Shopware | The purchase price on each order line | Payment fees, returns and the rest |
| Cloudflare | None: website orders carry no product cost | Product cost fallback (%) plus all additional costs |
On Cloudflare Tracking, profit for POAS bidding is built entirely from Product cost fallback (%) and your additional costs. Set the fallback.
Where next
Developers: read the active costs with the CLI or the API, and save them with productmetrics tracking update-margin-policy (API).