Get Analytics Config
GET/api/widget/analytics-config
Return analytics tracking configuration for a tenant's embedded widget.
Validates that the tenant has an active visitor_identity service meter. Returns analytics host, write key, and tracking script URL if enabled. Returns { enabled: false } otherwise.
facebook_pixels is returned regardless of the enabled gates: the
browser Meta Pixel is part of the Facebook CAPI integration and must load
whenever CAPI is on — it does not depend on the visitor-identity meter or
tenant balance (fbq costs us nothing to serve).
Public endpoint — no auth required.
Request
Responses
- 200
- 422
Successful Response
Validation Error