Analytics
Change how the project identifies visitors
Changed onmode: cookieless stores nothing on the visitor's device: the proxy stops setting analytics cookies and visitors are counted by a hash that changes every day. Visitors already counted keep their history.
accept_browser_identify: false ignores identify() from the browser, so only the app's backend (a deployment token) can attach a user id. Omitted fields keep their value.
put/projects/{project_id}/analytics/identity
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID
Request body
Response
Identity settings updated
Changes
- breaking
removed the enum value
cookielessof the request propertymode - breaking
removed the enum value
persistentof the request propertymode - breaking
the
moderequest property type changed fromstringto no type
4 more changes in this revision
- breaking