# Working with net profit
Profit is the money earned taking into account the costs of selling.
For example, if the cost of goods is 10,000 and you sold it for 15,000, then:
- Your revenue is 15,000
- Your net profit is 5,000
You can transmit profit upon conversion in various ways. As a result, you can:
- View personalization statistics in terms of profit
- Optimize personalizations for profit
Прибыль автоматически будет передана при перехвате:
- ECommerce целей Google Analytics
- ECommerce целей DataLayer (а следовательно, и Яндекс.Метрики)
# Ways to transmit profit
Profit can be transmitted as the NetProfit parameter in client parameters.
This can be done:
On your website via [JS function call] (/guide/integrations/js/custom-user-params.html#write-parameter).
The user parameter must be set at any time before the corresponding conversion is triggered.
By calling our API from your backend in the goal achievement method.
Profit will automatically be transmitted when intercepting:
- Google Analytics ECommerce goals
- DataLayer ECommerce goals (and therefore, Yandex.Metrica)
Finally, you can simply specify a default profit for the goal in the goal editor.
Profit sources have the following priorities (from highest to lowest):
- Revenue transmitted as a page parameter
- Revenue transmitted as a user parameter
- Default revenue specified for the goal
If you add the NetProfit parameter to the client parameter or page parameter,