Profile Analytics
Get Google My Business Analytics
This API retrieves a specific location's profile analytics data from Google Business Profile (GBP).
get/locations/{locationId}/google-analytics
Request
- Base URLhttps://api.synup.com/api/v4
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
locationIdstring required
Example:TG9jYXRpb246MTI5Njkw
Location ID
Query parameters
fromDatestring date
Example:2018-01-01
Start date of date range filter (YYYY-MM-DD)
toDatestring date
Example:2018-12-31
End date of date range filter (YYYY-MM-DD)
Headers
Authorizationstring required
API key for authentication
Response
Successful response
Example response
{
"data": {
"googleInsights": {
"directionsAction": [
{
"startTime": "2018-11-13T00:00:00+00:00",
"value": 20
}
],
"maps": [
{
"startTime": "2018-11-13T00:00:00+00:00",
"value": 20
}
],
"phoneAction": [
{
"startTime": "2018-11-13T00:00:00+00:00",
"value": 20
}
],
"search": [
{
"startTime": "2018-11-13T00:00:00+00:00",
"value": 20
}
],
"websiteAction": [
{
"startTime": "2018-11-13T00:00:00+00:00",
"value": 20
}
],
"total": [
{
"startTime": "2018-11-13T00:00:00+00:00",
"value": 20
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.