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

This report returns a set of global metrics for the selected date range and distribution values per day for some of those metrics, for example queries_data or clicks_data grouped by pivot.

Report ID: DailyPivotDist

Input parameters (see common parameters)

Parameter nameTypeRequiredDescriptionDefault
pivotslst[str](tick)Group results by this values

Responses

200 - successful information retrieve

Type: application/json
Example response
{
    "data": {
        "query_count": 0,
        "click_count": 0,
        "wishlist_count": 0,
        "add2cart_count": 0,
        "conversion_count": 0,
        "success_count": 0,
        "click_count_pct": 0,
        "wishlist_count_pct": 0,
        "add2cart_count_pct": 0,
        "conversion_count_pct": 0,
        "success_count_pct": 0,
		"no_results_count": 0,
        "no_results_count_pct": 0,
        "term_count": 0,
        "term_avg": 0,
        "apicall_count": 48,
        "findability": 0
		"data": [
			{
				"pivots": [
					{
						"pivot": "scope",
	                    "value": "desktop"
					},
					{
						"pivot": "lang",
	                    "value": "en"
					}
				],
		        "queries_data": [
            		{
		                "datetime": "2017-12-15T00:00:00Z",
        		        "value": 0
		            },
        		    {
                		"datetime": "2017-12-16T00:00:00Z",
		                "value": 0
        		    },
            		{
		                "datetime": "2017-12-17T00:00:00Z",
        		        "value": 0
            		}
        		],
        		"clicks_data": [
            		{
		                "datetime": "2017-12-15T00:00:00Z",
        		        "value": 0
		            },
        		    {
                		"datetime": "2017-12-16T00:00:00Z",
		                "value": 0
        		    },
		            {
        		        "datetime": "2017-12-17T00:00:00Z",
                		"value": 0
		            }
        		],
		        "wishlist_data": [
        		    {
                		"datetime": "2017-12-15T00:00:00Z",
		                "value": 0
        		    },
		            {
        		        "datetime": "2017-12-16T00:00:00Z",
                		"value": 0
		            },
        		    {
                		"datetime": "2017-12-17T00:00:00Z",
		                "value": 0
        		    }
        		],
		        "add2cart_data": [
        		    {
                		"datetime": "2017-12-15T00:00:00Z",
		                "value": 0
        		    },
            		{
		                "datetime": "2017-12-16T00:00:00Z",
        		        "value": 0
		            },
        		    {
                		"datetime": "2017-12-17T00:00:00Z",
		                "value": 0
        		    }
        		],
		        "no_results_data": [
        		    {
                		"datetime": "2017-12-15T00:00:00Z",
		                "value": 0
        		    },
            		{
		                "datetime": "2017-12-16T00:00:00Z",
        		        "value": 0
		            },
        		    {
		                "datetime": "2017-12-17T00:00:00Z",
        		        "value": 0
            		}
		        ],
        		"findability_data": [
		            {
        		        "datetime": "2017-12-15T00:00:00Z",
                		"value": 0
		            },
        		    {
                		"datetime": "2017-12-16T00:00:00Z",
		                "value": 0
        		    },
            		{
		                "datetime": "2017-12-17T00:00:00Z",
        		        "value": 0
            		}
		        ]
			}
		],
    },
    "params": {
        "site_id": "sample",
        "start_date": 1513296000000,
        "end_date": 1513551600000,
        "filters": []
    }
}