Rivier/ Reference/ compliance

The analytics mode for one visitor

post/compliance/center/analytics-rules/decide

The analytics mode for one visitor: region, browser signals, consent and the site's own setting go in; the mode, the reason and whether a prompt is needed come out.

Before you call

Credential
Authorization: Bearer $KEY
Scope
compliance:read
Mcp
rivier_compliance_analytics_decide
Graphql
Query.complianceAnalyticsRulesDecide
Sdk
compliance.analyticsRules.decide
Cli
compliance analytics rules decide

Request bodyapplication/json, required

  • countrystring or null
  • subdivisionstring or null
  • signalsobject
    • gpcboolean
    • dntboolean
  • consentstringrequired
    One of: none, granted, denied.
  • ownerModestringrequired
    One of: M0, M1, M2.
  • childAudienceboolean

Responses

  • 200application/json
    Success

    object

  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown