Empathy Stats API V2 - Reports - Categories - Distribution - Daily

This report returns a set of global metrics for the selected date range and category ID separated by day. The daily values given by the following report are, grouped by day, clicks_data, success_data and add2cart_data.

Report ID: DailyCategoryDist

Input parameters (see common parameters)

Parameter nameTypeRequiredDescriptionDefault
category_idstr(tick)Category to calculate its distribution

Responses

200 - successful information retrieve

Type: application/json
Example response
{
    "data": {
        "query_count": 0,
        "click_count": 1976,
        "wishlist_count": 0,
        "add2cart_count": 0,
        "conversion_count": 0,
        "success_count": 1976,
        "click_count_pct": 100,
        "wishlist_count_pct": 100,
        "add2cart_count_pct": 100,
        "conversion_count_pct": 100,
        "success_count_pct": 100,
        "no_results_count": 0,
        "no_results_count_pct": 100,
        "term_count": 0,
        "term_avg": 0,
        "apicall_count": 0,
        "findability": 100,
        "clicks_data": [
            {
                "datetime": "2018-11-11T23:00:00Z",
                "value": 890,
                "pct": 100
            },
            {
                "datetime": "2018-11-12T23:00:00Z",
                "value": 797,
                "pct": 100
            },
            {
                "datetime": "2018-11-13T23:00:00Z",
                "value": 289,
                "pct": 100
            },
            {
                "datetime": "2018-11-14T23:00:00Z",
                "value": 0,
                "pct": 0
            }
        ],
        "success_data": [
            {
                "datetime": "2018-11-11T23:00:00Z",
                "value": 890,
                "pct": 100
            },
            {
                "datetime": "2018-11-12T23:00:00Z",
                "value": 797,
                "pct": 100
            },
            {
                "datetime": "2018-11-13T23:00:00Z",
                "value": 289,
                "pct": 100
            },
            {
                "datetime": "2018-11-14T23:00:00Z",
                "value": 0,
                "pct": 0
            }
        ],
        "add2cart_data": [
            {
                "datetime": "2018-11-11T23:00:00Z",
                "value": 0,
                "pct": 100
            },
            {
                "datetime": "2018-11-12T23:00:00Z",
                "value": 0,
                "pct": 100
            },
            {
                "datetime": "2018-11-13T23:00:00Z",
                "value": 0,
                "pct": 100
            },
            {
                "datetime": "2018-11-14T23:00:00Z",
                "value": 0,
                "pct": 0
            }
        ]
    },
    "params": {
        "site_id": "sample",
        "start_date": 1541980800000,
        "end_date": 1542240000000,
        "filters": [],
        "category_id": "63",
        "bucket_size": "day"
    }
}