/page
How to send Page Views using the HTTP API
The HTTP API enables you to send user Page Views to Adnuntius Data.
Typically you are recommended to send these events from the user's browser using the Javascript API.
Request object
Data is sent to Adnuntius using a HTTP POST request, with a JSON payload containing the fields described below. A separate object is required for each page view event.
If the request is received correctly, an HTTP 200 status code will be returned.
Example request object
Field Descriptions
Name | Type | Description |
---|---|---|
| String | A unique ID for the browser or device being used. |
| String | The Folder ID in Adnuntius Data, for example: |
| String[] | An array of keywords |
| String[] | An array of categories |
| String | The domain name of the page |
Example cURL request
This is a very simple example, using curl, demonstrating how a page view is sent to Adnuntius Data.
Example batch request
Page views can also be sent to adnuntius in bulk by adding them to an array like this:
See here how you can send pageview information using the JavaScript API instead.
Last updated