Calculating metrics
In this tutorial, you will learn how to calculate your own, custom metrics such as CVR, CTR, or CPA.
Video Tutorial
Instructions:
- Add Select Facebook Ad Account Ids node. Choose the relevant Facebook accounts.
- Add Fetch Facebook Insights node. Connect
ad_account_ids
sockets. Choose the desireddate_range
. Chooseadset
aslevel
. Add actionsadset_id
,adset_name
, andactions
fields.
- Add Input Any node. Insert the following formula template:
[ { "name": "ctr_link", "operator": "/", "pointer_a": "/actions_link_click", "pointer_b": "/impressions" }, { "name": "cpc", "operator": "/", "pointer_a": "/spend", "pointer_b": "/actions_link_click" }, { "name": "cvr_{{your_metric}}", "operator": "/", "pointer_a": "/{{your_metric}}", "pointer_b": "/actions_link_click" }, { "name": "cpa_{{your_metric}}", "operator": "/", "pointer_a": "/spend", "pointer_b": "/{{your_metric}}" } ]
Please note that one object in a list represents one formula. Modify it according to your metrics. You can use multiplication, addition, division, etc as operators.
- Add Calculate Metrics node. Connect
items
toinsights
. Connectcalculations
toany
.
Did this answer your question?
😞
😐
🤩
Last updated on August 6, 2021