GET_PAGE_METRICS_FACEBOOK

Get metrics such as impressions or reactions about your pages and aggregate results by day, week or month.

icon of Facebook PagesFacebook Pages
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
GET_PAGE_METRICS_FACEBOOK(username
[account_metrics]
[aggregation_period]
[date_range]
)
username

The username of your Facebook page. For example: "adidas".

[optional] account_metrics

One or more metrics to retrieve about the acccount. By default, you get metrics about tab views, page impressions, as well as positive and negative feedback about your page.

For a complete list of possible metrics, see the Facebook Insights API documentation.

Selected options:
Page actions post reactions (anger)
Page actions post reactions (haha)
Page actions post reactions (like)
Page actions post reactions (love)
Page actions post reactions (sorry)
Page actions post reactions (wow)
Page cta clicks (logged in)
Page fans
Page fans online
Page fans online per day
Page impressions
Page reach
Page reach (paid)
Page reach (viral)
Page negative feedback (by type)
Page post engagements
Page tab views (logged in)
Page tab views (logged out)
Page total engagament
Page Followers
Page CTA/Contact clicks
[optional] aggregation_period

Aggregation period of the data. For example: "day", "week", or "day_28".

Selected options:
Day
Days_28
Week
Lifetime
[optional] date_range

Date range to get insights for. Can be a period of up to 93 days.

For example: ">2020-11-01" or "[2019-01-01;2019-01-20]". By default, it gets the last two days.

Examples

GET_PAGE_METRICS_FACEBOOK("adidas") returns the list of metrics available for the "adidas" page for the last 2 days.