KBog
KBog

Reputation: 4650

Facebook Pixel Stats GET / Reading

I have a Facebook Pixel on my website that is tracking events. I saw on the Ads Manager dashboard, that the pixel logs my events in a categorized way, i.e.: PageView, ViewContent, InitiateCheckout, etc.

enter image description here

Although when logging stats, I include some extra parameters like the product_id maybe or other things, that way when the PageView is being logged, at least I will know which product_id it refers to.

The problem is that the Facebook Ads Dashboard doesn't show any of the extra parameters, it only displays the Count field.

enter image description here

After doing some research, I found this link on Facebook Pixel Stats, where they claim:

Use the Facebook Pixel Stats edge to get pixel statistics.

I tried using the Graph API Explorer, and even the iOS FB SDK for it (API Here) they both return an empty data array:

{
  "data": [
  ]
}

I tried multiple parameter combinations, fields, and everything else to no avail.

If anyone knows whether I'm looking at the wrong place, or what not, all I'm interested in is reading those "extra" parameters that I'm appending to every FB Pixel event I log. Thank you!

Upvotes: 2

Views: 1261

Answers (2)

Green Owl
Green Owl

Reputation: 11

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.

Upvotes: 0

dalmate
dalmate

Reputation: 481

You need specifing the parameters for it. Example:

{fb_pixel_id}/stats?aggregation=url

Upvotes: 2

Related Questions