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, engaged users, 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 tab views (logged in)
Page tab views (logged out)
Page total actions
Page cta clicks (logged in)
Page engaged users
Page consumptions
Page negative feedback
Page positive feedback
Page fans online
Page fans online per day
Page impressions
Page impressions (paid)
Page impressions (organic)
Page actions post reactions (like)
Page actions post reactions (love)
Page actions post reactions (wow)
Page actions post reactions (haha)
Page actions post reactions (sorry)
Page actions post reactions (anger)
Page fans
Page reach
[optional] aggregation_period

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

Selected options:
Day
Days_28
Week
[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.