Empathy Stats API V2 - Reports - Term Success - Pivot

Empathy Stats API V2 - Reports - Term Success - Pivot

This report returns the distribution of a given query within the group of pivots selected.

Report ID: PivotDistribution

Input parameters (see common parameters)

Parameter name

Type

Required

Description

Default

Parameter name

Type

Required

Description

Default

terms

str

Query to search

None

type

int

Type of queries to return (0: all, 1: queries w/results, 2: queries wo/results)

0

pivots

list[str]

List of pivots to use in the request, separated by comma



Responses

200 - successful information retrieve

Type: application/json
Example application/json
{ "data": [ { "query_count": 357, "click_count": 15, "wishlist_count": 0, "add2cart_count": 0, "conversion_count": 0, "success_count": 10, "pivots": [ { "value": "desktop", "pivot": "scope" } ] } ], "params": { "site_id": "site_id", "start_date": 1530403200000, "end_date": 1535760000000, "filters": [], "pivots": [ "scope" ], "terms": "jeans", "type": 0 } }