Analytics request parameters

Optional headers and body parameters that give Athena XAI more detailed analytics and reports.

Last updated

On this page

Request header parameters

Parameter nameRequirementTypeDescription
client-sourceoptionalstringThe origin of the API call: Mobile App, Mobile Web, Web,…
platformoptionalstringThe client’s operating system: iOS, Android,…
deviceoptionalstringThe client’s device: Mobile or Desktop.

Request body parameters

Parameter nameRequirementTypeDescription
athenaUidoptionalstringUnique Athena XAI cookie generated on the platform.
agentoptionalstringRequest user agent string.
ip_addressoptionalstringThe client’s IP address.
sourceoptionalstringThe source that led the user to the add to cart, click or order action. See the possible source values. Applies only to the Product Click Analytics API and the Cart Analytics API.
channeloptionalstringThe source’s channel, a more detailed explanation of the origin. See the possible channel values. Applies only to the Product Click Analytics API and the Cart Analytics API.

None of these parameters are required, but they are valuable to Athena XAI for providing more detailed analytics and reports. You can provide them to all the APIs explained below.