Facebook Pixel Stats获取/阅读

时间:2016-03-16 22:50:49

标签: facebook api facebook-graph-api

我的网站上有一个跟踪事件的Facebook Pixel。我在广告管理器信息中心看到,像素以分类的方式记录我的事件,即: PageView,ViewContent,InitiateCheckout等

enter image description here

虽然在记录统计信息时,我会在记录PageView时包含一些额外的参数,例如product_id may或其他内容,但至少我会知道它引用的是哪个product_id。

问题是Facebook广告信息中心没有显示任何额外参数,只显示计数字段。

enter image description here

在做了一些研究之后,我发现了link on Facebook Pixel Stats,他们声称:

  

使用Facebook Pixel Stats边缘获取像素统计信息。

我尝试使用图谱API资源管理器,甚至是iOS FB SDK(API Here),它们都返回一个空数据数组:

{
  "data": [
  ]
}

我尝试了多个参数组合,字段和其他所有内容都无济于事。

如果有人知道我是在寻找错误的地方,还是什么不知道,我感兴趣的是读取我追加到每个FB Pixel事件的“额外”参数我记录。谢谢!

2 个答案:

答案 0 :(得分:1)

您需要为其指定参数。 例如:

{fb_pixel_id}/stats?aggregation=url

答案 1 :(得分:0)

The answer is displayed for a specific period of time in the past - I would say 24 hours. You can use paging at the bottom of the json response for going back in time: use the link provided in the content of the field 'previous', and you can step back day by day.