Audience poll
Polling endpoint gives the data response of global and detailed requests by given datacode
Query Parameters
- dataCode string required
- 200
- 400
- 403
- 423
- 500
- 503
OK
- */*
- Schema
- Example (from schema)
Schema
data object
analyticsLevel stringPossible values: [
VISIT
,VISITOR
]Indicates at what level the calculations were made.
breakdownData object
Filter audience by segment criteria.
customDataStats object
property name* object
Array [averageConversionPerElementCount doubleconversions
/visits
averageRevenuePerConversion doublerevenue
/conversions
averageRevenuePerConversionEvolution doubleHow much revenue per conversion for current period changed according to previous period in percents
averageRevenuePerElementCount doublerevenue
/visits
averageRevenuePerElementCountEvolution doubleHow much revenue per visit for current period changed according to previous period in percents
breakdownName stringIdentifier of the segment for which the stats was tracked
conversionRate doubleHow often visits are being converted. It's being calculated as
convertedVisits
/visits
conversionRateEvolution doubleHow much conversion rate for current period changed according to previous period in percents
conversionRateGapSegment doubleProportion of conversions of the breakdown to the number of conversions without separation by breakdown
conversionRatePart doubleProportion of the conversion rate of the breakdown subtype to the whole breakdown
conversions int64Amount of tracked conversions
convertedElementCount int64Amount of tracked converted visits
elementCount int64Amount of tracked visits
elementCountEvolution doubleHow much amount of visits for current period changed according to previous period in percents
elementCountPart doubleProportion of the number of visits of the breakdown subtype to the whole breakdown
revenue doubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be =
conversions
* the default revenuerevenueEvolution doubleHow much amount of revenue for current period changed according to previous period in percents
revenueGapSegment doubleProportion of revenue of the breakdown to the revenue without separation by breakdown
revenuePart doubleProportion of the revenue of the breakdown subtype to the whole breakdown
]usualBreakdownStats object
property name* object
Array [averageConversionPerElementCount doubleconversions
/visits
averageRevenuePerConversion doublerevenue
/conversions
averageRevenuePerConversionEvolution doubleHow much revenue per conversion for current period changed according to previous period in percents
averageRevenuePerElementCount doublerevenue
/visits
averageRevenuePerElementCountEvolution doubleHow much revenue per visit for current period changed according to previous period in percents
breakdownName stringIdentifier of the segment for which the stats was tracked
conversionRate doubleHow often visits are being converted. It's being calculated as
convertedVisits
/visits
conversionRateEvolution doubleHow much conversion rate for current period changed according to previous period in percents
conversionRateGapSegment doubleProportion of conversions of the breakdown to the number of conversions without separation by breakdown
conversionRatePart doubleProportion of the conversion rate of the breakdown subtype to the whole breakdown
conversions int64Amount of tracked conversions
convertedElementCount int64Amount of tracked converted visits
elementCount int64Amount of tracked visits
elementCountEvolution doubleHow much amount of visits for current period changed according to previous period in percents
elementCountPart doubleProportion of the number of visits of the breakdown subtype to the whole breakdown
revenue doubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be =
conversions
* the default revenuerevenueEvolution doubleHow much amount of revenue for current period changed according to previous period in percents
revenueGapSegment doubleProportion of revenue of the breakdown to the revenue without separation by breakdown
revenuePart doubleProportion of the revenue of the breakdown subtype to the whole breakdown
]endDateTime date-timeThe exclusive end of the period for which statistics are calculated. YYYY-MM-DDThh:mm:ss
globalStats object
Summed up calculations for all tracked segments
averageConversionPerElementCount doubleconversions
/visits
averageRevenuePerConversion doublerevenue
/conversions
averageRevenuePerConversionEvolution doubleHow much revenue per conversion for current period changed according to previous period in percents
averageRevenuePerElementCount doublerevenue
/visits
averageRevenuePerElementCountEvolution doubleHow much revenue per visit for current period changed according to previous period in percents
conversionRate doubleHow often visits are being converted. It's being calculated as
convertedVisits
/visits
conversionRateEvolution doubleHow much conversion rate for current period changed according to previous period in percents
conversions int64Amount of tracked conversions
convertedElementCount int64Amount of tracked converted visits
elementCount int64Amount of tracked visits
elementCountEvolution doubleHow much amount of visits for current period changed according to previous period in percents
revenue doubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be =
conversions
* the default revenuerevenueEvolution doubleHow much amount of revenue for current period changed according to previous period in percents
periodStats object[]
Calculations separated by day interval
Array [averageConversionPerElementCount doubleconversions
/visits
averageRevenuePerConversion doublerevenue
/conversions
averageRevenuePerElementCount doublerevenue
/visits
conversionRate doubleHow often visits are being converted. It's being calculated as
convertedVisits
/visits
conversions int64Amount of tracked conversions
convertedElementCount int64Amount of tracked converted visits
elementCount int64Amount of tracked visits
endDateTime date-timerevenue doubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be =
conversions
* the default revenuestartDateTime date-time]revenueKPI object
Indicates return on investment KPI.
additionalRevenue doubleconversionRate doubleelementCount int64potentialAdditionalRevenue doublerevenuePerElementCount doubletotalRevenue doublesegmentStats object[]
Calculations per every segment.
Array [averageConversionPerElementCount doubleconversions
/visits
averageRevenuePerConversion doublerevenue
/conversions
averageRevenuePerConversionEvolution doubleHow much revenue per conversion for current period changed according to previous period in percents
averageRevenuePerConversionGapTotal doubleaverageRevenuePerElementCount doublerevenue
/visits
averageRevenuePerElementCountEvolution doubleHow much revenue per visit for current period changed according to previous period in percents
conversionRate doubleHow often visits are being converted. It's being calculated as
convertedVisits
/visits
conversionRateEvolution doubleHow much conversion rate for current period changed according to previous period in percents
conversions int64Amount of tracked conversions
conversionsGapTotal doubleconvertedElementCount int64Amount of tracked converted visits
elementCount int64Amount of tracked visits
elementCountEvolution doubleHow much amount of visits for current period changed according to previous period in percents
elementCountGapTotal doublerevenue doubleAmount of revenue. It can be tracked by kameleoon.js. Or it can be calculated based on audience configuration settings. If you set default amount of revenue per 1 conversion then revenue will be =
conversions
* the default revenuerevenueEvolution doubleHow much amount of revenue for current period changed according to previous period in percents
revenueGapTotal doublesegmentId int64Identifier of the segment for which the stats was tracked
]startDateTime date-timeThe inclusive start of the period for which statistics are calculated. YYYY-MM-DDThh:mm:ss
- errorDescription string
- status string
Possible values: [
ERROR
,READY
,WAITING
]
{
"data": {
"analyticsLevel": "VISIT",
"breakdownData": {
"customDataStats": {},
"usualBreakdownStats": {}
},
"endDateTime": "2024-05-06T13:49:24.400Z",
"globalStats": {
"averageConversionPerElementCount": 0,
"averageRevenuePerConversion": 0,
"averageRevenuePerConversionEvolution": 0,
"averageRevenuePerElementCount": 0,
"averageRevenuePerElementCountEvolution": 0,
"conversionRate": 0,
"conversionRateEvolution": 0,
"conversions": 0,
"convertedElementCount": 0,
"elementCount": 0,
"elementCountEvolution": 0,
"revenue": 0,
"revenueEvolution": 0
},
"periodStats": [
{
"averageConversionPerElementCount": 0,
"averageRevenuePerConversion": 0,
"averageRevenuePerElementCount": 0,
"conversionRate": 0,
"conversions": 0,
"convertedElementCount": 0,
"elementCount": 0,
"endDateTime": "2024-05-06T13:49:24.400Z",
"revenue": 0,
"startDateTime": "2024-05-06T13:49:24.400Z"
}
],
"revenueKPI": {
"additionalRevenue": 0,
"conversionRate": 0,
"elementCount": 0,
"potentialAdditionalRevenue": 0,
"revenuePerElementCount": 0,
"totalRevenue": 0
},
"segmentStats": [
{
"averageConversionPerElementCount": 0,
"averageRevenuePerConversion": 0,
"averageRevenuePerConversionEvolution": 0,
"averageRevenuePerConversionGapTotal": 0,
"averageRevenuePerElementCount": 0,
"averageRevenuePerElementCountEvolution": 0,
"conversionRate": 0,
"conversionRateEvolution": 0,
"conversions": 0,
"conversionsGapTotal": 0,
"convertedElementCount": 0,
"elementCount": 0,
"elementCountEvolution": 0,
"elementCountGapTotal": 0,
"revenue": 0,
"revenueEvolution": 0,
"revenueGapTotal": 0,
"segmentId": 0
}
],
"startDateTime": "2024-05-06T13:49:24.400Z"
},
"errorDescription": "string",
"status": "ERROR"
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-05-06T13:49:24.401Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-05-06T13:49:24.401Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-05-06T13:49:24.401Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
- code string
- impersonator string
- message string
- name string
- status string
Possible values: [
SUCCESS
,ERROR
] - sub string
- time int64
- timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-05-06T13:49:24.401Z"
}
Service Unavailable
- */*
- Schema
- Example (from schema)
Schema
- object
{}