Daily Distribution

Created by Lara Menéndez · last update July 25, 2019

Request

To retrieve data from this report, define the request using all the available params and filters detailed in the box.

First, ensure you get your token.

GET https://api.empathybroker.com/stats/v2/analysis/{Instance_ID}/DailyDist

Query Parameters

PARAMETER TYPE
start_date Int (ISO 8601 format)
end_date Int (ISO 8601 format)
filters list[str]

Bearer Token Get your token

Example request: https://api.empathybroker.com/stats/v2/analysis/ebdemo/DailyDist?start_date=2019-07-10&end_date=2019-07-17&filters=lang,scope&lang=es_ES&scope=desktop


Response

Once the request is performed, the following KPIs are retrieved shaped in json format:

  • Total values for the date range selected: total queries, clicks, adds to wishlist, total terms, avg terms by query, adds to cart, findability, sessions, users and new users.
  • Distributed values by day: users, sessions, findability %, clicks, queries, adds to wishlist, adds to cart and no results count.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
{
    "data": {
        "query_count": 3031352,
        "click_count": 1436008,
        "wishlist_count": 0,
        "add2cart_count": 201617,
        "conversion_count": 0,
        "success_count": 1183342,
        "click_count_pct": 47.37,
        "wishlist_count_pct": 0,
        "add2cart_count_pct": 6.65,
        "conversion_count_pct": 0,
        "success_count_pct": 39.04,
        "no_results_count": 277934,
        "no_results_count_pct": 9.17,
        "term_count": 5140544,
        "term_avg": 1.7,
        "apicall_count": 0,
        "findability": 39.04,
        "daily_unique_users_count": 553219,
        "daily_unique_sessions_count": 639981,
        "daily_unique_new_users_count": 264868,
        "daily_unique_users_avg": 110643.8,
        "daily_unique_sessions_avg": 127996.2,
        "queries_data": [
            {
                "datetime": "2019-07-10T00:00:00Z",
                "value": 725726,
                "pct": 100
            },
            {
                "datetime": "2019-07-11T00:00:00Z",
                "value": 678814,
                "pct": 100
            },
            {
                "datetime": "2019-07-12T00:00:00Z",
                "value": 548537,
                "pct": 100
            },
            {
                "datetime": "2019-07-13T00:00:00Z",
                "value": 509887,
                "pct": 100
            },
            {
                "datetime": "2019-07-14T00:00:00Z",
                "value": 568388,
                "pct": 100
            }
        ],
        "clicks_data": [
            {
                "datetime": "2019-07-10T00:00:00Z",
                "value": 338087,
                "pct": 46.59
            },
            {
                "datetime": "2019-07-11T00:00:00Z",
                "value": 317398,
                "pct": 46.76
            },
            {
                "datetime": "2019-07-12T00:00:00Z",
                "value": 245469,
                "pct": 44.75
            },
            {
                "datetime": "2019-07-13T00:00:00Z",
                "value": 240334,
                "pct": 47.13
            },
            {
                "datetime": "2019-07-14T00:00:00Z",
                "value": 294720,
                "pct": 51.85
            }
        ],
        "wishlist_data": [
            {
                "datetime": "2019-07-10T00:00:00Z",
                "value": 0,
                "pct": 0
            },
            {
                "datetime": "2019-07-11T00:00:00Z",
                "value": 0,
                "pct": 0
            },
            {
                "datetime": "2019-07-12T00:00:00Z",
                "value": 0,
                "pct": 0
            },
            {
                "datetime": "2019-07-13T00:00:00Z",
                "value": 0,
                "pct": 0
            },
            {
                "datetime": "2019-07-14T00:00:00Z",
                "value": 0,
                "pct": 0
            }
        ],
        "add2cart_data": [
            {
                "datetime": "2019-07-10T00:00:00Z",
                "value": 51797,
                "pct": 7.14
            },
            {
                "datetime": "2019-07-11T00:00:00Z",
                "value": 46200,
                "pct": 6.81
            },
            {
                "datetime": "2019-07-12T00:00:00Z",
                "value": 33401,
                "pct": 6.09
            },
            {
                "datetime": "2019-07-13T00:00:00Z",
                "value": 32151,
                "pct": 6.31
            },
            {
                "datetime": "2019-07-14T00:00:00Z",
                "value": 38068,
                "pct": 6.7
            }
        ],
        "conversion_data": [
            {
                "datetime": "2019-07-10T00:00:00Z",
                "value": 0,
                "pct": 0
            },
            {
                "datetime": "2019-07-11T00:00:00Z",
                "value": 0,
                "pct": 0
            },
            {
                "datetime": "2019-07-12T00:00:00Z",
                "value": 0,
                "pct": 0
            },
            {
                "datetime": "2019-07-13T00:00:00Z",
                "value": 0,
                "pct": 0
            },
            {
                "datetime": "2019-07-14T00:00:00Z",
                "value": 0,
                "pct": 0
            }
        ],
        "no_results_data": [
            {
                "datetime": "2019-07-10T00:00:00Z",
                "value": 68457,
                "pct": 9.43
            },
            {
                "datetime": "2019-07-11T00:00:00Z",
                "value": 62545,
                "pct": 9.21
            },
            {
                "datetime": "2019-07-12T00:00:00Z",
                "value": 51585,
                "pct": 9.4
            },
            {
                "datetime": "2019-07-13T00:00:00Z",
                "value": 47561,
                "pct": 9.33
            },
            {
                "datetime": "2019-07-14T00:00:00Z",
                "value": 47786,
                "pct": 8.41
            }
        ],
        "findability_data": [
            {
                "datetime": "2019-07-10T00:00:00Z",
                "value": 278493,
                "pct": 38.37
            },
            {
                "datetime": "2019-07-11T00:00:00Z",
                "value": 263639,
                "pct": 38.84
            },
            {
                "datetime": "2019-07-12T00:00:00Z",
                "value": 203892,
                "pct": 37.17
            },
            {
                "datetime": "2019-07-13T00:00:00Z",
                "value": 198485,
                "pct": 38.93
            },
            {
                "datetime": "2019-07-14T00:00:00Z",
                "value": 238833,
                "pct": 42.02
            }
        ],
        "unique_users_data": [
            {
                "datetime": "2019-07-10T00:00:00Z",
                "value": 126735,
                "avg_queries": 5.65
            },
            {
                "datetime": "2019-07-11T00:00:00Z",
                "value": 123625,
                "avg_queries": 5.42
            },
            {
                "datetime": "2019-07-12T00:00:00Z",
                "value": 104407,
                "avg_queries": 5.17
            },
            {
                "datetime": "2019-07-13T00:00:00Z",
                "value": 95173,
                "avg_queries": 5.28
            },
            {
                "datetime": "2019-07-14T00:00:00Z",
                "value": 103279,
                "avg_queries": 5.43
            }
        ],
        "unique_sessions_data": [
            {
                "datetime": "2019-07-10T00:00:00Z",
                "value": 148341,
                "avg_queries": 4.83
            },
            {
                "datetime": "2019-07-11T00:00:00Z",
                "value": 143823,
                "avg_queries": 4.66
            },
            {
                "datetime": "2019-07-12T00:00:00Z",
                "value": 119455,
                "avg_queries": 4.52
            },
            {
                "datetime": "2019-07-13T00:00:00Z",
                "value": 109293,
                "avg_queries": 4.6
            },
            {
                "datetime": "2019-07-14T00:00:00Z",
                "value": 119069,
                "avg_queries": 4.71
            }
        ]
    },
    "params": {
        "site_id": "ebdemo",
        "start_date": 1562716800000,
        "end_date": 1563148800000,
        "filters": [
            {
                "values": [
                    "es_ES"
                ],
                "filter": "lang"
            }
        ]
    }
}