Google Analytics
App · Analytics · 22 actions
See your website or app's traffic: visitors right now, top pages, events, countries and engagement over any dates, or a report of your own.
Actions
| Action | What it does |
|---|---|
| Check compatibility | Check that the dimensions and metrics you chose can go in one report together before you run it, since Google Analytics doesn't allow every pairing. |
| Get account | Get an account's name, region and when it was made. |
| Get active users right now | See how many people are using your website or app right now, updated in real time. |
| Get audience export | Get one audience export's details: which audience it's of, whether it's ready to read, and how many users it holds. |
| Get audience export rows | Get the users in an audience export, a page at a time. |
| Get engagement overview | See daily totals for users, page views, and time spent on your site over a date range. |
| Get event counts | See how many times each thing Google Analytics tracks happened over a date range, such as page views, scrolls and clicks. |
| Get property | Get a property's name, time zone, currency and industry. |
| Get sessions by country | See how many visits came from each country over a date range. |
| Get top pages | See which pages got the most views over a date range. |
| List accounts and properties | List the Google Analytics accounts the connected account can see, with the properties in each. |
| List audience exports | List the audience exports saved for a property. |
| List data streams | List where a property's data comes from: each website or app sending it data (a data stream), with its measurement ID. |
| List dimensions and metrics | List everything you can measure (metrics) and break numbers down by (dimensions) in a report on this property, including your own custom ones, with what each means. |
| List key events | List the events a property counts as key events (called conversions before 2024), such as purchase or sign_up, with when each was marked and how it is counted. |
| List properties | List the properties in an account. |
| Run pivot report | Run a report laid out like a spreadsheet pivot table, with one dimension down the side and another across the top, such as countries by device over a date range. |
| Run realtime report | See what's happening on your website or app in the last 30 minutes, such as active users by page or by country. |
| Run report | Get any numbers Google Analytics keeps about your website or app over a date range, such as visitors by country or views by page. |
| Run several pivot reports | Run up to five pivot-table reports on one property in a single step, each written as a Google Analytics pivot report request. |
| Run several reports | Run up to five reports on one property in a single step, each written as a Google Analytics report request. |
| Traffic summary with change | Get users, sessions, page views and new users for last week, last month or the last 7 or 28 days, each with the period before it and how much it went up or down, plus the five most viewed pages. |
Check compatibility
Check that the dimensions and metrics you chose can go in one report together before you run it, since Google Analytics doesn't allow every pairing.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Dimensions
dimensionslist - How to break the numbers down, such as by country, page or day. Leave blank for totals.
- Metrics
metricslistRequired - What to count or measure, such as active users, page views or sessions.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"rowCount": 0,
"rows": []
}
}Get account
Get an account's name, region and when it was made.
Inputs
- Account
account_idtextRequired - The Google Analytics account. Pick one, or enter its number, which Google Analytics shows under Admin > Account details.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"rowCount": 0,
"rows": []
}
}Get active users right now
See how many people are using your website or app right now, updated in real time.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
Outputs
metadataobject- The dimension and metric names that make up the columns.
rowCountnumber- Total number of rows that matched the report.
rowslist- The report data, one object per row.
Example output
{
"metadata": {
"dimensions": [],
"metrics": [
"activeUsers"
]
},
"rowCount": 1,
"rows": [
{
"activeUsers": "42"
}
]
}Get audience export
Get one audience export's details: which audience it's of, whether it's ready to read, and how many users it holds.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Audience export
export_idtextRequired - The audience export. Pick one, or use the ID that List audience exports gave.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"rowCount": 0,
"rows": []
}
}Get audience export rows
Get the users in an audience export, a page at a time. The export has to have finished being made.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Audience export
export_idtextRequired - The audience export. Pick one, or use the ID that List audience exports gave.
- Rows to skip
offsetnumber - How many users to skip, to get the ones after those you already have. Leave blank to start at the first.At least 0.
- How many
limitnumber - The most users to return at once. Leave blank for Google Analytics' default.From 1 to 250000.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"rowCount": 0,
"rows": []
}
}Get engagement overview
See daily totals for users, page views, and time spent on your site over a date range.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Start date
start_datedateRequired - The first day to include. Use a calendar date like 2024-01-01, or a relative value like 7daysAgo, yesterday, or today.
- End date
end_datedateRequired - The last day to include. Use a calendar date like 2024-01-31, or a relative value like today or yesterday.
Outputs
metadataobject- The dimension and metric names that make up the columns.
rowCountnumber- Total number of rows that matched the report.
rowslist- The report data, one object per row.
Example output
{
"metadata": {
"dimensions": [
"date"
],
"metrics": [
"totalUsers",
"screenPageViews",
"userEngagementDuration"
]
},
"rowCount": 7,
"rows": [
{
"date": "20240115",
"screenPageViews": "5000",
"totalUsers": "1000",
"userEngagementDuration": "36000"
}
]
}Get event counts
See how many times each thing Google Analytics tracks happened over a date range, such as page views, scrolls and clicks.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Start date
start_datedateRequired - The first day to include. Use a calendar date like 2024-01-01, or a relative value like 7daysAgo, yesterday, or today.
- End date
end_datedateRequired - The last day to include. Use a calendar date like 2024-01-31, or a relative value like today or yesterday.
Outputs
metadataobject- The dimension and metric names that make up the columns.
rowCountnumber- Total number of rows that matched the report.
rowslist- The report data, one object per row.
Example output
{
"metadata": {
"dimensions": [
"eventName"
],
"metrics": [
"eventCount"
]
},
"rowCount": 3,
"rows": [
{
"eventCount": "10000",
"eventName": "page_view"
},
{
"eventCount": "5000",
"eventName": "scroll"
},
{
"eventCount": "2500",
"eventName": "click"
}
]
}Get property
Get a property's name, time zone, currency and industry.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"name": "properties/123"
}
}Get sessions by country
See how many visits came from each country over a date range.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Start date
start_datedateRequired - The first day to include. Use a calendar date like 2024-01-01, or a relative value like 7daysAgo, yesterday, or today.
- End date
end_datedateRequired - The last day to include. Use a calendar date like 2024-01-31, or a relative value like today or yesterday.
Outputs
metadataobject- The dimension and metric names that make up the columns.
rowCountnumber- Total number of rows that matched the report.
rowslist- The report data, one object per row.
Example output
{
"metadata": {
"dimensions": [
"country"
],
"metrics": [
"sessions"
]
},
"rowCount": 3,
"rows": [
{
"country": "United States",
"sessions": "5000"
},
{
"country": "United Kingdom",
"sessions": "2500"
},
{
"country": "Canada",
"sessions": "1200"
}
]
}Get top pages
See which pages got the most views over a date range.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Start date
start_datedateRequired - The first day to include. Use a calendar date like 2024-01-01, or a relative value like 7daysAgo, yesterday, or today.
- End date
end_datedateRequired - The last day to include. Use a calendar date like 2024-01-31, or a relative value like today or yesterday.
- Number of pages
limitnumber - How many pages to list, most viewed first. Leave blank for 10.
Outputs
metadataobject- The dimension and metric names that make up the columns.
rowCountnumber- Total number of rows that matched the report.
rowslist- The pages, most viewed first, one object per page.
Example output
{
"metadata": {
"dimensions": [
"pagePath"
],
"metrics": [
"screenPageViews"
]
},
"rowCount": 3,
"rows": [
{
"pagePath": "/",
"screenPageViews": "5000"
},
{
"pagePath": "/about",
"screenPageViews": "2500"
},
{
"pagePath": "/contact",
"screenPageViews": "1200"
}
]
}List accounts and properties
List the Google Analytics accounts the connected account can see, with the properties in each.
Inputs
- How many
page_sizenumber - The most to return at once. Leave blank for Google Analytics' default.From 1 to 200.
- Next page
page_tokentext - Leave blank for the first page. For the page after, use the Next page value (nextPageToken) this step gave last time.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"accountSummaries": []
}
}List audience exports
List the audience exports saved for a property. An audience export is a list of the users in one of your Google Analytics audiences at the moment it was made; this step can't make one.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- How many
page_sizenumber - The most to return at once. Leave blank for Google Analytics' default.From 1 to 1000.
- Next page
page_tokentext - Leave blank for the first page. For the page after, use the Next page value (nextPageToken) this step gave last time.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"audienceExports": []
}
}List data streams
List where a property's data comes from: each website or app sending it data (a data stream), with its measurement ID.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- How many
page_sizenumber - The most to return at once. Leave blank for Google Analytics' default.From 1 to 200.
- Next page
page_tokentext - Leave blank for the first page. For the page after, use the Next page value (nextPageToken) this step gave last time.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"dataStreams": []
}
}List dimensions and metrics
List everything you can measure (metrics) and break numbers down by (dimensions) in a report on this property, including your own custom ones, with what each means.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"dimensions": [],
"metrics": []
}
}List key events
List the events a property counts as key events (called conversions before 2024), such as purchase or sign_up, with when each was marked and how it is counted.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- How many
page_sizenumber - The most to return at once. Leave blank for Google Analytics' default.From 1 to 200.
- Next page
page_tokentext - Leave blank for the first page. For the page after, use the Next page value (nextPageToken) this step gave last time.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"keyEvents": [
{
"countingMethod": "ONCE_PER_EVENT",
"createTime": "2026-10-01T12:00:00Z",
"custom": false,
"deletable": false,
"eventName": "purchase",
"name": "properties/123456789/keyEvents/987654321"
}
]
}
}List properties
List the properties in an account. A property holds the data for one website or app, or a few together.
Inputs
- Account
account_idtextRequired - The Google Analytics account. Pick one, or enter its number, which Google Analytics shows under Admin > Account details.
- How many
page_sizenumber - The most to return at once. Leave blank for Google Analytics' default.From 1 to 200.
- Next page
page_tokentext - Leave blank for the first page. For the page after, use the Next page value (nextPageToken) this step gave last time.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"properties": []
}
}Run pivot report
Run a report laid out like a spreadsheet pivot table, with one dimension down the side and another across the top, such as countries by device over a date range.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Start date
start_datedateRequired - The first day to include.
- End date
end_datedateRequired - The last day to include.
- Dimensions
dimensionslist - How to break the numbers down, such as by country, page or day. Leave blank for totals.
- Metrics
metricslistRequired - What to count or measure, such as active users, page views or sessions.
- Pivots
pivotslistRequired - How to lay out the table, as a list of Google Analytics pivot rules in JSON: each names the dimensions it spreads across and how many of each to show.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"rowCount": 0,
"rows": []
}
}Run realtime report
See what's happening on your website or app in the last 30 minutes, such as active users by page or by country.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Metrics
metricslistRequired - What to count, such as active users, views or event count, using Google Analytics' names for them (activeUsers, screenPageViews, eventCount).One or more of:
activeUsers,eventCount,screenPageViews. - Dimensions
dimensionslist - How to break the numbers down, such as by country or page, using Google Analytics' names (country, unifiedScreenName). Leave blank for totals.One or more of:
appVersion,audienceId,audienceName,city,country,countryId,deviceCategory,eventName,platform,streamId,streamName,unifiedScreenName. - How many
limitnumber - The most rows to return, up to 250,000. Leave blank for up to 10,000.From 1 to 250000.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"rowCount": 0,
"rows": []
}
}Run report
Get any numbers Google Analytics keeps about your website or app over a date range, such as visitors by country or views by page. Choose what to measure (metrics) and how to break it down (dimensions).
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Start date
start_datedateRequired - The first day to include.
- End date
end_datedateRequired - The last day to include.
- Dimensions
dimensionslist - How to break the numbers down, such as by country, page or day. Leave blank for totals.
- Metrics
metricslistRequired - What to count or measure, such as active users, page views or sessions.
- How many
limitnumber - The most rows to return, up to 250,000. Leave blank for up to 10,000.From 1 to 250000.
- Rows to skip
offsetnumber - How many rows to skip, to get the rows after ones you already have. Leave blank to start at the first row.At least 0.
- Only rows where
dimension_filterobject - Optional, for experts: a Google Analytics dimension filter, as JSON, to keep only some rows, such as one country.
- Only totals where
metric_filterobject - Optional, for experts: a Google Analytics metric filter, as JSON, to keep only rows whose numbers match, such as more than 100 sessions.
- Sort by
order_byslist - Optional, for experts: how to sort the rows, as a list of Google Analytics sort rules in JSON. Leave blank for Google Analytics' own order.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"rowCount": 0,
"rows": []
}
}Run several pivot reports
Run up to five pivot-table reports on one property in a single step, each written as a Google Analytics pivot report request.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Reports
requestslistRequired - Up to five pivot reports, as a list of Google Analytics pivot report requests in JSON. Leave the property out of each one: this step adds it.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"rowCount": 0,
"rows": []
}
}Run several reports
Run up to five reports on one property in a single step, each written as a Google Analytics report request.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Reports
requestslistRequired - Up to five reports, as a list of Google Analytics report requests in JSON. Leave the property out of each one: this step adds it.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"rowCount": 0,
"rows": []
}
}Traffic summary with change
Get users, sessions, page views and new users for last week, last month or the last 7 or 28 days, each with the period before it and how much it went up or down, plus the five most viewed pages. Ready to post as a weekly or monthly report.
Inputs
- Property
property_idtextRequired - The website or app's property in Google Analytics. Pick one, or enter its number, which Google Analytics shows under Admin > Property details.
- Period
periodtext - Which days to sum up. Each is compared with the same number of days just before it: last week (Monday to Sunday) with the week before, last month with the month before. Days are counted in the property's time zone, up to and including yesterday. Leave blank for the last 7 days.One of:
last_7_days(Last 7 days),last_28_days(Last 28 days),last_week(Last week (Monday to Sunday)),last_month(Last month). Default:last_7_days.
Outputs
new_usersnumber- How many people visited for the first time in the period, a plain number.
new_users_changenumber- The change from the period before, as a percentage to one decimal place, such as 12.5 or -3.0. Empty when the period before had none.
new_users_change_displaytext- The change in words, such as "up 12.5%", "down 3.0%", "no change", or "new this period" when the period before had none, so it reads well after the number: "12,480 (up 12.5%)".
new_users_displaytext- The same number of people visited for the first time with thousands separators, such as 12,480, ready to put in a message.
new_users_previousnumber- How many people visited for the first time in the period before it, of the same length, a plain number.
page_viewsnumber- How many pages were viewed in the period, a plain number.
page_views_changenumber- The change from the period before, as a percentage to one decimal place, such as 12.5 or -3.0. Empty when the period before had none.
page_views_change_displaytext- The change in words, such as "up 12.5%", "down 3.0%", "no change", or "new this period" when the period before had none, so it reads well after the number: "12,480 (up 12.5%)".
page_views_displaytext- The same number of pages were viewed with thousands separators, such as 12,480, ready to put in a message.
page_views_previousnumber- How many pages were viewed in the period before it, of the same length, a plain number.
periodtext- The period chosen, such as last_week.
period_displaytext- The period ready to read, such as Nov 3 – Nov 9, 2026.
period_endtext- The period's last day, such as 2026-11-09.
period_starttext- The period's first day, such as 2026-11-03.
previous_period_displaytext- The period it is compared with, ready to read, such as Oct 27 – Nov 2, 2026.
previous_period_endtext- The last day of the period it is compared with, such as 2026-11-02.
previous_period_starttext- The first day of the period it is compared with, such as 2026-10-27.
sessionsnumber- How many visits (sessions) there were in the period, a plain number.
sessions_changenumber- The change from the period before, as a percentage to one decimal place, such as 12.5 or -3.0. Empty when the period before had none.
sessions_change_displaytext- The change in words, such as "up 12.5%", "down 3.0%", "no change", or "new this period" when the period before had none, so it reads well after the number: "12,480 (up 12.5%)".
sessions_displaytext- The same number of visits (sessions) there were with thousands separators, such as 12,480, ready to put in a message.
sessions_previousnumber- How many visits (sessions) there were in the period before it, of the same length, a plain number.
top_pageslist- The five most viewed pages in the period, most first.
top_pages_texttext- Beta. The top pages as numbered lines ready to post, one per page, such as "1. Home (/): 4,210 views"; empty when no page was viewed.
usersnumber- How many people visited (Users in Google Analytics) in the period, a plain number.
users_changenumber- The change from the period before, as a percentage to one decimal place, such as 12.5 or -3.0. Empty when the period before had none.
users_change_displaytext- The change in words, such as "up 12.5%", "down 3.0%", "no change", or "new this period" when the period before had none, so it reads well after the number: "12,480 (up 12.5%)".
users_displaytext- The same number of people visited (Users in Google Analytics) with thousands separators, such as 12,480, ready to put in a message.
users_previousnumber- How many people visited (Users in Google Analytics) in the period before it, of the same length, a plain number.
Example output
{
"new_users": 2870,
"new_users_change": 0.0,
"new_users_change_display": "no change",
"new_users_display": "2,870",
"new_users_previous": 2870,
"page_views": 14250,
"page_views_change": 8.8,
"page_views_change_display": "up 8.8%",
"page_views_display": "14,250",
"page_views_previous": 13100,
"period": "last_week",
"period_display": "Nov 2 \u2013 Nov 8, 2026",
"period_end": "2026-11-08",
"period_start": "2026-11-02",
"previous_period_display": "Oct 26 \u2013 Nov 1, 2026",
"previous_period_end": "2026-11-01",
"previous_period_start": "2026-10-26",
"sessions": 5830,
"sessions_change": -3.0,
"sessions_change_display": "down 3.0%",
"sessions_display": "5,830",
"sessions_previous": 6010,
"top_pages": [
{
"page_path": "/",
"page_title": "Home",
"views": 4210,
"views_display": "4,210"
},
{
"page_path": "/pricing",
"page_title": "Pricing",
"views": 1980,
"views_display": "1,980"
},
{
"page_path": "/blog",
"page_title": "Blog",
"views": 1235,
"views_display": "1,235"
}
],
"top_pages_text": "1. Home (/): 4,210 views\n2. Pricing (/pricing): 1,980 views\n3. Blog (/blog): 1,235 views",
"users": 4120,
"users_change": 12.5,
"users_change_display": "up 12.5%",
"users_display": "4,120",
"users_previous": 3662
}