Get public browser analytics configuration

Returns the public PostHog project token, ingestion host, the same-origin path the browser sends events to, environment, configured server hostname, Google Ads tag ID and Google Analytics measurement ID when set, or null when disabled. Browser analytics and replay start by default unless the visitor has turned them off. No personal API keys or secrets are returned.

get/api/analytics/config

Request

  • Base URL
    https://www.toma.com
  • URL
    https://www.toma.com/api/analytics/config
  • Auth
    none required

Response

Public analytics configuration, or null.

tokenstring required
hoststring required
apiHoststring required
environmentstring required
serverHoststring
googleAdsTagIdstring
googleAnalyticsMeasurementIdstring

Changes

No recorded changes to this operation across all 1 revision of this API.