zorihq 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/v1/analytics/analytics.d.mts +179 -5
  4. package/resources/v1/analytics/analytics.d.mts.map +1 -1
  5. package/resources/v1/analytics/analytics.d.ts +179 -5
  6. package/resources/v1/analytics/analytics.d.ts.map +1 -1
  7. package/resources/v1/analytics/analytics.js +4 -0
  8. package/resources/v1/analytics/analytics.js.map +1 -1
  9. package/resources/v1/analytics/analytics.mjs +4 -0
  10. package/resources/v1/analytics/analytics.mjs.map +1 -1
  11. package/resources/v1/analytics/events.d.mts +49 -2
  12. package/resources/v1/analytics/events.d.mts.map +1 -1
  13. package/resources/v1/analytics/events.d.ts +49 -2
  14. package/resources/v1/analytics/events.d.ts.map +1 -1
  15. package/resources/v1/analytics/events.js +16 -1
  16. package/resources/v1/analytics/events.js.map +1 -1
  17. package/resources/v1/analytics/events.mjs +16 -1
  18. package/resources/v1/analytics/events.mjs.map +1 -1
  19. package/resources/v1/analytics/index.d.mts +4 -3
  20. package/resources/v1/analytics/index.d.mts.map +1 -1
  21. package/resources/v1/analytics/index.d.ts +4 -3
  22. package/resources/v1/analytics/index.d.ts.map +1 -1
  23. package/resources/v1/analytics/index.js +3 -1
  24. package/resources/v1/analytics/index.js.map +1 -1
  25. package/resources/v1/analytics/index.mjs +1 -0
  26. package/resources/v1/analytics/index.mjs.map +1 -1
  27. package/resources/v1/analytics/revenue.d.mts +60 -0
  28. package/resources/v1/analytics/revenue.d.mts.map +1 -0
  29. package/resources/v1/analytics/revenue.d.ts +60 -0
  30. package/resources/v1/analytics/revenue.d.ts.map +1 -0
  31. package/resources/v1/analytics/revenue.js +39 -0
  32. package/resources/v1/analytics/revenue.js.map +1 -0
  33. package/resources/v1/analytics/revenue.mjs +35 -0
  34. package/resources/v1/analytics/revenue.mjs.map +1 -0
  35. package/resources/v1/analytics/visitors.d.mts +27 -1
  36. package/resources/v1/analytics/visitors.d.mts.map +1 -1
  37. package/resources/v1/analytics/visitors.d.ts +27 -1
  38. package/resources/v1/analytics/visitors.d.ts.map +1 -1
  39. package/resources/v1/analytics/visitors.js +16 -0
  40. package/resources/v1/analytics/visitors.js.map +1 -1
  41. package/resources/v1/analytics/visitors.mjs +16 -0
  42. package/resources/v1/analytics/visitors.mjs.map +1 -1
  43. package/resources/v1/index.d.mts +1 -1
  44. package/resources/v1/index.d.mts.map +1 -1
  45. package/resources/v1/index.d.ts +1 -1
  46. package/resources/v1/index.d.ts.map +1 -1
  47. package/resources/v1/index.js.map +1 -1
  48. package/resources/v1/index.mjs.map +1 -1
  49. package/resources/v1/v1.d.mts +2 -2
  50. package/resources/v1/v1.d.mts.map +1 -1
  51. package/resources/v1/v1.d.ts +2 -2
  52. package/resources/v1/v1.d.ts.map +1 -1
  53. package/resources/v1/v1.js.map +1 -1
  54. package/resources/v1/v1.mjs.map +1 -1
  55. package/src/resources/v1/analytics/analytics.ts +273 -2
  56. package/src/resources/v1/analytics/events.ts +66 -2
  57. package/src/resources/v1/analytics/index.ts +11 -1
  58. package/src/resources/v1/analytics/revenue.ts +79 -0
  59. package/src/resources/v1/analytics/visitors.ts +39 -0
  60. package/src/resources/v1/index.ts +8 -0
  61. package/src/resources/v1/v1.ts +16 -0
  62. package/src/version.ts +1 -1
  63. package/version.d.mts +1 -1
  64. package/version.d.ts +1 -1
  65. package/version.js +1 -1
  66. package/version.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.0 (2025-10-24)
4
+
5
+ Full Changelog: [v0.7.0...v0.8.0](https://github.com/ZoriHQ/typescript-api-sdk/compare/v0.7.0...v0.8.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** more events filtering ([dc35bf8](https://github.com/ZoriHQ/typescript-api-sdk/commit/dc35bf85c1453bbc67131683f209c1dce4adbe4b))
10
+
11
+ ## 0.7.0 (2025-10-21)
12
+
13
+ Full Changelog: [v0.6.0...v0.7.0](https://github.com/ZoriHQ/typescript-api-sdk/compare/v0.6.0...v0.7.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** manual user identification endpoints ([f8c14f6](https://github.com/ZoriHQ/typescript-api-sdk/commit/f8c14f62297adbdf1118706706c34619538378f0))
18
+
3
19
  ## 0.6.0 (2025-10-21)
4
20
 
5
21
  Full Changelog: [v0.5.0...v0.6.0](https://github.com/ZoriHQ/typescript-api-sdk/compare/v0.5.0...v0.6.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zorihq",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "The official TypeScript library for the Zoriapi API",
5
5
  "author": "Zoriapi <support@zorihq.com>",
6
6
  "types": "./index.d.ts",
@@ -1,19 +1,22 @@
1
1
  import { APIResource } from "../../../core/resource.mjs";
2
2
  import * as EventsAPI from "./events.mjs";
3
- import { EventRecentParams, Events } from "./events.mjs";
3
+ import { EventFilterOptionsParams, EventRecentParams, Events } from "./events.mjs";
4
4
  import * as RetentionAPI from "./retention.mjs";
5
5
  import { Retention, RetentionChurnRateParams, RetentionCohortsParams, RetentionReturnRateParams } from "./retention.mjs";
6
+ import * as RevenueAPI from "./revenue.mjs";
7
+ import { Revenue, RevenueByUtmParams, RevenueTimelineParams } from "./revenue.mjs";
6
8
  import * as SessionsAPI from "./sessions.mjs";
7
9
  import { SessionBounceRateParams, SessionMetricsParams, Sessions } from "./sessions.mjs";
8
10
  import * as UsersAPI from "./users.mjs";
9
11
  import { UserActiveParams, Users } from "./users.mjs";
10
12
  import * as VisitorsAPI from "./visitors.mjs";
11
- import { VisitorByCountryParams, VisitorByDeviceParams, VisitorByOriginParams, VisitorProfileParams, VisitorTimelineParams, VisitorTopParams, Visitors } from "./visitors.mjs";
13
+ import { VisitorByCountryParams, VisitorByDeviceParams, VisitorByOriginParams, VisitorIdentifyParams, VisitorProfileParams, VisitorTimelineParams, VisitorTopParams, Visitors } from "./visitors.mjs";
12
14
  import { APIPromise } from "../../../core/api-promise.mjs";
13
15
  import { RequestOptions } from "../../../internal/request-options.mjs";
14
16
  export declare class Analytics extends APIResource {
15
17
  visitors: VisitorsAPI.Visitors;
16
18
  events: EventsAPI.Events;
19
+ revenue: RevenueAPI.Revenue;
17
20
  sessions: SessionsAPI.Sessions;
18
21
  users: UsersAPI.Users;
19
22
  retention: RetentionAPI.Retention;
@@ -72,16 +75,41 @@ export interface CountryDataPoint {
72
75
  }
73
76
  export interface DashboardMetricsResponse {
74
77
  avg_pages_per_session?: number;
78
+ /**
79
+ * Average revenue for identified visitors only (deprecated)
80
+ */
81
+ avg_revenue_per_identified_customer?: number;
82
+ /**
83
+ * 3. Average revenue per unique session
84
+ */
85
+ avg_revenue_per_session?: number;
86
+ /**
87
+ * Average revenue per paying visitor
88
+ */
89
+ avg_revenue_per_visitor?: number;
75
90
  avg_session_duration_seconds?: number;
76
91
  /**
77
92
  * Engagement metrics
78
93
  */
79
94
  bounce_rate?: number;
95
+ /**
96
+ * 4. % of unique visitors who made payment
97
+ */
98
+ conversion_rate?: number;
99
+ /**
100
+ * Same as ConversionRate (deprecated, use ConversionRate)
101
+ */
102
+ conversion_to_paying?: number;
103
+ currency?: string;
80
104
  /**
81
105
  * Active users
82
106
  */
83
107
  dau?: number;
84
108
  mau?: number;
109
+ /**
110
+ * Additional revenue metrics (kept for compatibility)
111
+ */
112
+ paying_visitors?: number;
85
113
  return_rate?: number;
86
114
  /**
87
115
  * Sessions
@@ -91,17 +119,76 @@ export interface DashboardMetricsResponse {
91
119
  * Total metrics
92
120
  */
93
121
  total_events?: number;
122
+ /**
123
+ * Count of successful payments
124
+ */
125
+ total_payments?: number;
126
+ /**
127
+ * Revenue metrics - 4 key metrics as separate queries
128
+ */
129
+ total_revenue?: number;
130
+ /**
131
+ * 2. Total revenue for identified customers only
132
+ */
133
+ total_revenue_identified_customers?: number;
94
134
  total_sessions_in_period?: number;
135
+ /**
136
+ * Total unique sessions in period
137
+ */
138
+ unique_sessions?: number;
95
139
  unique_visitors?: number;
96
140
  wau?: number;
97
141
  }
142
+ export interface EventFilterOptionsResponse {
143
+ /**
144
+ * Unique page paths
145
+ */
146
+ pages?: Array<string>;
147
+ /**
148
+ * Unique referrer domains
149
+ */
150
+ traffic_origins?: Array<string>;
151
+ }
98
152
  export interface EventsOverTimeDataPoint {
99
153
  event_count?: number;
100
154
  timestamp?: string;
101
155
  }
156
+ export interface ManualIdentifyRequest {
157
+ project_id: string;
158
+ visitor_id: string;
159
+ additional_properties?: {
160
+ [key: string]: unknown;
161
+ };
162
+ email?: string;
163
+ external_id?: string;
164
+ name?: string;
165
+ phone?: string;
166
+ user_id?: string;
167
+ }
168
+ export interface ManualIdentifyResponse {
169
+ message?: string;
170
+ success?: boolean;
171
+ visitor_id?: string;
172
+ }
102
173
  export interface OriginDataPoint {
174
+ /**
175
+ * Average revenue per paying visitor
176
+ */
177
+ avg_revenue_per_visitor?: number;
178
+ /**
179
+ * paying_visitors / unique_visitors \* 100
180
+ */
181
+ conversion_rate?: number;
182
+ currency?: string;
103
183
  origin?: string;
184
+ paying_visitors?: number;
185
+ payment_count?: number;
104
186
  percentage?: number;
187
+ revenue_percentage?: number;
188
+ /**
189
+ * Revenue in smallest currency unit (cents)
190
+ */
191
+ total_revenue?: number;
105
192
  unique_visitors?: number;
106
193
  }
107
194
  export interface RecentEvent {
@@ -109,15 +196,22 @@ export interface RecentEvent {
109
196
  client_timestamp_utc?: string;
110
197
  device_type?: string;
111
198
  event_name?: string;
199
+ external_id?: string;
112
200
  location_city?: string;
113
201
  location_country_iso?: string;
202
+ location_latitude?: number;
203
+ location_longitude?: number;
114
204
  page_path?: string;
115
205
  page_url?: string;
206
+ referrer_domain?: string;
116
207
  referrer_url?: string;
208
+ user_id?: string;
117
209
  visitor_id?: string;
118
210
  }
119
211
  export interface RecentEventsResponse {
120
212
  events?: Array<RecentEvent>;
213
+ limit?: number;
214
+ offset?: number;
121
215
  total?: number;
122
216
  }
123
217
  export interface ReturnRateResponse {
@@ -126,6 +220,21 @@ export interface ReturnRateResponse {
126
220
  returning_users?: number;
127
221
  total_users?: number;
128
222
  }
223
+ export interface RevenueByUtmResponse {
224
+ data?: Array<UtmRevenueDataPoint>;
225
+ }
226
+ export interface RevenueTimelineDataPoint {
227
+ currency?: string;
228
+ payment_count?: number;
229
+ timestamp?: string;
230
+ /**
231
+ * Revenue in smallest currency unit (cents)
232
+ */
233
+ total_revenue?: number;
234
+ }
235
+ export interface RevenueTimelineResponse {
236
+ data?: Array<RevenueTimelineDataPoint>;
237
+ }
129
238
  export interface SessionMetricsResponse {
130
239
  average_pages_per_session?: number;
131
240
  average_session_duration_seconds?: number;
@@ -133,12 +242,20 @@ export interface SessionMetricsResponse {
133
242
  }
134
243
  export interface TopVisitor {
135
244
  browser_name?: string;
245
+ currency?: string;
136
246
  device_type?: string;
137
247
  event_count?: number;
248
+ external_id?: string;
138
249
  first_seen?: string;
139
250
  last_seen?: string;
140
251
  location_city?: string;
141
252
  location_country_iso?: string;
253
+ payment_count?: number;
254
+ /**
255
+ * Total revenue in smallest currency unit (cents)
256
+ */
257
+ total_revenue?: number;
258
+ user_id?: string;
142
259
  visitor_id?: string;
143
260
  }
144
261
  export interface TopVisitorsResponse {
@@ -153,6 +270,29 @@ export interface UniqueVisitorsDataPoint {
153
270
  export interface UniqueVisitorsTimelineResponse {
154
271
  data?: Array<UniqueVisitorsDataPoint>;
155
272
  }
273
+ export interface UtmRevenueDataPoint {
274
+ /**
275
+ * Average revenue per paying visitor
276
+ */
277
+ avg_revenue_per_visitor?: number;
278
+ /**
279
+ * paying_visitors / unique_visitors \* 100
280
+ */
281
+ conversion_rate?: number;
282
+ currency?: string;
283
+ paying_visitors?: number;
284
+ payment_count?: number;
285
+ revenue_percentage?: number;
286
+ /**
287
+ * Revenue in smallest currency unit (cents)
288
+ */
289
+ total_revenue?: number;
290
+ unique_visitors?: number;
291
+ /**
292
+ * The UTM parameter value
293
+ */
294
+ utm_value?: string;
295
+ }
156
296
  export interface VisitorDataPoint {
157
297
  desktop?: number;
158
298
  mobile?: number;
@@ -168,16 +308,49 @@ export interface VisitorEvent {
168
308
  page_url?: string;
169
309
  referrer_url?: string;
170
310
  }
311
+ export interface VisitorPayment {
312
+ amount?: number;
313
+ currency?: string;
314
+ payment_id?: string;
315
+ payment_timestamp?: string;
316
+ product_name?: string;
317
+ provider_type?: string;
318
+ status?: string;
319
+ }
171
320
  export interface VisitorProfileResponse {
321
+ /**
322
+ * Average payment amount
323
+ */
324
+ avg_order_value?: number;
325
+ currency?: string;
326
+ custom_traits?: {
327
+ [key: string]: unknown;
328
+ };
329
+ email?: string;
172
330
  events?: Array<VisitorEvent>;
173
331
  events_over_time?: Array<EventsOverTimeDataPoint>;
332
+ external_id?: string;
333
+ first_identified_at?: string;
334
+ first_payment_date?: string;
174
335
  first_referrer_url?: string;
175
336
  first_seen?: string;
176
337
  first_traffic_origin?: string;
338
+ is_identified?: boolean;
339
+ last_identified_at?: string;
340
+ last_payment_date?: string;
177
341
  last_seen?: string;
178
342
  location_city?: string;
179
343
  location_country_iso?: string;
344
+ name?: string;
345
+ payment_count?: number;
346
+ payments?: Array<VisitorPayment>;
347
+ phone?: string;
180
348
  total_events?: number;
349
+ /**
350
+ * Revenue fields
351
+ */
352
+ total_revenue?: number;
353
+ user_id?: string;
181
354
  visitor_id?: string;
182
355
  }
183
356
  export interface VisitorsByCountryResponse {
@@ -200,9 +373,10 @@ export interface AnalyticsDashboardParams {
200
373
  time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
201
374
  }
202
375
  export declare namespace Analytics {
203
- export { type ActiveUsersResponse as ActiveUsersResponse, type BounceRateByPageMetric as BounceRateByPageMetric, type BounceRateResponse as BounceRateResponse, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type CountryDataPoint as CountryDataPoint, type DashboardMetricsResponse as DashboardMetricsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type OriginDataPoint as OriginDataPoint, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type ReturnRateResponse as ReturnRateResponse, type SessionMetricsResponse as SessionMetricsResponse, type TopVisitor as TopVisitor, type TopVisitorsResponse as TopVisitorsResponse, type UniqueVisitorsDataPoint as UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse as UniqueVisitorsTimelineResponse, type VisitorDataPoint as VisitorDataPoint, type VisitorEvent as VisitorEvent, type VisitorProfileResponse as VisitorProfileResponse, type VisitorsByCountryResponse as VisitorsByCountryResponse, type VisitorsByDeviceResponse as VisitorsByDeviceResponse, type VisitorsByOriginResponse as VisitorsByOriginResponse, type AnalyticsDashboardParams as AnalyticsDashboardParams, };
204
- export { Visitors as Visitors, type VisitorByCountryParams as VisitorByCountryParams, type VisitorByDeviceParams as VisitorByDeviceParams, type VisitorByOriginParams as VisitorByOriginParams, type VisitorProfileParams as VisitorProfileParams, type VisitorTimelineParams as VisitorTimelineParams, type VisitorTopParams as VisitorTopParams, };
205
- export { Events as Events, type EventRecentParams as EventRecentParams };
376
+ export { type ActiveUsersResponse as ActiveUsersResponse, type BounceRateByPageMetric as BounceRateByPageMetric, type BounceRateResponse as BounceRateResponse, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type CountryDataPoint as CountryDataPoint, type DashboardMetricsResponse as DashboardMetricsResponse, type EventFilterOptionsResponse as EventFilterOptionsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type ManualIdentifyRequest as ManualIdentifyRequest, type ManualIdentifyResponse as ManualIdentifyResponse, type OriginDataPoint as OriginDataPoint, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type ReturnRateResponse as ReturnRateResponse, type RevenueByUtmResponse as RevenueByUtmResponse, type RevenueTimelineDataPoint as RevenueTimelineDataPoint, type RevenueTimelineResponse as RevenueTimelineResponse, type SessionMetricsResponse as SessionMetricsResponse, type TopVisitor as TopVisitor, type TopVisitorsResponse as TopVisitorsResponse, type UniqueVisitorsDataPoint as UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse as UniqueVisitorsTimelineResponse, type UtmRevenueDataPoint as UtmRevenueDataPoint, type VisitorDataPoint as VisitorDataPoint, type VisitorEvent as VisitorEvent, type VisitorPayment as VisitorPayment, type VisitorProfileResponse as VisitorProfileResponse, type VisitorsByCountryResponse as VisitorsByCountryResponse, type VisitorsByDeviceResponse as VisitorsByDeviceResponse, type VisitorsByOriginResponse as VisitorsByOriginResponse, type AnalyticsDashboardParams as AnalyticsDashboardParams, };
377
+ export { Visitors as Visitors, type VisitorByCountryParams as VisitorByCountryParams, type VisitorByDeviceParams as VisitorByDeviceParams, type VisitorByOriginParams as VisitorByOriginParams, type VisitorIdentifyParams as VisitorIdentifyParams, type VisitorProfileParams as VisitorProfileParams, type VisitorTimelineParams as VisitorTimelineParams, type VisitorTopParams as VisitorTopParams, };
378
+ export { Events as Events, type EventFilterOptionsParams as EventFilterOptionsParams, type EventRecentParams as EventRecentParams, };
379
+ export { Revenue as Revenue, type RevenueByUtmParams as RevenueByUtmParams, type RevenueTimelineParams as RevenueTimelineParams, };
206
380
  export { Sessions as Sessions, type SessionBounceRateParams as SessionBounceRateParams, type SessionMetricsParams as SessionMetricsParams, };
207
381
  export { Users as Users, type UserActiveParams as UserActiveParams };
208
382
  export { Retention as Retention, type RetentionChurnRateParams as RetentionChurnRateParams, type RetentionCohortsParams as RetentionCohortsParams, type RetentionReturnRateParams as RetentionReturnRateParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"analytics.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/analytics/analytics.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,iBAAiB,EAAE,MAAM,EAAE;OAC7B,KAAK,YAAY;OACjB,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B,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;IAErE,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -1,19 +1,22 @@
1
1
  import { APIResource } from "../../../core/resource.js";
2
2
  import * as EventsAPI from "./events.js";
3
- import { EventRecentParams, Events } from "./events.js";
3
+ import { EventFilterOptionsParams, EventRecentParams, Events } from "./events.js";
4
4
  import * as RetentionAPI from "./retention.js";
5
5
  import { Retention, RetentionChurnRateParams, RetentionCohortsParams, RetentionReturnRateParams } from "./retention.js";
6
+ import * as RevenueAPI from "./revenue.js";
7
+ import { Revenue, RevenueByUtmParams, RevenueTimelineParams } from "./revenue.js";
6
8
  import * as SessionsAPI from "./sessions.js";
7
9
  import { SessionBounceRateParams, SessionMetricsParams, Sessions } from "./sessions.js";
8
10
  import * as UsersAPI from "./users.js";
9
11
  import { UserActiveParams, Users } from "./users.js";
10
12
  import * as VisitorsAPI from "./visitors.js";
11
- import { VisitorByCountryParams, VisitorByDeviceParams, VisitorByOriginParams, VisitorProfileParams, VisitorTimelineParams, VisitorTopParams, Visitors } from "./visitors.js";
13
+ import { VisitorByCountryParams, VisitorByDeviceParams, VisitorByOriginParams, VisitorIdentifyParams, VisitorProfileParams, VisitorTimelineParams, VisitorTopParams, Visitors } from "./visitors.js";
12
14
  import { APIPromise } from "../../../core/api-promise.js";
13
15
  import { RequestOptions } from "../../../internal/request-options.js";
14
16
  export declare class Analytics extends APIResource {
15
17
  visitors: VisitorsAPI.Visitors;
16
18
  events: EventsAPI.Events;
19
+ revenue: RevenueAPI.Revenue;
17
20
  sessions: SessionsAPI.Sessions;
18
21
  users: UsersAPI.Users;
19
22
  retention: RetentionAPI.Retention;
@@ -72,16 +75,41 @@ export interface CountryDataPoint {
72
75
  }
73
76
  export interface DashboardMetricsResponse {
74
77
  avg_pages_per_session?: number;
78
+ /**
79
+ * Average revenue for identified visitors only (deprecated)
80
+ */
81
+ avg_revenue_per_identified_customer?: number;
82
+ /**
83
+ * 3. Average revenue per unique session
84
+ */
85
+ avg_revenue_per_session?: number;
86
+ /**
87
+ * Average revenue per paying visitor
88
+ */
89
+ avg_revenue_per_visitor?: number;
75
90
  avg_session_duration_seconds?: number;
76
91
  /**
77
92
  * Engagement metrics
78
93
  */
79
94
  bounce_rate?: number;
95
+ /**
96
+ * 4. % of unique visitors who made payment
97
+ */
98
+ conversion_rate?: number;
99
+ /**
100
+ * Same as ConversionRate (deprecated, use ConversionRate)
101
+ */
102
+ conversion_to_paying?: number;
103
+ currency?: string;
80
104
  /**
81
105
  * Active users
82
106
  */
83
107
  dau?: number;
84
108
  mau?: number;
109
+ /**
110
+ * Additional revenue metrics (kept for compatibility)
111
+ */
112
+ paying_visitors?: number;
85
113
  return_rate?: number;
86
114
  /**
87
115
  * Sessions
@@ -91,17 +119,76 @@ export interface DashboardMetricsResponse {
91
119
  * Total metrics
92
120
  */
93
121
  total_events?: number;
122
+ /**
123
+ * Count of successful payments
124
+ */
125
+ total_payments?: number;
126
+ /**
127
+ * Revenue metrics - 4 key metrics as separate queries
128
+ */
129
+ total_revenue?: number;
130
+ /**
131
+ * 2. Total revenue for identified customers only
132
+ */
133
+ total_revenue_identified_customers?: number;
94
134
  total_sessions_in_period?: number;
135
+ /**
136
+ * Total unique sessions in period
137
+ */
138
+ unique_sessions?: number;
95
139
  unique_visitors?: number;
96
140
  wau?: number;
97
141
  }
142
+ export interface EventFilterOptionsResponse {
143
+ /**
144
+ * Unique page paths
145
+ */
146
+ pages?: Array<string>;
147
+ /**
148
+ * Unique referrer domains
149
+ */
150
+ traffic_origins?: Array<string>;
151
+ }
98
152
  export interface EventsOverTimeDataPoint {
99
153
  event_count?: number;
100
154
  timestamp?: string;
101
155
  }
156
+ export interface ManualIdentifyRequest {
157
+ project_id: string;
158
+ visitor_id: string;
159
+ additional_properties?: {
160
+ [key: string]: unknown;
161
+ };
162
+ email?: string;
163
+ external_id?: string;
164
+ name?: string;
165
+ phone?: string;
166
+ user_id?: string;
167
+ }
168
+ export interface ManualIdentifyResponse {
169
+ message?: string;
170
+ success?: boolean;
171
+ visitor_id?: string;
172
+ }
102
173
  export interface OriginDataPoint {
174
+ /**
175
+ * Average revenue per paying visitor
176
+ */
177
+ avg_revenue_per_visitor?: number;
178
+ /**
179
+ * paying_visitors / unique_visitors \* 100
180
+ */
181
+ conversion_rate?: number;
182
+ currency?: string;
103
183
  origin?: string;
184
+ paying_visitors?: number;
185
+ payment_count?: number;
104
186
  percentage?: number;
187
+ revenue_percentage?: number;
188
+ /**
189
+ * Revenue in smallest currency unit (cents)
190
+ */
191
+ total_revenue?: number;
105
192
  unique_visitors?: number;
106
193
  }
107
194
  export interface RecentEvent {
@@ -109,15 +196,22 @@ export interface RecentEvent {
109
196
  client_timestamp_utc?: string;
110
197
  device_type?: string;
111
198
  event_name?: string;
199
+ external_id?: string;
112
200
  location_city?: string;
113
201
  location_country_iso?: string;
202
+ location_latitude?: number;
203
+ location_longitude?: number;
114
204
  page_path?: string;
115
205
  page_url?: string;
206
+ referrer_domain?: string;
116
207
  referrer_url?: string;
208
+ user_id?: string;
117
209
  visitor_id?: string;
118
210
  }
119
211
  export interface RecentEventsResponse {
120
212
  events?: Array<RecentEvent>;
213
+ limit?: number;
214
+ offset?: number;
121
215
  total?: number;
122
216
  }
123
217
  export interface ReturnRateResponse {
@@ -126,6 +220,21 @@ export interface ReturnRateResponse {
126
220
  returning_users?: number;
127
221
  total_users?: number;
128
222
  }
223
+ export interface RevenueByUtmResponse {
224
+ data?: Array<UtmRevenueDataPoint>;
225
+ }
226
+ export interface RevenueTimelineDataPoint {
227
+ currency?: string;
228
+ payment_count?: number;
229
+ timestamp?: string;
230
+ /**
231
+ * Revenue in smallest currency unit (cents)
232
+ */
233
+ total_revenue?: number;
234
+ }
235
+ export interface RevenueTimelineResponse {
236
+ data?: Array<RevenueTimelineDataPoint>;
237
+ }
129
238
  export interface SessionMetricsResponse {
130
239
  average_pages_per_session?: number;
131
240
  average_session_duration_seconds?: number;
@@ -133,12 +242,20 @@ export interface SessionMetricsResponse {
133
242
  }
134
243
  export interface TopVisitor {
135
244
  browser_name?: string;
245
+ currency?: string;
136
246
  device_type?: string;
137
247
  event_count?: number;
248
+ external_id?: string;
138
249
  first_seen?: string;
139
250
  last_seen?: string;
140
251
  location_city?: string;
141
252
  location_country_iso?: string;
253
+ payment_count?: number;
254
+ /**
255
+ * Total revenue in smallest currency unit (cents)
256
+ */
257
+ total_revenue?: number;
258
+ user_id?: string;
142
259
  visitor_id?: string;
143
260
  }
144
261
  export interface TopVisitorsResponse {
@@ -153,6 +270,29 @@ export interface UniqueVisitorsDataPoint {
153
270
  export interface UniqueVisitorsTimelineResponse {
154
271
  data?: Array<UniqueVisitorsDataPoint>;
155
272
  }
273
+ export interface UtmRevenueDataPoint {
274
+ /**
275
+ * Average revenue per paying visitor
276
+ */
277
+ avg_revenue_per_visitor?: number;
278
+ /**
279
+ * paying_visitors / unique_visitors \* 100
280
+ */
281
+ conversion_rate?: number;
282
+ currency?: string;
283
+ paying_visitors?: number;
284
+ payment_count?: number;
285
+ revenue_percentage?: number;
286
+ /**
287
+ * Revenue in smallest currency unit (cents)
288
+ */
289
+ total_revenue?: number;
290
+ unique_visitors?: number;
291
+ /**
292
+ * The UTM parameter value
293
+ */
294
+ utm_value?: string;
295
+ }
156
296
  export interface VisitorDataPoint {
157
297
  desktop?: number;
158
298
  mobile?: number;
@@ -168,16 +308,49 @@ export interface VisitorEvent {
168
308
  page_url?: string;
169
309
  referrer_url?: string;
170
310
  }
311
+ export interface VisitorPayment {
312
+ amount?: number;
313
+ currency?: string;
314
+ payment_id?: string;
315
+ payment_timestamp?: string;
316
+ product_name?: string;
317
+ provider_type?: string;
318
+ status?: string;
319
+ }
171
320
  export interface VisitorProfileResponse {
321
+ /**
322
+ * Average payment amount
323
+ */
324
+ avg_order_value?: number;
325
+ currency?: string;
326
+ custom_traits?: {
327
+ [key: string]: unknown;
328
+ };
329
+ email?: string;
172
330
  events?: Array<VisitorEvent>;
173
331
  events_over_time?: Array<EventsOverTimeDataPoint>;
332
+ external_id?: string;
333
+ first_identified_at?: string;
334
+ first_payment_date?: string;
174
335
  first_referrer_url?: string;
175
336
  first_seen?: string;
176
337
  first_traffic_origin?: string;
338
+ is_identified?: boolean;
339
+ last_identified_at?: string;
340
+ last_payment_date?: string;
177
341
  last_seen?: string;
178
342
  location_city?: string;
179
343
  location_country_iso?: string;
344
+ name?: string;
345
+ payment_count?: number;
346
+ payments?: Array<VisitorPayment>;
347
+ phone?: string;
180
348
  total_events?: number;
349
+ /**
350
+ * Revenue fields
351
+ */
352
+ total_revenue?: number;
353
+ user_id?: string;
181
354
  visitor_id?: string;
182
355
  }
183
356
  export interface VisitorsByCountryResponse {
@@ -200,9 +373,10 @@ export interface AnalyticsDashboardParams {
200
373
  time_range: 'last_hour' | 'today' | 'last_7_days' | 'last_30_days' | 'last_90_days';
201
374
  }
202
375
  export declare namespace Analytics {
203
- export { type ActiveUsersResponse as ActiveUsersResponse, type BounceRateByPageMetric as BounceRateByPageMetric, type BounceRateResponse as BounceRateResponse, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type CountryDataPoint as CountryDataPoint, type DashboardMetricsResponse as DashboardMetricsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type OriginDataPoint as OriginDataPoint, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type ReturnRateResponse as ReturnRateResponse, type SessionMetricsResponse as SessionMetricsResponse, type TopVisitor as TopVisitor, type TopVisitorsResponse as TopVisitorsResponse, type UniqueVisitorsDataPoint as UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse as UniqueVisitorsTimelineResponse, type VisitorDataPoint as VisitorDataPoint, type VisitorEvent as VisitorEvent, type VisitorProfileResponse as VisitorProfileResponse, type VisitorsByCountryResponse as VisitorsByCountryResponse, type VisitorsByDeviceResponse as VisitorsByDeviceResponse, type VisitorsByOriginResponse as VisitorsByOriginResponse, type AnalyticsDashboardParams as AnalyticsDashboardParams, };
204
- export { Visitors as Visitors, type VisitorByCountryParams as VisitorByCountryParams, type VisitorByDeviceParams as VisitorByDeviceParams, type VisitorByOriginParams as VisitorByOriginParams, type VisitorProfileParams as VisitorProfileParams, type VisitorTimelineParams as VisitorTimelineParams, type VisitorTopParams as VisitorTopParams, };
205
- export { Events as Events, type EventRecentParams as EventRecentParams };
376
+ export { type ActiveUsersResponse as ActiveUsersResponse, type BounceRateByPageMetric as BounceRateByPageMetric, type BounceRateResponse as BounceRateResponse, type ChurnRateResponse as ChurnRateResponse, type CohortAnalysisResponse as CohortAnalysisResponse, type CohortData as CohortData, type CountryDataPoint as CountryDataPoint, type DashboardMetricsResponse as DashboardMetricsResponse, type EventFilterOptionsResponse as EventFilterOptionsResponse, type EventsOverTimeDataPoint as EventsOverTimeDataPoint, type ManualIdentifyRequest as ManualIdentifyRequest, type ManualIdentifyResponse as ManualIdentifyResponse, type OriginDataPoint as OriginDataPoint, type RecentEvent as RecentEvent, type RecentEventsResponse as RecentEventsResponse, type ReturnRateResponse as ReturnRateResponse, type RevenueByUtmResponse as RevenueByUtmResponse, type RevenueTimelineDataPoint as RevenueTimelineDataPoint, type RevenueTimelineResponse as RevenueTimelineResponse, type SessionMetricsResponse as SessionMetricsResponse, type TopVisitor as TopVisitor, type TopVisitorsResponse as TopVisitorsResponse, type UniqueVisitorsDataPoint as UniqueVisitorsDataPoint, type UniqueVisitorsTimelineResponse as UniqueVisitorsTimelineResponse, type UtmRevenueDataPoint as UtmRevenueDataPoint, type VisitorDataPoint as VisitorDataPoint, type VisitorEvent as VisitorEvent, type VisitorPayment as VisitorPayment, type VisitorProfileResponse as VisitorProfileResponse, type VisitorsByCountryResponse as VisitorsByCountryResponse, type VisitorsByDeviceResponse as VisitorsByDeviceResponse, type VisitorsByOriginResponse as VisitorsByOriginResponse, type AnalyticsDashboardParams as AnalyticsDashboardParams, };
377
+ export { Visitors as Visitors, type VisitorByCountryParams as VisitorByCountryParams, type VisitorByDeviceParams as VisitorByDeviceParams, type VisitorByOriginParams as VisitorByOriginParams, type VisitorIdentifyParams as VisitorIdentifyParams, type VisitorProfileParams as VisitorProfileParams, type VisitorTimelineParams as VisitorTimelineParams, type VisitorTopParams as VisitorTopParams, };
378
+ export { Events as Events, type EventFilterOptionsParams as EventFilterOptionsParams, type EventRecentParams as EventRecentParams, };
379
+ export { Revenue as Revenue, type RevenueByUtmParams as RevenueByUtmParams, type RevenueTimelineParams as RevenueTimelineParams, };
206
380
  export { Sessions as Sessions, type SessionBounceRateParams as SessionBounceRateParams, type SessionMetricsParams as SessionMetricsParams, };
207
381
  export { Users as Users, type UserActiveParams as UserActiveParams };
208
382
  export { Retention as Retention, type RetentionChurnRateParams as RetentionChurnRateParams, type RetentionCohortsParams as RetentionCohortsParams, type RetentionReturnRateParams as RetentionReturnRateParams, };