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:
Daily page follows
New page likes
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/Contact clicks
Page Followers
Page impressions
Page impressions (non-viral)
Page impressions (paid)
Page impressions (viral)
Page likes (total)
Page post engagements
Page posts impression (paid)
Page posts impressions
Page posts impressions (non-viral)
Page posts impressions (organic)
Page posts impressions (viral)
Page reach
Page reach (paid)
Page reach (viral)
Page unlikes (total)
Page views
Post clicks
Unique daily page follows
Unique daily page unfollows
Unique engaged followers
Unique page fans (paid & non-paid)
Unique page impressions (non-viral)
Unique page likes
Unique page posts impressions
Unique page posts impressions (non-viral)
Unique page posts impressions (organic)
Unique page posts impressions (paid)
Unique page posts impressions (viral)
Unique page unlikes
[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.