---
title: "Profile metrics for your business"
method: GET
path: "/presence_analytics/metrics"
tags: ["Presence analytics"]
---

# Profile metrics for your business

`GET /presence_analytics/metrics`

This endpoint lets you view the **Google Business Profile** analytics for all your businesses subscribed to
**Presence Management**.
The API allows you to select what data you're interested in, and how you want it aggregated (daily, monthly,
by business, etc). You can also filter the results to limit it to a certain date range, and to certain business.

Google Business Profile doesn't provide reliable data for the most recent 5 days.

You can choose the analytics you want to get among:
- impressions: desktop maps impressions, mobile maps impressions, desktop search impressions, and mobile search impressions
- actions: website link clicks, phone calls, and driving directions

You can use the following filters:
- by businesses (businesses id in list or not in list)
- by date (analytics before and/or after a date)
- by business query. Will return matches for the business name, zipcode or city
- by business city.

The response can be aggregated by:
- business id
- by date: either by day, week, month or year
- by both business id and date

The response can be ordered in ascending or descending order by any of the selected dimensions or metrics.
See examples for more details.

## Query parameters

- `metrics` 'business_impressions_desktop_maps' | 'business_impressions_desktop_search' | 'business_impressions_mobile_maps' | 'business_impressions_mobile_search' | 'business_direction_requests' | 'call_clicks' | 'website_clicks', required
- `dimensions` 'business' | 'day' | 'week' | 'month' | 'year'
- `order_by` '<object>' | '-<object>'
- `business__in` BusinessID[]
- `business__notin` BusinessID[]
- `city` string
- `query` string
- `filter_date__gte` string, datetime
- `filter_date__lte` string, datetime
- `page` integer
- `per_page` integer

## Response `200`

OK

- PresenceAnalyticsMetricsResponse
  - `page` integer — The current page number.
  - `count` integer — Total number of results available for the filters and dimensions requested.
  - `max_page` integer — Total number of pages available for this request.
  - `metrics` object[]
    - `business_impressions_desktop_maps` integer — Business impressions on Google Maps on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.
    - `business_impressions_mobile_maps` integer — Business impressions on Google Maps on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.
    - `business_impressions_desktop_search` integer — Business impressions on Google Search on Desktop devices. Multiple impressions by a unique user within a single day are counted as a single impression.
    - `business_impressions_mobile_search` integer — Business impressions on Google Search on Mobile devices. Multiple impressions by a unique user within a single day are counted as a single impression.
    - `business_direction_requests` integer — The number of times a direction request was requested to the business location.
    - `call_clicks` integer — Customers who call your business
    - `website_clicks` integer — Customers who click on your website link
    - `date` string — First day of the aggregation
    - `bucket` string — Time aggregation requested
    - `business_id` string — Business id

## Other responses

- `401` — You are not authenticated
- `403` — You are not allowed to perform this action

---

[API](https://skmtc.net/partoo/apis/partoo-rest-api.md) · [All operations](https://skmtc.net/partoo/apis/partoo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/partoo/partoo-rest-api/revisions/3652d8b1a8b3/schema)
