API
Overview
The server-side API (for web & mobile) allows aggregators/marketplaces to send events from their servers directly to OnlineSales.ai. Server-side events are linked to a pixel and are processed like browser pixel events. This means that server-side events are used in measurement, reporting, and optimization in the same way as browser pixel events.
For mobile and web, it is mandatory to pass the device_id
or cli_ubid
parameter when sending server to server in-app events. This helps OnlineSales.ai systems to understand the behavior of the user on the platforms.
Note - device_id
or cli_ubid
once set for the user should remain the same for all the future events and API calls from mobile and app
cli_ubid
can be hashed so that no PII data is shared with OS servers. Make sure that the hashed value remains the same a user for all the api calls.
Last updated