Update Analytics Consent

Record the user's cookie-banner decision on their account.

The Dodo webhook reports a purchase to GA only when this says "accepted", so a GA client id sent by the browser never counts as consent on its own.

put/api/me/analytics-consent

Request

  • Base URL: https://api.kdpcoloringbook.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.kdpcoloringbook.com/api/me/analytics-consent
  • Auth: HTTP bearer

Request body

decision'accepted' | 'rejected' required

Response

Successful Response

analytics_consent'accepted' | 'rejected' nullable
analytics_consent_atstring nullable

Changes

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