Record Activity

POSTs will be immediatelty acknowledged with a 204 if the POST is successfully received and the JSON decoded.

Data errors within the JSON will not be acknowledged on this endpoint, but will be handled gracefully where possible.

Note the User Agent "ua" field should be accurate, as it is used to determine the form-factor & OS for analytics purposes.

When recording page activity using beacons you will need to provide the appropriate value for the following:

typ values

Signifies the type of event the beacon is tracking.

typ valueNameDescription
1PAGE_VIEWEDPage viewed, of type ptyp
7CUSTOM_SIGNALCustom signal (e.g. requested brochure, visited a certain page)

ptyp values

Page tracking beacons data will need to declare what page type it represents using the ptyp field with a value from the table below:

ptyp valueNameDescription
1PRODUCT_BROWSEBrowse page for any shopping cart. Includes one product id
2LOGINLogging in to a shopping account
3LOGIN_THANKSAfter logging in to a shopping account
4REGISTERRegister for a shopping account
5REGISTER_THANKSAfter register for a shopping account
6CARTCart page for any shopping cart. Includes 0 or more products
7CHECKOUTCart page during the shopping process. Probably includes all carted products
8PURCHASE_COMPLETECart page after payment has been made. No products
9PRODUCT_LISTA Page with a list of products on it (e.g. a category page)
10ACCOUNT_EDITAccount settings page e.g. magento account dashboard
11NEWSLETTER_EDITPage where newsletter / mailing preferences are set / viewed
12DNT_PREFERENCEnot a real page, used to send us Do-not-track / nomail -
13CART_INPAGEIn page cart update (e.g. an ajax cart)
14EMAIL_SENDEmail Send (e.g. UBX webhook)
15EMAIL_OPENEmail Open (e.g. UBX webhook)
16EMAIL_CLICKEmail Clickthrough (e.g. UBX webhook)
17POPOVER_SHOWNPopover Shown, for Popover reporting
18POPOVER_DISMISSPopover Dismissed, for Popover reporting
19POPOVER_SUBMITPopover Submitted, for Popover reporting
Language
Credentials
Header
Click Try It! to start a request and see the response here!