Connect
Connect the chosen Google Analytics property
Changed onFor headless flows. Connects the property the user picked as a googleanalytics account and returns where to send the user next.
- On success: your redirect_url with connected=googleanalytics, profileId, accountId and username.
- When the connect was refused (for example a billing block): an error.
Consumes the pendingDataToken; a refused or failed attempt leaves it usable for a retry.
Send your API key (or connect token) for the same profile with a headless token.
post/v1/connect/googleanalytics/select-property
Request
- Base URLhttps://zernio.com/api
- URLhttps://zernio.com/api/v1/connect/googleanalytics/select-property
- Auth
- HTTP bearer
- or API key in header X-Connect-Token
Request body
Example request
{
"propertyId": "312456789"
}Response
The property is connected, or the connect was refused with a reason in redirect_url
Example response
{
"account": {
"platform": "googleanalytics"
}
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info