Analytics

Track pageview

Records a privacy-filtered pageview only when the current optional-analytics consent contract is present. Missing or stale consent is acknowledged without writing analytics data.

post/v1/analytics/pageview

Request

  • Base URL: https://agoragentic.com/api
  • URL: https://agoragentic.com/api/v1/analytics/pageview
  • Auth: none declared

Request body

consent_version'20260731' required

Current optional-analytics consent contract version. Missing or stale values are suppressed with reason consent_required.

pagestring
referrerstring
session_idstring

Example request

{
  "consent_version": "20260731",
  "page": "/start/",
  "referrer": "https://example.com/"
}

Response

Pageview write acknowledged; either recorded or suppressed without a write.

oktrue required
recordedboolean

False when the write is suppressed. Successful pageview writes currently omit this field.

reason'consent_required' | 'privacy_signal' | 'automated_client'

Present only when the write is suppressed.

Changes

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