File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,15 @@ static NSString *const kFIREventPurchaseRefund NS_SWIFT_NAME(AnalyticsEventPurch
263
263
static NSString *const kFIREventRemoveFromCart NS_SWIFT_NAME (AnalyticsEventRemoveFromCart) =
264
264
@"remove_from_cart";
265
265
266
+ // / Screen View event. This event signifies a screen view. Use this when a screen transition occurs.
267
+ // / This event can be logged irrespective of whether automatic screen tracking is enabled. Params:
268
+ // /
269
+ // / <ul>
270
+ // / <li>@c kFIRParameterScreenClass (NSString) (optional)</li>
271
+ // / <li>@c kFIRParameterScreenName (NSString) (optional)</li>
272
+ // / </ul>
273
+ static NSString *const kFIREventScreenView NS_SWIFT_NAME (AnalyticsEventScreenView) = @"screen_view";
274
+
266
275
// / Search event. Apps that support search features can use this event to contextualize search
267
276
// / operations by supplying the appropriate, corresponding parameters. This event can help you
268
277
// / identify the most popular content in your app. Params:
Original file line number Diff line number Diff line change @@ -385,6 +385,26 @@ static NSString *const kFIRParameterQuantity NS_SWIFT_NAME(AnalyticsParameterQua
385
385
// / </pre>
386
386
static NSString *const kFIRParameterScore NS_SWIFT_NAME (AnalyticsParameterScore) = @"score";
387
387
388
+ // / Current screen class, such as the class name of the UIViewController, logged with screen_view
389
+ // / event and added to every event (NSString). <pre>
390
+ // / NSDictionary *params = @{
391
+ // / kFIRParameterScreenClass : @"LoginViewController",
392
+ // / // ...
393
+ // / };
394
+ // / </pre>
395
+ static NSString *const kFIRParameterScreenClass NS_SWIFT_NAME (AnalyticsParameterScreenClass) =
396
+ @"screen_class";
397
+
398
+ // / Current screen name, such as the name of the UIViewController, logged with screen_view event and
399
+ // / added to every event (NSString). <pre>
400
+ // / NSDictionary *params = @{
401
+ // / kFIRParameterScreenName : @"LoginView",
402
+ // / // ...
403
+ // / };
404
+ // / </pre>
405
+ static NSString *const kFIRParameterScreenName NS_SWIFT_NAME (AnalyticsParameterScreenName) =
406
+ @"screen_name";
407
+
388
408
// / The search string/keywords used (NSString).
389
409
// / <pre>
390
410
// / NSDictionary *params = @{
You can’t perform that action at this time.
0 commit comments