v1Ressources/Statistiques de profil/getLister les objectifs de rapport d'un client
Lister les objectifs de rapport d'un client
Les objectifs du site web du client sur la page Rapports et si chacun compte comme action sur le site web. Par défaut, les événements clés GA4 et les objectifs Plausible comptent, mais pas les événements PostHog.
get
analytics:read/api/v1/clients/{id}/report-goalsParamètres de requête
idstringobligatoire
L'id du client.
Réponse
dataarray of objectfacultatif
providerstring (ga4 | plausible | posthog)facultatif
namestringfacultatif
countedbooleanfacultatif
kindstring (form | call | booking | other)facultatif
custombooleanfacultatif
last12Weeksnumberfacultatif
Erreurs
401Clé API manquante, invalide, expirée ou révoquée.
403La clé n'a pas la permission requise, ou n'est pas autorisée pour ce client/établissement.
404La ressource est introuvable, ou n'appartient pas à votre agence.
429Trop de requêtes. Réessayez après le nombre de secondes indiqué dans l'en-tête Retry-After.
get/api/v1/clients/{id}/report-goals
Votre clé API
id *
{}Guides qui utilisent cette ressource
- What Is a Local SEO API?A local SEO API measures how a business ranks in local search, with geo-grid rank tracking, profile analytics and AI visibility, not just backlinks.
- How to Add Local Marketing Features to Your SaaSAdd listings management, reviews, Google posts, profile analytics, rank tracking and AI visibility to a SaaS product with the Synup API, tenant by tenant.
- How to Build a Multi-Location Marketing DashboardBuild a multi-location marketing dashboard from the API's rollup endpoints, one call per panel, covering listings, reviews, rank, AI visibility and duplicates.
- How to Retrieve Google Business Profile Analytics via APIPull Google Business Profile analytics through an API, portfolio-wide and per location, with views, calls, direction requests and a maps-versus-search split.
- Retrieve Profile Analytics via APIPull Google Business Profile analytics with the Synup API, portfolio-wide or per location, with views, actions, calls and direction requests.