Skip to main content

Profit Optimization for Meta

Send profit data to Meta as a custom event so you can optimize your campaigns on profitability instead of revenue.

Written by Pico
Updated today

With Profit Optimization, TrackBee sends a custom event to Meta that includes the profit value of each conversion — not just the revenue. This allows you to optimize your Meta campaigns on actual profitability, giving you a more accurate picture of your return on ad spend.


How It Works

When Profit Optimization is enabled, TrackBee calculates the profit for each order by subtracting the cost of goods from the order revenue. This profit value is then sent to Meta as a custom event alongside your regular conversion data.

TrackBee determines the cost of goods in the following way:

  • From Shopify: If a product has a cost per item set in Shopify, TrackBee will use that value to calculate the profit.

  • Fallback cost of goods: If a product does not have a cost per item set in Shopify, TrackBee will use the fallback percentage you configure in your settings. For example, if you set the fallback to 30%, TrackBee will treat 30% of the product's revenue as cost and send the remaining 70% as profit.

This means you don't need to have cost data for every single product — the fallback ensures that all orders include a profit value.


How to Enable Profit Optimization

  1. Log in to your TrackBee account

  2. Go to Stores and select your store

  3. Find the Profit Optimization toggle and switch it on

  4. Set your Fallback cost of goods percentage — this will be used for any products that don't have a cost per item in Shopify

  5. Save your changes

Once enabled, TrackBee will automatically start sending profit events to Meta.


Setting the Right Fallback Percentage

The fallback cost of goods is used whenever a product in Shopify does not have a cost per item filled in. Choose a percentage that best reflects your average cost of goods across those products.

For example, if your products typically have a 30% cost margin, set the fallback to 30%. TrackBee will then report 70% of the revenue as profit for those products.

Tip: For the most accurate profit data, we recommend filling in the cost per item directly in Shopify for as many products as possible. The fallback is a safety net — not a replacement.


Using Profit Data in Meta

Once TrackBee is sending profit events, you can use this data inside Meta Ads Manager to optimize your campaigns. Instead of optimizing purely on revenue or ROAS, you can now factor in your actual margins — helping you focus your budget on the campaigns that are truly profitable.


Good to Know

  • Profit Optimization currently sends data to Meta.

  • The profit event is sent alongside your regular conversion events — it does not replace them.

  • If a product has a cost per item in Shopify, that value always takes priority over the fallback percentage.

  • Changing your fallback percentage only affects future orders. It does not recalculate previously sent events.


Need Help?

If you have questions about setting up Profit Optimization or choosing the right fallback percentage, reach out to our support team — we're happy to help.

Did this answer your question?