---
title: "Google My Business v4 metrics for a single location over a date range."
method: GET
path: "/api/v4/locations/{locationId}/google-analytics"
tags: ["Analytics"]
---

# Google My Business v4 metrics for a single location over a date range.

`GET /api/v4/locations/{locationId}/google-analytics`

Returns daily Google Business Profile interaction metrics for a location over a date range.

## Path parameters

- `locationId` union, required
  - integer — Raw numeric ID
  - string, base64-or-int — Base64-encoded Relay ID

## Query parameters

- `fromDate` string
- `toDate` string

## Response `200`

Successful response

- GoogleMetricV4 — Google My Business metrics including maps, search and actions.
  - `total` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `maps` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `search` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `websiteAction` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `directionsAction` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `phoneAction` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `directSearch` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `indirectSearch` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `bookings` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `foodOrders` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string
  - `foodMenuClicks` MetricDelta — Metric value with optional previous-period comparison.
    - `current` integer
    - `previous` integer
    - `diff` integer
    - `diffPercentage` number, float
    - `label` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Server error

---

[API](https://skmtc.net/listingsapi/apis/listings-api.md) · [All operations](https://skmtc.net/listingsapi/apis/listings-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/listingsapi/listings-api/revisions/9274a1eac380/schema)
