POST /api/public/apps/page
The page call lets you record whenever a user sees a page of your website, along with any optional properties about the page.
The following is an example of a page body.
Authorizations
Authorization header for the request, in the format Bearer <token>
. Find your token at https://app.dittofeed.com/dashboard/settings#write-key.
Headers
Authorization header for the request, in the format Bearer <token>
. Find your token at https://app.dittofeed.com/dashboard/settings#write-key.
Body
Unique identifier for the message, used as an idempotency key for safe retries. Can provide a UUID.
Unique identifier for the user. Should be the id of the user in your system. Only applicable to logged in users.
ISO 8601 formatted timestamp of when the event occurred. If not provided, the current server time will be used.
Provides metadata about the user submitting the event and the context in which the event occurred.
Name of the page visited by the user.
Free-form dictionary of properties of the page, like url and referrer. Can contain arbitrary JSON values.
Response
An empty String