@react-native-firebase/analytics 23.7.0 → 23.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 (132) hide show
  1. package/dist/commonjs/index.js +38 -0
  2. package/dist/commonjs/index.js.map +1 -0
  3. package/dist/commonjs/modular.js +613 -0
  4. package/dist/commonjs/modular.js.map +1 -0
  5. package/dist/commonjs/namespaced.js +441 -0
  6. package/dist/commonjs/namespaced.js.map +1 -0
  7. package/dist/commonjs/package.json +1 -0
  8. package/dist/commonjs/struct.js +54 -0
  9. package/dist/commonjs/struct.js.map +1 -0
  10. package/dist/commonjs/structs.js +214 -0
  11. package/dist/commonjs/structs.js.map +1 -0
  12. package/dist/commonjs/types/analytics.js +79 -0
  13. package/dist/commonjs/types/analytics.js.map +1 -0
  14. package/dist/commonjs/types/web.js +2 -0
  15. package/dist/commonjs/types/web.js.map +1 -0
  16. package/dist/commonjs/version.js +9 -0
  17. package/dist/commonjs/version.js.map +1 -0
  18. package/dist/commonjs/web/RNFBAnalyticsModule.android.js +9 -0
  19. package/dist/commonjs/web/RNFBAnalyticsModule.android.js.map +1 -0
  20. package/dist/commonjs/web/RNFBAnalyticsModule.ios.js +9 -0
  21. package/dist/commonjs/web/RNFBAnalyticsModule.ios.js.map +1 -0
  22. package/dist/commonjs/web/RNFBAnalyticsModule.js +119 -0
  23. package/dist/commonjs/web/RNFBAnalyticsModule.js.map +1 -0
  24. package/dist/commonjs/web/api.js +294 -0
  25. package/dist/commonjs/web/api.js.map +1 -0
  26. package/{ios/RNFBAnalytics/RNFBAnalyticsModule.h → dist/module/index.js} +10 -6
  27. package/dist/module/index.js.map +1 -0
  28. package/{lib/modular/index.js → dist/module/modular.js} +43 -161
  29. package/dist/module/modular.js.map +1 -0
  30. package/dist/module/namespaced.js +438 -0
  31. package/dist/module/namespaced.js.map +1 -0
  32. package/dist/module/package.json +1 -0
  33. package/{lib → dist/module}/struct.js +12 -14
  34. package/dist/module/struct.js.map +1 -0
  35. package/dist/module/structs.js +210 -0
  36. package/dist/module/structs.js.map +1 -0
  37. package/dist/module/types/analytics.js +75 -0
  38. package/dist/module/types/analytics.js.map +1 -0
  39. package/dist/module/types/web.js +2 -0
  40. package/dist/module/types/web.js.map +1 -0
  41. package/dist/module/version.js +5 -0
  42. package/dist/module/version.js.map +1 -0
  43. package/dist/module/web/RNFBAnalyticsModule.android.js +6 -0
  44. package/dist/module/web/RNFBAnalyticsModule.android.js.map +1 -0
  45. package/dist/module/web/RNFBAnalyticsModule.ios.js +6 -0
  46. package/dist/module/web/RNFBAnalyticsModule.ios.js.map +1 -0
  47. package/{lib → dist/module}/web/RNFBAnalyticsModule.js +17 -21
  48. package/dist/module/web/RNFBAnalyticsModule.js.map +1 -0
  49. package/{lib → dist/module}/web/api.js +34 -77
  50. package/dist/module/web/api.js.map +1 -0
  51. package/dist/typescript/commonjs/lib/index.d.ts +5 -0
  52. package/dist/typescript/commonjs/lib/index.d.ts.map +1 -0
  53. package/dist/typescript/commonjs/lib/modular.d.ts +476 -0
  54. package/dist/typescript/commonjs/lib/modular.d.ts.map +1 -0
  55. package/dist/typescript/commonjs/lib/namespaced.d.ts +12 -0
  56. package/dist/typescript/commonjs/lib/namespaced.d.ts.map +1 -0
  57. package/dist/typescript/commonjs/lib/struct.d.ts +3 -0
  58. package/dist/typescript/commonjs/lib/struct.d.ts.map +1 -0
  59. package/dist/typescript/commonjs/lib/structs.d.ts +1155 -0
  60. package/dist/typescript/commonjs/lib/structs.d.ts.map +1 -0
  61. package/dist/typescript/commonjs/lib/types/analytics.d.ts +944 -0
  62. package/dist/typescript/commonjs/lib/types/analytics.d.ts.map +1 -0
  63. package/dist/typescript/commonjs/lib/types/web.d.ts +36 -0
  64. package/dist/typescript/commonjs/lib/types/web.d.ts.map +1 -0
  65. package/dist/typescript/commonjs/lib/version.d.ts +2 -0
  66. package/dist/typescript/commonjs/lib/version.d.ts.map +1 -0
  67. package/dist/typescript/commonjs/lib/web/RNFBAnalyticsModule.android.d.ts +3 -0
  68. package/dist/typescript/commonjs/lib/web/RNFBAnalyticsModule.android.d.ts.map +1 -0
  69. package/dist/typescript/commonjs/lib/web/RNFBAnalyticsModule.d.ts +9 -0
  70. package/dist/typescript/commonjs/lib/web/RNFBAnalyticsModule.d.ts.map +1 -0
  71. package/dist/typescript/commonjs/lib/web/RNFBAnalyticsModule.ios.d.ts +3 -0
  72. package/dist/typescript/commonjs/lib/web/RNFBAnalyticsModule.ios.d.ts.map +1 -0
  73. package/dist/typescript/commonjs/lib/web/api.d.ts +37 -0
  74. package/dist/typescript/commonjs/lib/web/api.d.ts.map +1 -0
  75. package/dist/typescript/commonjs/package.json +1 -0
  76. package/dist/typescript/module/lib/index.d.ts +5 -0
  77. package/dist/typescript/module/lib/index.d.ts.map +1 -0
  78. package/dist/typescript/module/lib/modular.d.ts +476 -0
  79. package/dist/typescript/module/lib/modular.d.ts.map +1 -0
  80. package/dist/typescript/module/lib/namespaced.d.ts +12 -0
  81. package/dist/typescript/module/lib/namespaced.d.ts.map +1 -0
  82. package/dist/typescript/module/lib/struct.d.ts +3 -0
  83. package/dist/typescript/module/lib/struct.d.ts.map +1 -0
  84. package/dist/typescript/module/lib/structs.d.ts +1155 -0
  85. package/dist/typescript/module/lib/structs.d.ts.map +1 -0
  86. package/dist/typescript/module/lib/types/analytics.d.ts +944 -0
  87. package/dist/typescript/module/lib/types/analytics.d.ts.map +1 -0
  88. package/dist/typescript/module/lib/types/web.d.ts +36 -0
  89. package/dist/typescript/module/lib/types/web.d.ts.map +1 -0
  90. package/dist/typescript/module/lib/version.d.ts +2 -0
  91. package/dist/typescript/module/lib/version.d.ts.map +1 -0
  92. package/dist/typescript/module/lib/web/RNFBAnalyticsModule.android.d.ts +3 -0
  93. package/dist/typescript/module/lib/web/RNFBAnalyticsModule.android.d.ts.map +1 -0
  94. package/dist/typescript/module/lib/web/RNFBAnalyticsModule.d.ts +9 -0
  95. package/dist/typescript/module/lib/web/RNFBAnalyticsModule.d.ts.map +1 -0
  96. package/dist/typescript/module/lib/web/RNFBAnalyticsModule.ios.d.ts +3 -0
  97. package/dist/typescript/module/lib/web/RNFBAnalyticsModule.ios.d.ts.map +1 -0
  98. package/dist/typescript/module/lib/web/api.d.ts +37 -0
  99. package/dist/typescript/module/lib/web/api.d.ts.map +1 -0
  100. package/dist/typescript/module/package.json +1 -0
  101. package/lib/index.ts +73 -0
  102. package/lib/modular.ts +1026 -0
  103. package/lib/{index.js → namespaced.ts} +145 -72
  104. package/lib/struct.ts +61 -0
  105. package/lib/{structs.js → structs.ts} +3 -3
  106. package/lib/types/analytics.ts +1078 -0
  107. package/lib/types/web.ts +56 -0
  108. package/lib/version.ts +2 -0
  109. package/lib/web/RNFBAnalyticsModule.android.ts +3 -0
  110. package/lib/web/RNFBAnalyticsModule.ios.ts +3 -0
  111. package/lib/web/RNFBAnalyticsModule.ts +135 -0
  112. package/lib/web/api.ts +366 -0
  113. package/package.json +61 -7
  114. package/CHANGELOG.md +0 -1085
  115. package/RNFBAnalytics.podspec +0 -71
  116. package/android/.editorconfig +0 -10
  117. package/android/build.gradle +0 -177
  118. package/android/lint.xml +0 -5
  119. package/android/settings.gradle +0 -1
  120. package/android/src/main/AndroidManifest.xml +0 -21
  121. package/android/src/main/java/io/invertase/firebase/analytics/UniversalFirebaseAnalyticsModule.java +0 -141
  122. package/android/src/reactnative/AndroidManifest.xml +0 -2
  123. package/android/src/reactnative/java/io/invertase/firebase/analytics/ReactNativeFirebaseAnalyticsModule.java +0 -213
  124. package/android/src/reactnative/java/io/invertase/firebase/analytics/ReactNativeFirebaseAnalyticsPackage.java +0 -41
  125. package/ios/RNFBAnalytics/RNFBAnalyticsModule.m +0 -268
  126. package/ios/RNFBAnalytics.xcodeproj/project.pbxproj +0 -349
  127. package/ios/RNFBAnalytics.xcodeproj/xcshareddata/IDETemplateMacros.plist +0 -24
  128. package/lib/index.d.ts +0 -1903
  129. package/lib/modular/index.d.ts +0 -1267
  130. package/lib/version.js +0 -2
  131. package/lib/web/RNFBAnalyticsModule.android.js +0 -2
  132. package/lib/web/RNFBAnalyticsModule.ios.js +0 -2
package/lib/index.d.ts DELETED
@@ -1,1903 +0,0 @@
1
- /*
2
- * Copyright (c) 2016-present Invertase Limited & Contributors
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this library except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- *
16
- */
17
-
18
- import { ReactNativeFirebase } from '@react-native-firebase/app';
19
-
20
- /**
21
- * Firebase Analytics package for React Native.
22
- *
23
- * #### Example: Access the firebase export from the `analytics` package:
24
- *
25
- * ```js
26
- * import { firebase } from '@react-native-firebase/analytics';
27
- *
28
- * // firebase.analytics().X
29
- * ```
30
- *
31
- * #### Example: Using the default export from the `analytics` package:
32
- *
33
- * ```js
34
- * import analytics from '@react-native-firebase/analytics';
35
- *
36
- * // analytics().X
37
- * ```
38
- *
39
- * #### Example: Using the default export from the `app` package:
40
- *
41
- * ```js
42
- * import firebase from '@react-native-firebase/app';
43
- * import '@react-native-firebase/analytics';
44
- *
45
- * // firebase.analytics().X
46
- * ```
47
- *
48
- * @firebase analytics
49
- */
50
- export namespace FirebaseAnalyticsTypes {
51
- import FirebaseModule = ReactNativeFirebase.FirebaseModule;
52
-
53
- export interface Item {
54
- /**
55
- * The item's brand.
56
- */
57
- item_brand?: string;
58
- /**
59
- * An item ID.
60
- */
61
- item_id?: string;
62
- /**
63
- * An item name.
64
- */
65
- item_name?: string;
66
- /**
67
- * First class item category.
68
- */
69
- item_category?: string;
70
- /**
71
- * Second class item category.
72
- */
73
- item_category2?: string;
74
- /**
75
- * Third class item category.
76
- */
77
- item_category3?: string;
78
- /**
79
- * Fourth class item category.
80
- */
81
- item_category4?: string;
82
- /**
83
- * Fifth class item category.
84
- */
85
- item_category5?: string;
86
- /**
87
- * The ID of the list in which the item was presented to the user.
88
- */
89
- item_list_id?: string;
90
- /**
91
- * The name of the list in which the item was presented to the user.
92
- */
93
- item_list_name?: string;
94
- /**
95
- * The Google [Place ID](https://developers.google.com/places/place-id) that corresponds to the associated item (String). Alternatively, you can supply your own custom Location ID.
96
- */
97
- location_id?: string;
98
- /**
99
- * The Item variant.
100
- */
101
- item_variant?: string;
102
- /**
103
- * The Item quantity.
104
- */
105
- quantity?: number;
106
- /**
107
- * The Item price.
108
- * Note that firebase analytics will display this as an integer with trailing zeros, due to some firebase-internal conversion.
109
- * See https://github.com/invertase/react-native-firebase/issues/4578#issuecomment-771703420 for more information
110
- */
111
- price?: number;
112
- /**
113
- * The affiliation of the item.
114
- */
115
- affiliation?: string;
116
- /**
117
- * The coupon associated with the item.
118
- */
119
- coupon?: string;
120
- /**
121
- * The creative name associated with the item.
122
- */
123
- creative_name?: string;
124
- /**
125
- * The creative slot associated with the item.
126
- */
127
- creative_slot?: string;
128
- /**
129
- * The discount applied to the item.
130
- */
131
- discount?: Currency;
132
- /**
133
- * The index of the item.
134
- */
135
- index?: number;
136
- /**
137
- * The promotion ID associated with the item.
138
- */
139
- promotion_id?: string;
140
- /**
141
- * The promotion name associated with the item.
142
- */
143
- promotion_name?: string;
144
- /**
145
- * Custom event parameters. The parameter names can be up to 40 characters long and must start with an alphabetic character and contain only alphanumeric characters and underscores. String parameter values can be up to 100 characters long.
146
- * The "firebase_", "google_" and "ga_" prefixes are reserved and should not be used for parameter names.
147
- */
148
- [key: string]: string | number;
149
- }
150
-
151
- export interface AddPaymentInfoEventParameters {
152
- items?: Item[];
153
- /**
154
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
155
- */
156
- currency?: string;
157
- value?: number;
158
- /**
159
- * Coupon code for a purchasable item.
160
- */
161
- coupon?: string;
162
- /**
163
- * The chosen method of payment
164
- */
165
- payment_type?: string;
166
- }
167
-
168
- export interface AddShippingInfoEventParameters {
169
- items?: Item[];
170
- /**
171
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
172
- */
173
- currency?: string;
174
- value?: number;
175
- /**
176
- * Coupon code for a purchasable item.
177
- */
178
- coupon?: string;
179
- /**
180
- * The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item
181
- */
182
- shipping_tier?: string;
183
- }
184
-
185
- export interface AddToCartEventParameters {
186
- items?: Item[];
187
- /**
188
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
189
- */
190
- currency?: string;
191
- /**
192
- * value of item
193
- */
194
- value?: number;
195
- }
196
-
197
- export interface AddToWishlistEventParameters {
198
- items?: Item[];
199
- /**
200
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
201
- */
202
- currency?: string;
203
- value?: number;
204
- }
205
-
206
- export interface BeginCheckoutEventParameters {
207
- /**
208
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
209
- */
210
- //TODO if value is a param, so must currency: https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event#public-static-final-string-add_to_wishlist
211
- currency?: string;
212
- value?: number;
213
- /**
214
- * Coupon code for a purchasable item.
215
- */
216
- coupon?: string;
217
-
218
- items?: Item[];
219
- /**
220
- * Custom event parameters.
221
- */
222
- [key: string]: any;
223
- }
224
-
225
- export interface CampaignDetailsEventParameters {
226
- /**
227
- * Used to identify a search engine, newsletter, or other source.
228
- */
229
- source: string;
230
- /**
231
- * Used to identify a medium such as email or cost-per-click (cpc).
232
- */
233
- medium: string;
234
- /**
235
- * Used for keyword analysis to identify a specific product promotion or strategic campaign.
236
- */
237
- campaign: string;
238
- /**
239
- * Used with paid search to supply the keywords for ads.
240
- */
241
- term?: string;
242
- /**
243
- * Used for A/B testing and content-targeted ads to differentiate ads or links that point to the same URL.
244
- */
245
- content?: string;
246
- /**
247
- * A campaign detail click ID.
248
- */
249
- aclid?: string;
250
- cp1?: string;
251
- }
252
-
253
- //
254
- // Unsupported in "Enhanced Ecommerce reports":
255
- // https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event#public-static-final-string-checkout_progress
256
- //
257
- // export interface CheckoutProgressEventParameters {
258
- // checkout_step: string;
259
- // checkout_options: string;
260
- // }
261
-
262
- export interface EarnVirtualCurrencyEventParameters {
263
- /**
264
- * Name of virtual currency type. E.g. `gems`.
265
- */
266
- virtual_currency_name: string;
267
- /**
268
- * A context-specific numeric value which is accumulated automatically for each event type. Values
269
- * can include revenue, distance, time and points.
270
- */
271
- value: number;
272
- }
273
-
274
- export interface GenerateLeadEventParameters {
275
- /**
276
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
277
- */
278
- currency?: string;
279
- /**
280
- * A context-specific numeric value which is accumulated automatically for each event type. Values
281
- * can include revenue, distance, time and points. When a value is set, the accompanying `currency`
282
- * parameter should also be defined.
283
- */
284
- value?: number;
285
- }
286
-
287
- export interface JoinGroupEventParameters {
288
- /**
289
- * Group/clan/guild id.
290
- */
291
- group_id: string;
292
- }
293
-
294
- export interface LevelEndEventParameters {
295
- /**
296
- * Level in game.
297
- */
298
- level: number;
299
- /**
300
- * The result of an operation.
301
- */
302
- success?: string;
303
- }
304
-
305
- export interface LevelStartEventParameters {
306
- /**
307
- * Level in game.
308
- */
309
- level: number;
310
- }
311
-
312
- export interface LevelUpEventParameters {
313
- /**
314
- * Level in game.
315
- */
316
- level: number;
317
- /**
318
- * Character used in game.
319
- */
320
- character?: string;
321
- }
322
-
323
- export interface LoginEventParameters {
324
- /**
325
- * The login method. E.g. `facebook.com`.
326
- */
327
- method: string;
328
- }
329
-
330
- export interface PostScoreEventParameters {
331
- /**
332
- * Score in game.
333
- */
334
- score: number;
335
- /**
336
- * Level in game.
337
- */
338
- level?: number;
339
- /**
340
- * Character used in game.
341
- */
342
- character?: string;
343
- }
344
-
345
- export interface PurchaseEventParameters {
346
- /**
347
- * A product affiliation to designate a supplying company or brick and mortar store location
348
- */
349
- affiliation?: string;
350
- /**
351
- * Coupon code for a purchasable item.
352
- */
353
- coupon?: string;
354
- /**
355
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
356
- */
357
- currency?: string;
358
-
359
- items?: Item[];
360
- /**
361
- * Shipping cost.
362
- */
363
- shipping?: number;
364
- /**
365
- * Tax amount.
366
- */
367
- tax?: number;
368
- /**
369
- * A context-specific numeric value which is accumulated automatically for each event type. Values
370
- * can include revenue, distance, time and points. When a value is set, the accompanying `currency`
371
- * parameter should also be defined.
372
- */
373
- value?: number;
374
- /**
375
- * A single ID for a ecommerce group transaction.
376
- */
377
- transaction_id?: string;
378
- /**
379
- * Custom event parameters.
380
- */
381
- [key: string]: any;
382
- }
383
-
384
- export interface ScreenViewParameters {
385
- /**
386
- * Screen name the user is currently viewing.
387
- */
388
- screen_name?: string;
389
- /**
390
- * Current class associated with the view the user is currently viewing.
391
- */
392
- screen_class?: string;
393
-
394
- /**
395
- * Custom event parameters.
396
- */
397
- [key: string]: any;
398
- }
399
-
400
- export interface RefundEventParameters {
401
- /**
402
- * A product affiliation to designate a supplying company or brick and mortar store location
403
- */
404
- affiliation?: string;
405
- /**
406
- * Coupon code for a purchasable item.
407
- */
408
- coupon?: string;
409
- /**
410
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
411
- */
412
- currency?: string;
413
-
414
- items?: Item[];
415
- /**
416
- * Shipping cost.
417
- */
418
- shipping?: number;
419
- /**
420
- * Tax amount.
421
- */
422
- tax?: number;
423
- /**
424
- * A context-specific numeric value which is accumulated automatically for each event type. Values
425
- * can include revenue, distance, time and points. When a value is set, the accompanying `currency`
426
- * parameter should also be defined.
427
- */
428
- value?: number;
429
- /**
430
- * A single ID for a ecommerce group transaction.
431
- */
432
- transaction_id?: string;
433
- }
434
-
435
- export interface RemoveFromCartEventParameters {
436
- items?: Item[];
437
- /**
438
- * A context-specific numeric value which is accumulated automatically for each event type. Values
439
- * can include revenue, distance, time and points. When a value is set, the accompanying `currency`
440
- * parameter should also be defined.
441
- */
442
- value?: number;
443
- /**
444
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
445
- x */
446
- currency?: string;
447
- }
448
-
449
- export interface SearchEventParameters {
450
- search_term: string;
451
- /**
452
- * Number of nights staying at hotel.
453
- */
454
- number_of_nights?: number;
455
- /**
456
- * Number of rooms for travel events.
457
- */
458
- number_of_rooms?: number;
459
- /**
460
- * Number of passengers traveling.
461
- */
462
- number_of_passengers?: number;
463
- /**
464
- * Flight or Travel origin. E.g. `Mountain View, CA`.
465
- */
466
- origin?: string;
467
- /**
468
- * Flight or Travel destination. E.g. `Mountain View, CA`.
469
- */
470
- destination?: string;
471
- /**
472
- * The departure date, check-in date, or rental start date for the item (String). The parameter expects a date formatted as YYYY-MM-DD.
473
- */
474
- start_date?: string;
475
- /**
476
- * The arrival date, check-out date, or rental end date for the item (String). The parameter expects a date formatted as YYYY-MM-DD.
477
- */
478
- end_date?: string;
479
- /**
480
- * Travel class. E.g. `business`.
481
- */
482
- travel_class?: string;
483
- }
484
-
485
- export interface SelectContentEventParameters {
486
- content_type: string;
487
- /**
488
- * An item ID.
489
- */
490
- item_id: string;
491
- }
492
-
493
- export interface SelectItemEventParameters {
494
- items?: Item[];
495
- content_type: string;
496
- /**
497
- * The ID of the list in which the item was presented to the user
498
- */
499
- item_list_id: string;
500
- /**
501
- * The name of the list in which the item was presented to the user
502
- */
503
- item_list_name: string;
504
- }
505
-
506
- export interface SetCheckoutOptionEventParameters {
507
- checkout_step?: EventParams['checkout_step'];
508
- checkout_option?: EventParams['checkout_option'];
509
-
510
- [key: string]: any;
511
- }
512
-
513
- export interface SelectPromotionEventParameters {
514
- /**
515
- * The name of a creative used in a promotional spot
516
- */
517
- creative_name: string;
518
- /**
519
- * The name of a creative slot
520
- */
521
- creative_slot: string;
522
- items?: Item[];
523
- /**
524
- * The location associated with the event. Preferred to be the Google Place ID that corresponds to the associated item but could be overridden to a custom location ID string
525
- */
526
- location_id: string;
527
- /**
528
- * The ID of a product promotion
529
- */
530
- promotion_id: string;
531
- /**
532
- * The name of a product promotion
533
- */
534
- promotion_name: string;
535
- }
536
-
537
- export interface ShareEventParameters {
538
- /**
539
- * Type of content selected.
540
- */
541
- content_type: string;
542
- /**
543
- * An item ID.
544
- */
545
- item_id: string;
546
- /**
547
- * A particular approach used in an operation; for example, "facebook" or "email" in the context of a sign_up or login event.
548
- */
549
- method: string;
550
- }
551
-
552
- export interface SignUpEventParameters {
553
- /**
554
- * A particular approach used in an operation; for example, "facebook" or "email" in the context of a sign_up or login event.
555
- */
556
- method: string;
557
- }
558
-
559
- export interface SpendVirtualCurrencyEventParameters {
560
- /**
561
- * An item name.
562
- */
563
- item_name: string;
564
- /**
565
- * Name of virtual currency type. E.g. `gems`.
566
- */
567
- virtual_currency_name: string;
568
- /**
569
- * A context-specific numeric value which is accumulated automatically for each event type. Values
570
- * can include revenue, distance, time and points. When a value is set, the accompanying `currency`
571
- * parameter should also be defined.
572
- */
573
- value: number;
574
- }
575
-
576
- export interface UnlockAchievementEventParameters {
577
- /**
578
- * Game achievement ID (String).
579
- */
580
- achievement_id: string;
581
- }
582
-
583
- export interface ViewCartEventParameters {
584
- items?: Item[];
585
- /**
586
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
587
- */
588
- currency?: string;
589
- /**
590
- * A context-specific numeric value which is accumulated automatically for each event type. Values
591
- * can include revenue, distance, time and points. When a value is set, the accompanying `currency`
592
- * parameter should also be defined.
593
- */
594
- value?: number;
595
- }
596
-
597
- export interface ViewItemEventParameters {
598
- items?: Item[];
599
- /**
600
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
601
- */
602
- currency?: string;
603
- /**
604
- * A context-specific numeric value which is accumulated automatically for each event type. Values
605
- * can include revenue, distance, time and points. When a value is set, the accompanying `currency`
606
- * parameter should also be defined.
607
- */
608
- value?: number;
609
- }
610
-
611
- export interface ViewSearchResultsParameters {
612
- /**
613
- * The search string/keywords used.
614
- */
615
- search_term: string;
616
- }
617
-
618
- export interface ViewItemListEventParameters {
619
- items?: Item[];
620
- /**
621
- * The ID of the list in which the item was presented to the user
622
- */
623
- item_list_id?: string;
624
- /**
625
- * The name of the list in which the item was presented to the user
626
- */
627
- item_list_name?: string;
628
- }
629
-
630
- export interface ViewPromotionEventParameters {
631
- items?: Item[];
632
- /**
633
- * The location associated with the event. Preferred to be the Google Place ID that corresponds to the associated item but could be overridden to a custom location ID string
634
- */
635
- location_id?: string;
636
- /**
637
- * The name of a creative used in a promotional spot
638
- */
639
- creative_name?: string;
640
- /**
641
- * The name of a creative slot
642
- */
643
- creative_slot?: string;
644
- /**
645
- * The ID of a product promotion
646
- */
647
- promotion_id?: string;
648
- /**
649
- * The name of a product promotion
650
- */
651
- promotion_name?: string;
652
- }
653
-
654
- export interface AddShippingInfoParameters {
655
- items?: Item[];
656
- /**
657
- * Purchase currency in 3 letter [ISO_4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. E.g. `USD`.
658
- */
659
- currency?: string;
660
- /**
661
- * A context-specific numeric value which is accumulated automatically for each event type. Values
662
- * can include revenue, distance, time and points. When a value is set, the accompanying `currency`
663
- * parameter should also be defined.
664
- */
665
- value?: number;
666
- /**
667
- * Coupon code for a purchasable item.
668
- */
669
- coupon?: string;
670
- /**
671
- * The shipping tier (e.g. Ground, Air, Next-day) selected for delivery of the purchased item
672
- */
673
- shipping_tier?: string;
674
- }
675
-
676
- /**
677
- * Unsupported in "Enhanced Ecommerce reports":
678
- * https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event#public-static-final-string-view_search_results
679
- */
680
- // export interface ViewSearchResults {
681
- // /**
682
- // * The search string/keywords used.
683
- // */
684
- // search_term: string;
685
- // }
686
-
687
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type
688
- export interface Statics {}
689
-
690
- /**
691
- * Analytics instance initialization options. Web only.
692
- */
693
- export interface AnalyticsSettings {
694
- config?: GtagConfigParams | EventParams;
695
- }
696
-
697
- /**
698
- * Additional options that can be passed to Analytics method calls such as logEvent. Web only.
699
- */
700
- export interface AnalyticsCallOptions {
701
- /**
702
- * If true, this config or event call applies globally to all Google Analytics properties on the page. Web only.
703
- */
704
- global: boolean;
705
- }
706
-
707
- /**
708
- * A set of common Google Analytics config settings recognized by gtag.js. Web only.
709
- */
710
- export interface GtagConfigParams {
711
- /**
712
- * Whether or not a page view should be sent.
713
- * If set to true (default), a page view is automatically sent upon initialization
714
- * of analytics.
715
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view | Page views }
716
- */
717
- send_page_view?: boolean;
718
- /**
719
- * The title of the page.
720
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view | Page views }
721
- */
722
- page_title?: string;
723
- /**
724
- * The URL of the page.
725
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/page-view | Page views }
726
- */
727
- page_location?: string;
728
- /**
729
- * Defaults to `auto`.
730
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id | Cookies and user identification }
731
- */
732
- cookie_domain?: string;
733
- /**
734
- * Defaults to 63072000 (two years, in seconds).
735
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id | Cookies and user identification }
736
- */
737
- cookie_expires?: number;
738
- /**
739
- * Defaults to `_ga`.
740
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id | Cookies and user identification }
741
- */
742
- cookie_prefix?: string;
743
- /**
744
- * If set to true, will update cookies on each page load.
745
- * Defaults to true.
746
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id | Cookies and user identification }
747
- */
748
- cookie_update?: boolean;
749
- /**
750
- * Appends additional flags to the cookie when set.
751
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/cookies-user-id | Cookies and user identification }
752
- */
753
- cookie_flags?: string;
754
- /**
755
- * If set to false, disables all advertising features with `gtag.js`.
756
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/display-features | Disable advertising features }
757
- */
758
- allow_google_signals?: boolean;
759
- /**
760
- * If set to false, disables all advertising personalization with `gtag.js`.
761
- * See {@link https://developers.google.com/analytics/devguides/collection/ga4/display-features | Disable advertising features }
762
- */
763
- allow_ad_personalization_signals?: boolean;
764
-
765
- [key: string]: unknown;
766
- }
767
-
768
- /**
769
- * Standard gtag.js event parameters. For more information, see the GA4 reference documentation. Web only.
770
- */
771
- export interface EventParams {
772
- checkout_option?: string;
773
- checkout_step?: number;
774
- item_id?: string;
775
- content_type?: string;
776
- coupon?: string;
777
- currency?: string;
778
- description?: string;
779
- fatal?: boolean;
780
- items?: Item[];
781
- method?: string;
782
- number?: string;
783
- promotions?: Promotion[];
784
- screen_name?: string;
785
- /**
786
- * Firebase-specific. Use to log a `screen_name` to Firebase Analytics.
787
- */
788
- firebase_screen?: string;
789
- /**
790
- * Firebase-specific. Use to log a `screen_class` to Firebase Analytics.
791
- */
792
- firebase_screen_class?: string;
793
- search_term?: string;
794
- shipping?: Currency;
795
- tax?: Currency;
796
- transaction_id?: string;
797
- value?: number;
798
- event_label?: string;
799
- event_category?: string;
800
- shipping_tier?: string;
801
- item_list_id?: string;
802
- item_list_name?: string;
803
- promotion_id?: string;
804
- promotion_name?: string;
805
- payment_type?: string;
806
- affiliation?: string;
807
- page_title?: string;
808
- page_location?: string;
809
- page_path?: string;
810
-
811
- [key: string]: unknown;
812
- }
813
-
814
- /**
815
- * Consent status settings for each consent type.
816
- * For more information, see
817
- * {@link https://developers.google.com/tag-platform/tag-manager/templates/consent-apis
818
- * | the GA4 reference documentation for consent state and consent types}.
819
- */
820
- export interface ConsentSettings {
821
- /** Enables storage, such as cookies, related to advertising */
822
- ad_storage?: boolean;
823
- /** Sets consent for sending user data to Google for online advertising purposes */
824
- ad_user_data?: boolean;
825
- /** Sets consent for personalized advertising */
826
- ad_personalization?: boolean;
827
- /** Enables storage, such as cookies, related to analytics (for example, visit duration) */
828
- analytics_storage?: boolean;
829
- /**
830
- * Enables storage that supports the functionality of the website or app such as language settings
831
- */
832
- functionality_storage?: boolean;
833
- /** Enables storage related to personalization such as video recommendations */
834
- personalization_storage?: boolean;
835
- /**
836
- * Enables storage related to security such as authentication functionality, fraud prevention,
837
- * and other user protection.
838
- */
839
- security_storage?: ConsentStatusString;
840
-
841
- [key: string]: unknown;
842
- }
843
-
844
- /**
845
- * Specifies custom options for your Firebase Analytics instance.
846
- * You must set these before initializing `firebase.analytics()`.
847
- */
848
- export interface SettingsOptions {
849
- /** Sets custom name for `gtag` function. */
850
- gtagName?: string;
851
- /** Sets custom name for `dataLayer` array used by `gtag.js`. */
852
- dataLayerName?: string;
853
- }
854
-
855
- /**
856
- * The Firebase Analytics service interface.
857
- *
858
- * > This module is available for the default app only.
859
- *
860
- * #### Example
861
- *
862
- * Get the Analytics service for the default app:
863
- *
864
- * ```js
865
- * const defaultAppAnalytics = firebase.analytics();
866
- * ```
867
- */
868
- export class Module extends FirebaseModule {
869
- /**
870
- * Log a custom event with optional params. Note that there are various limits that applied
871
- * to event parameters (total parameter count, etc), but analytics applies the limits during
872
- * cloud processing, the errors will not be seen as Promise rejections when you call logEvent.
873
- * While integrating this API in your app you are strongly encouraged to enable
874
- * [DebugView](https://firebase.google.com/docs/analytics/debugview) -
875
- * any errors in your events will show up in the firebase web console with links to relevant documentation
876
- *
877
- * #### Example
878
- *
879
- * ```js
880
- * await firebase.analytics().logEvent('product_view', {
881
- * id: '1234',
882
- * });
883
- * ```
884
- *
885
- * > 100 characters is the maximum length for param key names.
886
- *
887
- * @param name Event name must not conflict with any Reserved Events.
888
- * @param params Parameters to be sent and displayed with the event.
889
- * @param options Additional options that can be passed. Web only.
890
- */
891
- logEvent(
892
- name: string,
893
- params?: { [key: string]: any },
894
- options?: AnalyticsCallOptions,
895
- ): Promise<void>;
896
-
897
- /**
898
- * If true, allows the device to collect analytical data and send it to
899
- * Firebase. Useful for GDPR.
900
- *
901
- * #### Example
902
- *
903
- * ```js
904
- * // Disable collection
905
- * await firebase.analytics().setAnalyticsCollectionEnabled(false);
906
- * ```
907
- *
908
- * @param enabled A boolean value representing whether Analytics collection is enabled or disabled. Analytics collection is enabled by default.
909
- */
910
- setAnalyticsCollectionEnabled(enabled: boolean): Promise<void>;
911
-
912
- /**
913
- * Sets the duration of inactivity that terminates the current session.
914
- *
915
- * #### Example
916
- *
917
- * ```js
918
- * // 20 minutes
919
- * await firebase.analytics().setMinimumSessionDuration(900000);
920
- * ```
921
- *
922
- * @param milliseconds The default value is 1800000 (30 minutes).
923
- */
924
- setSessionTimeoutDuration(milliseconds?: number): Promise<void>;
925
-
926
- /**
927
- * Retrieve the app instance id of the application.
928
- *
929
- * #### Example
930
- *
931
- * ```js
932
- * const appInstanceId = await firebase.analytics().getAppInstanceId();
933
- * ```
934
- *
935
- * @returns Returns the app instance id or null on android if FirebaseAnalytics.ConsentType.ANALYTICS_STORAGE has been set to FirebaseAnalytics.ConsentStatus.DENIED and null on iOS if ConsentType.analyticsStorage has been set to ConsentStatus.denied.
936
- */
937
- getAppInstanceId(): Promise<string | null>;
938
-
939
- /**
940
- * Retrieves the session id from the client.
941
- * On iOS, Firebase SDK may return an error that is handled internally and may take many minutes to return a valid value. Check native debug logs for more details.
942
- *
943
- * #### Example
944
- *
945
- * ```js
946
- * const sessionId = await firebase.analytics().getSessionId();
947
- * ```
948
- *
949
- * @returns Returns the session id or null if session is expired, null on android if FirebaseAnalytics.ConsentType.ANALYTICS_STORAGE has been set to FirebaseAnalytics.ConsentStatus.DENIED and null on iOS if ConsentType.analyticsStorage has been set to ConsentStatus.denied.
950
- */
951
- getSessionId(): Promise<number | null>;
952
-
953
- /**
954
- * Gives a user a unique identification.
955
- *
956
- * #### Example
957
- *
958
- * ```js
959
- * // Set User
960
- * await firebase.analytics().setUserId('123456789');
961
- * // Remove User
962
- * await firebase.analytics().setUserId(null);
963
- * ```
964
- *
965
- * @param id Set to null to remove a previously assigned ID from analytics
966
- * events
967
- */
968
- setUserId(id: string | null): Promise<void>;
969
-
970
- /**
971
- * Sets a key/value pair of data on the current user. Each Firebase project can have up to 25 uniquely named (case-sensitive) user properties.
972
- *
973
- * #### Example
974
- *
975
- * ```js
976
- * await firebase.analytics().setUserProperty('account_type', 'gold');
977
- * ```
978
- *
979
- * @param name A user property identifier.
980
- * @param value Set to null to remove a previously assigned ID from analytics events.
981
- */
982
- setUserProperty(name: string, value: string | null): Promise<void>;
983
-
984
- /**
985
- * Sets multiple key/value pairs of data on the current user. Each Firebase project can have up to 25 uniquely named (case-sensitive) user properties.
986
- *
987
- * #### Example
988
- *
989
- * ```js
990
- * await firebase.analytics().setUserProperties({
991
- * account_type: 'gold',
992
- * account_name: 'Gold Badge',
993
- * });
994
- * ```
995
- *
996
- * > When you set user properties, be sure to never include personally identifiable information such as names, social security numbers, or email addresses, even in hashed form.
997
- *
998
- * @react-native-firebase
999
- * @param properties Set a property value to null to remove it.
1000
- * @param options Additional options that can be passed. Web only.
1001
- */
1002
- setUserProperties(
1003
- properties: { [key: string]: string | null },
1004
- options?: AnalyticsCallOptions,
1005
- ): Promise<void>;
1006
-
1007
- /**
1008
- * Clears all analytics data for this instance from the device and resets the app instance ID.
1009
- *
1010
- * #### Example
1011
- *
1012
- * ```js
1013
- * await firebase.analytics().resetAnalyticsData();
1014
- * ```
1015
- */
1016
- resetAnalyticsData(): Promise<void>;
1017
-
1018
- /**
1019
- * E-Commerce Purchase event. This event signifies that an item(s) was purchased by a user. Note: This is different from the in-app purchase event, which is reported
1020
- * automatically for Google Play-based apps.
1021
- *
1022
- * If you supply the `value` parameter, you must also supply the `currency` parameter so that revenue metrics can be computed accurately.
1023
- *
1024
- * Logged event name: `purchase`
1025
- *
1026
- * #### Example
1027
- *
1028
- * ```js
1029
- * await firebase.analytics().logPurchase({
1030
- * value: 100,
1031
- * currency: 'usd',
1032
- * items: [{
1033
- * item_brand: 'cool-shirt-brand',
1034
- * item_id: '23456',
1035
- * item_name: 'orange t-shirt',
1036
- * item_category: 'round necked t-shirts',
1037
- * }]
1038
- * });
1039
- * ```
1040
- */
1041
- logPurchase(params: PurchaseEventParameters): Promise<void>;
1042
-
1043
- /**
1044
- * Sets or clears the screen name and class the user is currently viewing
1045
- *
1046
- * #### Example
1047
- *
1048
- * ```js
1049
- * await firebase.analytics().logScreenView({
1050
- * screen_class: 'ProductScreen',
1051
- * screen_name: 'ProductScreen',
1052
- * });
1053
- * ```
1054
- *
1055
- */
1056
- logScreenView(params: ScreenViewParameters): Promise<void>;
1057
-
1058
- /**
1059
- * Add Payment Info event. This event signifies that a user has submitted their payment information to your app.
1060
- *
1061
- * If you supply the `value` parameter, you must also supply the `currency` parameter so that revenue metrics can be computed accurately.
1062
- *
1063
- * Logged event name: `add_payment_info`
1064
- *
1065
- * #### Example
1066
- *
1067
- * ```js
1068
- * await firebase.analytics().logAddPaymentInfo({
1069
- * value: 100,
1070
- * currency: 'usd',
1071
- * items: [{
1072
- * item_brand: 'cool-shirt-brand',
1073
- * item_id: '23456',
1074
- * item_name: 'orange t-shirt',
1075
- * item_category: 'round necked t-shirts',
1076
- * }]
1077
- * });
1078
- * ```
1079
- */
1080
- logAddPaymentInfo(params: AddPaymentInfoEventParameters): Promise<void>;
1081
-
1082
- /**
1083
- * E-Commerce Add To Cart event.
1084
- *
1085
- * If you supply the `value` parameter, you must also supply the `currency` parameter so that revenue metrics can be computed accurately.
1086
- *
1087
- * Logged event name: `add_to_cart`
1088
- *
1089
- * #### Example
1090
- *
1091
- * ```js
1092
- * await firebase.analytics().logAddToCart({
1093
- * value: 100,
1094
- * currency: 'usd',
1095
- * items: [{
1096
- * item_brand: 'cool-shirt-brand',
1097
- * item_id: '23456',
1098
- * item_name: 'orange t-shirt',
1099
- * item_category: 'round necked t-shirts',
1100
- * }]
1101
- * });
1102
- * ```
1103
- *
1104
- * @param params See {@link analytics.AddToCartEventParameters}.
1105
- */
1106
- logAddToCart(params: AddToCartEventParameters): Promise<void>;
1107
-
1108
- /**
1109
- * E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist.
1110
- * Use this event to identify popular gift items in your app.
1111
- *
1112
- * If you supply the `value` parameter, you must also supply the `currency` parameter so that revenue metrics can be computed accurately.
1113
- *
1114
- * Logged event name: `add_to_wishlist`
1115
- *
1116
- * #### Example
1117
- *
1118
- * ```js
1119
- * await firebase.analytics().logAddToWishlist({
1120
- * value: 100,
1121
- * currency: 'usd',
1122
- * items: [{
1123
- * item_brand: 'cool-shirt-brand',
1124
- * item_id: '23456',
1125
- * item_name: 'orange t-shirt',
1126
- * item_category: 'round necked t-shirts',
1127
- * }]
1128
- * });
1129
- * ```
1130
- *
1131
- * @param params See {@link analytics.AddToWishlistEventParameters}.
1132
- */
1133
- logAddToWishlist(params: AddToWishlistEventParameters): Promise<void>;
1134
-
1135
- /**
1136
- * E-Commerce Add Shipping Info event. This event signifies that a user has submitted their shipping information.
1137
- * Use this event to identify popular gift items in your app.
1138
- *
1139
- * If you supply the `value` parameter, you must also supply the `currency` parameter so that revenue metrics can be computed accurately.
1140
- *
1141
- * Logged event name: `add_shipping_info`
1142
- *
1143
- * #### Example
1144
- *
1145
- * ```js
1146
- * await firebase.analytics().logAddShippingInfo({
1147
- * value: 100,
1148
- * currency: 'usd',
1149
- * items: [{
1150
- * item_brand: 'cool-shirt-brand',
1151
- * item_id: '23456',
1152
- * item_name: 'orange t-shirt',
1153
- * item_category: 'round necked t-shirts',
1154
- * }]
1155
- * });
1156
- * ```
1157
- *
1158
- * @param params See {@link analytics.AddShippingInfoParameters}.
1159
- */
1160
- logAddShippingInfo(params: AddShippingInfoParameters): Promise<void>;
1161
-
1162
- /**
1163
- * App Open event. By logging this event when an App is moved to the foreground, developers can
1164
- * understand how often users leave and return during the course of a Session. Although Sessions
1165
- * are automatically reported, this event can provide further clarification around the continuous
1166
- * engagement of app-users.
1167
- *
1168
- * Logged event name: `app_open`
1169
- *
1170
- * #### Example
1171
- *
1172
- * ```js
1173
- * await firebase.analytics().logAppOpen();
1174
- * ```
1175
- */
1176
- logAppOpen(): Promise<void>;
1177
-
1178
- /**
1179
- * E-Commerce Begin Checkout event. This event signifies that a user has begun the process of
1180
- * checking out.
1181
- *
1182
- * If you supply the `value` parameter, you must also supply the `currency` parameter so that revenue metrics can be computed accurately.
1183
- *
1184
- * Logged event name: `begin_checkout`
1185
- *
1186
- * #### Example
1187
- *
1188
- * ```js
1189
- * await firebase.analytics().logBeginCheckout({
1190
- * value: 100,
1191
- * currency: 'usd',
1192
- * items: [{
1193
- * item_brand: 'cool-shirt-brand',
1194
- * item_id: '23456',
1195
- * item_name: 'orange t-shirt',
1196
- * item_category: 'round necked t-shirts',
1197
- * }]
1198
- * });
1199
- * ```
1200
- *
1201
- * @param params See {@link analytics.BeginCheckoutEventParameters}.
1202
- */
1203
- logBeginCheckout(params?: BeginCheckoutEventParameters): Promise<void>;
1204
-
1205
- /**
1206
- * Log this event to supply the referral details of a re-engagement campaign.
1207
- *
1208
- * Logged event name: `campaign_details`
1209
- *
1210
- * #### Example
1211
- *
1212
- * ```js
1213
- * await firebase.analytics().logCampaignDetails({
1214
- * source: 'email',
1215
- * medium: 'cta_button',
1216
- * campaign: 'newsletter',
1217
- * });
1218
- * ```
1219
- *
1220
- * @param params See {@link analytics.CampaignDetailsEventParameters}.
1221
- */
1222
- logCampaignDetails(params: CampaignDetailsEventParameters): Promise<void>;
1223
-
1224
- /**
1225
- * View Promotion event. This event signifies that a promotion was shown to a user.
1226
- *
1227
- * Logged event name: `view_promotion`
1228
- *
1229
- * #### Example
1230
- *
1231
- * ```js
1232
- * await firebase.analytics().logViewPromotion({
1233
- * creative_name: 'the promotion',
1234
- * creative_slot: 'evening',
1235
- * location_id: 'london',
1236
- * promotion_id: '230593',
1237
- * promotion_name: 'london evening event',
1238
- * });
1239
- * ```
1240
- *
1241
- * @param params See {@link analytics.ViewPromotionEventParameters}.
1242
- */
1243
- logViewPromotion(params: ViewPromotionEventParameters): Promise<void>;
1244
-
1245
- /**
1246
- * Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log this along with
1247
- * {@link analytics.logSpendVirtualCurrency} to better understand your virtual economy.
1248
- *
1249
- * Logged event name: `earn_virtual_currency`
1250
- *
1251
- * #### Example
1252
- *
1253
- * ```js
1254
- * await firebase.analytics().logEarnVirtualCurrency({
1255
- * virtual_currency_name: 'coins',
1256
- * value: 100,
1257
- * });
1258
- * ```
1259
- *
1260
- * @param params See {@link analytics.EarnVirtualCurrencyEventParameters}.
1261
- */
1262
- logEarnVirtualCurrency(params: EarnVirtualCurrencyEventParameters): Promise<void>;
1263
-
1264
- /**
1265
- * Generate Lead event. Log this event when a lead has been generated in the app to understand
1266
- * the efficacy of your install and re-engagement campaigns.
1267
- *
1268
- * If you supply the `value` parameter, you must also supply the `currency` parameter so that revenue metrics can be computed accurately.
1269
- *
1270
- * Logged event name: `generate_lead`
1271
- *
1272
- * #### Example
1273
- *
1274
- * ```js
1275
- * await firebase.analytics().logGenerateLead({
1276
- * currency: 'USD',
1277
- * value: 123,
1278
- * });
1279
- * ```
1280
- *
1281
- * @param params See {@link analytics.GenerateLeadEventParameters}.
1282
- */
1283
- logGenerateLead(params?: GenerateLeadEventParameters): Promise<void>;
1284
-
1285
- /**
1286
- * Join Group event. Log this event when a user joins a group such as a guild, team or family.
1287
- * Use this event to analyze how popular certain groups or social features are in your app
1288
- *
1289
- * Logged event name: `join_group`
1290
- *
1291
- * #### Example
1292
- *
1293
- * ```js
1294
- * await firebase.analytics().logJoinGroup({
1295
- * group_id: '12345',
1296
- * });
1297
- * ```
1298
- *
1299
- * @param params See {@link analytics.JoinGroupEventParameters}.
1300
- */
1301
- logJoinGroup(params: JoinGroupEventParameters): Promise<void>;
1302
-
1303
- /**
1304
- * Level End event.
1305
- *
1306
- * Logged event name: `level_end`
1307
- *
1308
- * #### Example
1309
- *
1310
- * ```js
1311
- * await firebase.analytics().logLevelEnd({
1312
- * level: 12,
1313
- * success: 'true'
1314
- * });
1315
- * ```
1316
- *
1317
- * @param params See {@link analytics.LevelEndEventParameters}.
1318
- */
1319
- logLevelEnd(params: LevelEndEventParameters): Promise<void>;
1320
-
1321
- /**
1322
- * Level Start event.
1323
- *
1324
- * Logged event name: `level_start`
1325
- *
1326
- * #### Example
1327
- *
1328
- * ```js
1329
- * await firebase.analytics().logLevelStart({
1330
- * level: 12,
1331
- * });
1332
- * ```
1333
- *
1334
- * @param params See {@link analytics.LevelStartEventParameters}.
1335
- */
1336
- logLevelStart(params: LevelStartEventParameters): Promise<void>;
1337
-
1338
- /**
1339
- * Level Up event. This event signifies that a player has leveled up in your gaming app.
1340
- * It can help you gauge the level distribution of your userbase and help you identify certain levels that are difficult to pass.
1341
- *
1342
- * Logged event name: `level_up`
1343
- *
1344
- * #### Example
1345
- *
1346
- * ```js
1347
- * await firebase.analytics().logLevelUp({
1348
- * level: 12,
1349
- * character: 'Snake',
1350
- * });
1351
- * ```
1352
- *
1353
- * @param params See {@link analytics.LevelUpEventParameters}.
1354
- */
1355
- logLevelUp(params: LevelUpEventParameters): Promise<void>;
1356
-
1357
- /**
1358
- * Login event. Apps with a login feature can report this event to signify that a user has logged in.
1359
- *
1360
- * Logged event name: `login`
1361
- *
1362
- * #### Example
1363
- *
1364
- * ```js
1365
- * await firebase.analytics().logLogin({
1366
- * method: 'facebook.com',
1367
- * });
1368
- * ```
1369
- *
1370
- * @param params See {@link analytics.LoginEventParameters}.
1371
- */
1372
- logLogin(params: LoginEventParameters): Promise<void>;
1373
-
1374
- /**
1375
- * Post Score event. Log this event when the user posts a score in your gaming app. This event can
1376
- * help you understand how users are actually performing in your game and it can help you correlate
1377
- * high scores with certain audiences or behaviors.
1378
- *
1379
- * Logged event name: `post_score`
1380
- *
1381
- * #### Example
1382
- *
1383
- * ```js
1384
- * await firebase.analytics().logPostScore({
1385
- * score: 567334,
1386
- * level: 3,
1387
- * character: 'Pete',
1388
- * });
1389
- * ```
1390
- *
1391
- * @param params See {@link analytics.PostScoreEventParameters}.
1392
- */
1393
- logPostScore(params: PostScoreEventParameters): Promise<void>;
1394
-
1395
- /**
1396
- * Remove from cart event.
1397
- *
1398
- * Logged event name: `remove_from_cart`
1399
- *
1400
- * #### Example
1401
- *
1402
- * ```js
1403
- * await firebase.analytics().logRemoveFromCart({
1404
- * value: 100,
1405
- * currency: 'usd',
1406
- * items: [{
1407
- * item_brand: 'cool-shirt-brand',
1408
- * item_id: '23456',
1409
- * item_name: 'orange t-shirt',
1410
- * item_category: 'round necked t-shirts',
1411
- * }]
1412
- * });
1413
- * ```
1414
- *
1415
- * @param params See {@link analytics.RemoveFromCartEventParameters}.
1416
- */
1417
- logRemoveFromCart(params: RemoveFromCartEventParameters): Promise<void>;
1418
-
1419
- /**
1420
- * E-Commerce Refund event. This event signifies that a refund was issued.
1421
- *
1422
- * Logged event name: `remove_from_cart`
1423
- *
1424
- * #### Example
1425
- *
1426
- * ```js
1427
- * await firebase.analytics().logRefund({
1428
- * value: 100,
1429
- * currency: 'usd',
1430
- * items: [{
1431
- * item_brand: 'cool-shirt-brand',
1432
- * item_id: '23456',
1433
- * item_name: 'orange t-shirt',
1434
- * item_category: 'round necked t-shirts',
1435
- * }]
1436
- * });
1437
- * ```
1438
- *
1439
- * @param params See {@link analytics.RefundEventParameters}.
1440
- */
1441
- logRefund(params: RefundEventParameters): Promise<void>;
1442
-
1443
- /**
1444
- * Search event. Apps that support search features can use this event to contextualize search
1445
- * operations by supplying the appropriate, corresponding parameters. This event can help you
1446
- * identify the most popular content in your app.
1447
- *
1448
- * Logged event name: `search`
1449
- *
1450
- * #### Example
1451
- *
1452
- * ```js
1453
- * await firebase.analytics().logSearch({
1454
- * search_term: 't-shirts',
1455
- * });
1456
- * ```
1457
- *
1458
- * @param params See {@link analytics.SearchEventParameters}.
1459
- */
1460
- logSearch(params: SearchEventParameters): Promise<void>;
1461
-
1462
- /**
1463
- * Select Content event. This general purpose event signifies that a user has selected some
1464
- * content of a certain type in an app. The content can be any object in your app. This event
1465
- * can help you identify popular content and categories of content in your app.
1466
- *
1467
- * Logged event name: `select_content`
1468
- *
1469
- * #### Example
1470
- *
1471
- * ```js
1472
- * await firebase.analytics().logSelectContent({
1473
- * content_type: 'clothing',
1474
- * item_id: 'abcd',
1475
- * });
1476
- * ```
1477
- *
1478
- * @param params See {@link analytics.SelectContentEventParameters}.
1479
- */
1480
- logSelectContent(params: SelectContentEventParameters): Promise<void>;
1481
-
1482
- /**
1483
- * Select Item event. This event signifies that an item was selected by a user from a list.
1484
- * Use the appropriate parameters to contextualize the event.
1485
- * Use this event to discover the most popular items selected.
1486
- *
1487
- * Logged event name: `select_item`
1488
- *
1489
- * #### Example
1490
- *
1491
- * ```js
1492
- * await firebase.analytics().logSelectItem({
1493
- * item_list_id: '54690834',
1494
- * item_list_name: 't-shirts',
1495
- * items: [{
1496
- * item_brand: 'cool-shirt-brand',
1497
- * item_id: '23456',
1498
- * item_name: 'orange t-shirt',
1499
- * item_category: 'round necked t-shirts',
1500
- * }]
1501
- * });
1502
- * ```
1503
- *
1504
- * @param params See {@link analytics.SelectItemEventParameters}.
1505
- */
1506
- logSelectItem(params: SelectItemEventParameters): Promise<void>;
1507
-
1508
- /**
1509
- * Set checkout option event.
1510
- *
1511
- * Logged event name: `set_checkout_option`
1512
- *
1513
- * #### Example
1514
- *
1515
- * ```js
1516
- * await firebase.analytics().logSetCheckoutOption({
1517
- * checkout_step: 2,
1518
- * checkout_option: 'false',
1519
- * });
1520
- * ```
1521
- *
1522
- * @param params See {@link analytics.SetCheckoutOptionEventParameters}.
1523
- */
1524
- logSetCheckoutOption(params: any): Promise<void>;
1525
-
1526
- /**
1527
- * Share event. Apps with social features can log the Share event to identify the most viral content.
1528
- *
1529
- * Logged event name: `share`
1530
- *
1531
- * #### Example
1532
- *
1533
- * ```js
1534
- * await firebase.analytics().logShare({
1535
- * content_type: 't-shirts',
1536
- * item_id: '12345',
1537
- * method: 'twitter.com',
1538
- * });
1539
- * ```
1540
- *
1541
- * @param params See {@link analytics.ShareEventParameters}.
1542
- */
1543
- logShare(params: ShareEventParameters): Promise<void>;
1544
-
1545
- /**
1546
- * Sign Up event. This event indicates that a user has signed up for an account in your app.
1547
- * The parameter signifies the method by which the user signed up. Use this event to understand
1548
- * the different behaviors between logged in and logged out users.
1549
- *
1550
- * Logged event name: `sign_up`
1551
- *
1552
- * #### Example
1553
- *
1554
- * ```js
1555
- * await firebase.analytics().logSignUp({
1556
- * method: 'facebook.com',
1557
- * });
1558
- * ```
1559
- *
1560
- * @param params See {@link analytics.SignUpEventParameters}.
1561
- */
1562
- logSignUp(params: SignUpEventParameters): Promise<void>;
1563
-
1564
- /**
1565
- * Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can
1566
- * help you identify which virtual goods are the most popular objects of purchase.
1567
- *
1568
- * Logged event name: `spend_virtual_currency`
1569
- *
1570
- * #### Example
1571
- *
1572
- * ```js
1573
- * await firebase.analytics().logSpendVirtualCurrency({
1574
- * item_name: 'battle_pass',
1575
- * virtual_currency_name: 'coins',
1576
- * value: 100,
1577
- * });
1578
- * ```
1579
- *
1580
- * @param params See {@link analytics.SpendVirtualCurrencyEventParameters}.
1581
- */
1582
- logSpendVirtualCurrency(params: SpendVirtualCurrencyEventParameters): Promise<void>;
1583
-
1584
- /**
1585
- * Tutorial Begin event. This event signifies the start of the on-boarding process in your app.
1586
- * Use this in a funnel with {@link analytics#logTutorialComplete} to understand how many users
1587
- * complete this process and move on to the full app experience.
1588
- *
1589
- * Logged event name: `tutorial_begin`
1590
- *
1591
- * #### Example
1592
- *
1593
- * ```js
1594
- * await firebase.analytics().logTutorialBegin();
1595
- * ```
1596
- */
1597
- logTutorialBegin(): Promise<void>;
1598
-
1599
- /**
1600
- * Tutorial End event. Use this event to signify the user's completion of your app's on-boarding process.
1601
- * Add this to a funnel with {@link analytics#logTutorialBegin} to understand how many users
1602
- * complete this process and move on to the full app experience.
1603
- *
1604
- * Logged event name: `tutorial_complete`
1605
- *
1606
- * #### Example
1607
- *
1608
- * ```js
1609
- * await firebase.analytics().logTutorialComplete();
1610
- * ```
1611
- */
1612
- logTutorialComplete(): Promise<void>;
1613
-
1614
- /**
1615
- * Select promotion event. This event signifies that a user has selected a promotion offer. Use the
1616
- * appropriate parameters to contextualize the event, such as the item(s) for which the promotion applies.
1617
- *
1618
- * Logged event name: `select_promotion`
1619
- *
1620
- * #### Example
1621
- *
1622
- * ```js
1623
- * await firebase.analytics().logSelectPromotion({
1624
- * creative_name: 'the promotion',
1625
- * creative_slot: 'evening',
1626
- * location_id: 'london',
1627
- * promotion_id: '230593',
1628
- * promotion_name: 'london evening event',
1629
- * });
1630
- * ```
1631
- * @param params See {@link analytics.SelectPromotionEventParameters}.
1632
- */
1633
- logSelectPromotion(params: SelectPromotionEventParameters): Promise<void>;
1634
-
1635
- /**
1636
- * Unlock Achievement event. Log this event when the user has unlocked an achievement in your game.
1637
- * Since achievements generally represent the breadth of a gaming experience, this event can help
1638
- * you understand how many users are experiencing all that your game has to offer.
1639
- *
1640
- * Logged event name: `unlock_achievement`
1641
- *
1642
- * #### Example
1643
- *
1644
- * ```js
1645
- * await firebase.analytics().logUnlockAchievement({
1646
- * achievement_id: '12345',
1647
- * });
1648
- * ```
1649
- *
1650
- * @param params See {@link analytics.UnlockAchievementEventParameters}.
1651
- */
1652
- logUnlockAchievement(params: UnlockAchievementEventParameters): Promise<void>;
1653
-
1654
- /**
1655
- * View Item event. This event signifies that some content was shown to the user. This content
1656
- * may be a product, a screen or just a simple image or text. Use the appropriate parameters
1657
- * to contextualize the event. Use this event to discover the most popular items viewed in your app.
1658
- *
1659
- * If you supply the `value` parameter, you must also supply the `currency` parameter so that revenue metrics can be computed accurately.
1660
- *
1661
- * Logged event name: `view_item`
1662
- *
1663
- * #### Example
1664
- *
1665
- * ```js
1666
- * await firebase.analytics().logViewItem({
1667
- * value: 100,
1668
- * currency: 'usd',
1669
- * items: [{
1670
- * item_brand: 'cool-shirt-brand',
1671
- * item_id: '23456',
1672
- * item_name: 'orange t-shirt',
1673
- * item_category: 'round necked t-shirts',
1674
- * }]
1675
- * });
1676
- * ```
1677
- *
1678
- * @param params See {@link analytics.ViewItemEventParameters}.
1679
- */
1680
- logViewItem(params: ViewItemEventParameters): Promise<void>;
1681
-
1682
- /**
1683
- * E-commerce View Cart event. This event signifies that a user has viewed their cart. Use this to analyze your purchase funnel.
1684
- *
1685
- * If you supply the `value` parameter, you must also supply the `currency` parameter so that revenue metrics can be computed accurately.
1686
- *
1687
- * Logged event name: `view_cart`
1688
- *
1689
- * #### Example
1690
- *
1691
- * ```js
1692
- * await firebase.analytics().logViewCart({
1693
- * value: 100,
1694
- * currency: 'usd',
1695
- * items: [{
1696
- * item_brand: 'cool-shirt-brand',
1697
- * item_id: '23456',
1698
- * item_name: 'orange t-shirt',
1699
- * item_category: 'round necked t-shirts',
1700
- * }]
1701
- * });
1702
- * ```
1703
- *
1704
- * @param params See {@link analytics.ViewCartEventParameters}.
1705
- */
1706
- logViewCart(params: ViewCartEventParameters): Promise<void>;
1707
-
1708
- /**
1709
- * View Item List event. Log this event when the user has been presented with a list of items of a certain category.
1710
- *
1711
- * Logged event name: `view_item_list`
1712
- *
1713
- * #### Example
1714
- *
1715
- * ```js
1716
- * await firebase.analytics().logViewItemList({
1717
- * item_list_name: 't-shirts',
1718
- * });
1719
- * ```
1720
- *
1721
- * @param params See {@link analytics.ViewItemListEventParameters}.
1722
- */
1723
- logViewItemList(params: ViewItemListEventParameters): Promise<void>;
1724
-
1725
- /**
1726
- * View Search Results event. Log this event when the user has been presented with the results of a search.
1727
- *
1728
- * Logged event name: `view_search_results`
1729
- *
1730
- * #### Example
1731
- *
1732
- * ```js
1733
- * await firebase.analytics().logViewSearchResults({
1734
- * search_term: 'clothing',
1735
- * });
1736
- * ```
1737
- *
1738
- * @param params See {@link analytics.ViewSearchResultsParameters}.
1739
- */
1740
- logViewSearchResults(params: ViewSearchResultsParameters): Promise<void>;
1741
-
1742
- /**
1743
- * Adds parameters that will be set on every event logged from the SDK, including automatic ones.
1744
- *
1745
- * #### Example
1746
- *
1747
- * ```js
1748
- * await firebase.analytics().setDefaultEventParameters({
1749
- * userId: '1234',
1750
- * });
1751
- * ```
1752
- *
1753
- *
1754
- * @param params Parameters to be added to the map of parameters added to every event.
1755
- * They will be added to the map of default event parameters, replacing any existing
1756
- * parameter with the same name. Valid parameter values are String, long, and double.
1757
- * Setting a key's value to null will clear that parameter. Passing in a null bundle
1758
- * will clear all parameters.
1759
- */
1760
- setDefaultEventParameters(params?: { [key: string]: any }): Promise<void>;
1761
-
1762
- /**
1763
- * Start privacy-sensitive on-device conversion management.
1764
- * This is iOS-only.
1765
- * This is a no-op if you do not include '$RNFirebaseAnalyticsGoogleAppMeasurementOnDeviceConversion = true' in your Podfile.
1766
- *
1767
- * @platform ios
1768
- * @param emailAddress email address, properly formatted complete with domain name e.g, 'user@example.com'
1769
- */
1770
- initiateOnDeviceConversionMeasurementWithEmailAddress(emailAddress: string): Promise<void>;
1771
-
1772
- /**
1773
- * Start privacy-sensitive on-device conversion management.
1774
- * This is iOS-only.
1775
- * This is a no-op if you do not include '$RNFirebaseAnalyticsGoogleAppMeasurementOnDeviceConversion = true' in your Podfile.
1776
- * You need to pass the sha256-hashed of normalized email address to this function. See [this link](https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3#use-hashed-credentials) for more information.
1777
- *
1778
- * @platform ios
1779
- * @param hashedEmailAddress sha256-hashed of normalized email address, properly formatted complete with domain name e.g, 'user@example.com'
1780
- */
1781
- initiateOnDeviceConversionMeasurementWithHashedEmailAddress(
1782
- hashedEmailAddress: string,
1783
- ): Promise<void>;
1784
-
1785
- /**
1786
- * Start privacy-sensitive on-device conversion management.
1787
- * This is iOS-only.
1788
- * This is a no-op if you do not include '$RNFirebaseAnalyticsGoogleAppMeasurementOnDeviceConversion = true' in your Podfile.
1789
- *
1790
- * @platform ios
1791
- * @param phoneNumber phone number in E.164 format - that is a leading + sign, then up to 15 digits, no dashes or spaces.
1792
- */
1793
- initiateOnDeviceConversionMeasurementWithPhoneNumber(phoneNumber: string): Promise<void>;
1794
-
1795
- /**
1796
- * Start privacy-sensitive on-device conversion management.
1797
- * This is iOS-only.
1798
- * This is a no-op if you do not include '$RNFirebaseAnalyticsGoogleAppMeasurementOnDeviceConversion = true' in your Podfile.
1799
- * You need to pass the sha256-hashed of phone number in E.164 format. See [this link](https://firebase.google.com/docs/tutorials/ads-ios-on-device-measurement/step-3#use-hashed-credentials) for more information.
1800
- *
1801
- * @platform ios
1802
- * @param hashedPhoneNumber sha256-hashed of normalized phone number in E.164 format - that is a leading + sign, then up to 15 digits, no dashes or spaces.
1803
- */
1804
- initiateOnDeviceConversionMeasurementWithHashedPhoneNumber(
1805
- hashedPhoneNumber: string,
1806
- ): Promise<void>;
1807
-
1808
- /**
1809
- * For Consent Mode!
1810
- *
1811
- * #### Example
1812
- *
1813
- * ```js
1814
- * // Disable consent
1815
- * await firebase.analytics().setConsent({
1816
- * ad_personalization: false,
1817
- * analytics_storage: false,
1818
- * ad_storage: false,
1819
- * ad_user_data: false,
1820
- * });
1821
- * ```
1822
- *
1823
- * Sets the applicable end user consent state (e.g., for device identifiers) for this app on this device.
1824
- * Use the consent map to specify individual consent type values.
1825
- * Settings are persisted across app sessions.
1826
- * @param consentSettings Consent status settings for each consent type.
1827
- */
1828
- setConsent(consentSettings: ConsentSettings): Promise<void>;
1829
- }
1830
-
1831
- /**
1832
- * Any custom event name string not in the standard list of recommended event names.
1833
- */
1834
- export declare type CustomEventName<T> = T extends EventNameString ? never : T;
1835
- /**
1836
- * Type for standard Google Analytics event names. logEvent also accepts any custom string and interprets it as a custom event name.
1837
- * See https://firebase.google.com/docs/reference/js/analytics.md#eventnamestring
1838
- */
1839
- export declare type EventNameString =
1840
- | 'add_payment_info'
1841
- | 'add_shipping_info'
1842
- | 'add_to_cart'
1843
- | 'add_to_wishlist'
1844
- | 'begin_checkout'
1845
- | 'checkout_progress'
1846
- | 'exception'
1847
- | 'generate_lead'
1848
- | 'login'
1849
- | 'page_view'
1850
- | 'purchase'
1851
- | 'refund'
1852
- | 'remove_from_cart'
1853
- | 'screen_view'
1854
- | 'search'
1855
- | 'select_content'
1856
- | 'select_item'
1857
- | 'select_promotion'
1858
- | 'set_checkout_option'
1859
- | 'share'
1860
- | 'sign_up'
1861
- | 'timing_complete'
1862
- | 'view_cart'
1863
- | 'view_item'
1864
- | 'view_item_list'
1865
- | 'view_promotion'
1866
- | 'view_search_results';
1867
- }
1868
-
1869
- declare const defaultExport: ReactNativeFirebase.FirebaseModuleWithStatics<
1870
- FirebaseAnalyticsTypes.Module,
1871
- FirebaseAnalyticsTypes.Statics
1872
- >;
1873
-
1874
- export const firebase: ReactNativeFirebase.Module & {
1875
- analytics: typeof defaultExport;
1876
- app(
1877
- name?: string,
1878
- ): ReactNativeFirebase.FirebaseApp & { analytics(): FirebaseAnalyticsTypes.Module };
1879
- };
1880
-
1881
- export * from './modular';
1882
-
1883
- export default defaultExport;
1884
-
1885
- /**
1886
- * Attach namespace to `firebase.` and `FirebaseApp.`.
1887
- */
1888
- declare module '@react-native-firebase/app' {
1889
- namespace ReactNativeFirebase {
1890
- import FirebaseModuleWithStatics = ReactNativeFirebase.FirebaseModuleWithStatics;
1891
-
1892
- interface Module {
1893
- analytics: FirebaseModuleWithStatics<
1894
- FirebaseAnalyticsTypes.Module,
1895
- FirebaseAnalyticsTypes.Statics
1896
- >;
1897
- }
1898
-
1899
- interface FirebaseApp {
1900
- analytics(): FirebaseAnalyticsTypes.Module;
1901
- }
1902
- }
1903
- }