Content Analytics

Proxy analytics event ingest with site auth validation

Changed on

Validates the site_auth field in the JSON body via SiteAuthValidator, resolves the active site, injects site_id into context, and asynchronously forwards the body to {DOT_ANALYTICS_BASE_URL}/v1/event/ingest. The dotCMS-side path is a fixed match; the upstream sub-path is not caller-controllable.

post/api/v1/analytics/content/event

Request

Request body

string required

Response

Successful upstream response

object required

dotCMS response envelope containing the upstream analytics data

Changes

    • breaking

      request body became required

    • breaking

      the request's body type changed from object to string

    • info

      api operation id fireUserCustomEvent removed and replaced with proxyAnalyticsEventRequest

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status