我正在尝试使用 Facebook API 获取 Facebook 转化和转化价值。我得到的结果是这样的:
actions: [
{
action_type: "onsite_conversion.post_save",
value: "29"
},
{
action_type: "like",
value: "1"
},
{
action_type: "link_click",
value: "1594"
},
{
action_type: "post",
value: "12"
},
{
action_type: "post_reaction",
value: "168"
},
{
action_type: "landing_page_view",
value: "1290"
},
{
action_type: "offsite_conversion.fb_pixel_add_payment_info",
value: "19"
},
{
action_type: "offsite_conversion.fb_pixel_add_to_cart",
value: "96"
},
{
action_type: "offsite_conversion.fb_pixel_initiate_checkout",
value: "14"
},
{
action_type: "offsite_conversion.fb_pixel_purchase",
value: "1"
},
{
action_type: "post_engagement",
value: "1803"
},
{
action_type: "page_engagement",
value: "1804"
},
{
action_type: "add_payment_info",
value: "19"
},
{
action_type: "omni_add_to_cart",
value: "96"
},
{
action_type: "omni_initiated_checkout",
value: "14"
},
{
action_type: "omni_purchase",
value: "1"
},
{
action_type: "add_to_cart",
value: "96"
},
{
action_type: "initiate_checkout",
value: "14"
},
{
action_type: "purchase",
value: "1"
}
],
有没有一种方法我只能获取购买数量和购买转换值,而不是这个长数组或只能获取特定值的语法。我检查了 facebook api 参数网站,但没有我需要的文档。我什至检查了有关堆栈溢出的其他帖子,但我没有找到任何有关此的信息。
我扫描了文档,我认为这是获得转换值的唯一方法。