Nenhuma descrição

FIREventNames.h 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. /// @file FIREventNames.h
  2. ///
  3. /// Predefined event names.
  4. ///
  5. /// An Event is an important occurrence in your app that you want to measure. You can report up to
  6. /// 500 different types of Events per app and you can associate up to 25 unique parameters with each
  7. /// Event type. Some common events are suggested below, but you may also choose to specify custom
  8. /// Event types that are associated with your specific app. Each event type is identified by a
  9. /// unique name. Event names can be up to 40 characters long, may only contain alphanumeric
  10. /// characters and underscores ("_"), and must start with an alphabetic character. The "firebase_",
  11. /// "google_", and "ga_" prefixes are reserved and should not be used.
  12. #import <Foundation/Foundation.h>
  13. /// Add Payment Info event. This event signifies that a user has submitted their payment information
  14. /// to your app.
  15. static NSString *const kFIREventAddPaymentInfo NS_SWIFT_NAME(AnalyticsEventAddPaymentInfo) =
  16. @"add_payment_info";
  17. /// E-Commerce Add To Cart event. This event signifies that an item was added to a cart for
  18. /// purchase. Add this event to a funnel with kFIREventEcommercePurchase to gauge the effectiveness
  19. /// of your checkout process. Note: If you supply the @c kFIRParameterValue parameter, you must
  20. /// also supply the @c kFIRParameterCurrency parameter so that revenue metrics can be computed
  21. /// accurately. Params:
  22. ///
  23. /// <ul>
  24. /// <li>@c kFIRParameterQuantity (signed 64-bit integer as NSNumber)</li>
  25. /// <li>@c kFIRParameterItemID (NSString)</li>
  26. /// <li>@c kFIRParameterItemName (NSString)</li>
  27. /// <li>@c kFIRParameterItemCategory (NSString)</li>
  28. /// <li>@c kFIRParameterItemLocationID (NSString) (optional)</li>
  29. /// <li>@c kFIRParameterPrice (double as NSNumber) (optional)</li>
  30. /// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
  31. /// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
  32. /// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
  33. /// <li>@c kFIRParameterDestination (NSString) (optional)</li>
  34. /// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
  35. /// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
  36. /// </ul>
  37. static NSString *const kFIREventAddToCart NS_SWIFT_NAME(AnalyticsEventAddToCart) = @"add_to_cart";
  38. /// E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist.
  39. /// Use this event to identify popular gift items in your app. Note: If you supply the
  40. /// @c kFIRParameterValue parameter, you must also supply the @c kFIRParameterCurrency
  41. /// parameter so that revenue metrics can be computed accurately. Params:
  42. ///
  43. /// <ul>
  44. /// <li>@c kFIRParameterQuantity (signed 64-bit integer as NSNumber)</li>
  45. /// <li>@c kFIRParameterItemID (NSString)</li>
  46. /// <li>@c kFIRParameterItemName (NSString)</li>
  47. /// <li>@c kFIRParameterItemCategory (NSString)</li>
  48. /// <li>@c kFIRParameterItemLocationID (NSString) (optional)</li>
  49. /// <li>@c kFIRParameterPrice (double as NSNumber) (optional)</li>
  50. /// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
  51. /// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
  52. /// </ul>
  53. static NSString *const kFIREventAddToWishlist NS_SWIFT_NAME(AnalyticsEventAddToWishlist) =
  54. @"add_to_wishlist";
  55. /// App Open event. By logging this event when an App becomes active, developers can understand how
  56. /// often users leave and return during the course of a Session. Although Sessions are automatically
  57. /// reported, this event can provide further clarification around the continuous engagement of
  58. /// app-users.
  59. static NSString *const kFIREventAppOpen NS_SWIFT_NAME(AnalyticsEventAppOpen) = @"app_open";
  60. /// E-Commerce Begin Checkout event. This event signifies that a user has begun the process of
  61. /// checking out. Add this event to a funnel with your kFIREventEcommercePurchase event to gauge the
  62. /// effectiveness of your checkout process. Note: If you supply the @c kFIRParameterValue
  63. /// parameter, you must also supply the @c kFIRParameterCurrency parameter so that revenue
  64. /// metrics can be computed accurately. Params:
  65. ///
  66. /// <ul>
  67. /// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
  68. /// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
  69. /// <li>@c kFIRParameterTransactionID (NSString) (optional)</li>
  70. /// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
  71. /// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
  72. /// <li>@c kFIRParameterNumberOfNights (signed 64-bit integer as NSNumber) (optional) for
  73. /// hotel bookings</li>
  74. /// <li>@c kFIRParameterNumberOfRooms (signed 64-bit integer as NSNumber) (optional) for
  75. /// hotel bookings</li>
  76. /// <li>@c kFIRParameterNumberOfPassengers (signed 64-bit integer as NSNumber) (optional)
  77. /// for travel bookings</li>
  78. /// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
  79. /// <li>@c kFIRParameterDestination (NSString) (optional)</li>
  80. /// <li>@c kFIRParameterTravelClass (NSString) (optional) for travel bookings</li>
  81. /// </ul>
  82. static NSString *const kFIREventBeginCheckout NS_SWIFT_NAME(AnalyticsEventBeginCheckout) =
  83. @"begin_checkout";
  84. /// Campaign Detail event. Log this event to supply the referral details of a re-engagement
  85. /// campaign. Note: you must supply at least one of the required parameters kFIRParameterSource,
  86. /// kFIRParameterMedium or kFIRParameterCampaign. Params:
  87. ///
  88. /// <ul>
  89. /// <li>@c kFIRParameterSource (NSString)</li>
  90. /// <li>@c kFIRParameterMedium (NSString)</li>
  91. /// <li>@c kFIRParameterCampaign (NSString)</li>
  92. /// <li>@c kFIRParameterTerm (NSString) (optional)</li>
  93. /// <li>@c kFIRParameterContent (NSString) (optional)</li>
  94. /// <li>@c kFIRParameterAdNetworkClickID (NSString) (optional)</li>
  95. /// <li>@c kFIRParameterCP1 (NSString) (optional)</li>
  96. /// </ul>
  97. static NSString *const kFIREventCampaignDetails NS_SWIFT_NAME(AnalyticsEventCampaignDetails) =
  98. @"campaign_details";
  99. /// Checkout progress. Params:
  100. ///
  101. /// <ul>
  102. /// <li>@c kFIRParameterCheckoutStep (unsigned 64-bit integer as NSNumber)</li>
  103. /// <li>@c kFIRParameterCheckoutOption (NSString) (optional)</li>
  104. /// </ul>
  105. static NSString *const kFIREventCheckoutProgress NS_SWIFT_NAME(AnalyticsEventCheckoutProgress) =
  106. @"checkout_progress";
  107. /// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log
  108. /// this along with @c kFIREventSpendVirtualCurrency to better understand your virtual economy.
  109. /// Params:
  110. ///
  111. /// <ul>
  112. /// <li>@c kFIRParameterVirtualCurrencyName (NSString)</li>
  113. /// <li>@c kFIRParameterValue (signed 64-bit integer or double as NSNumber)</li>
  114. /// </ul>
  115. static NSString *const kFIREventEarnVirtualCurrency
  116. NS_SWIFT_NAME(AnalyticsEventEarnVirtualCurrency) = @"earn_virtual_currency";
  117. /// E-Commerce Purchase event. This event signifies that an item was purchased by a user. Note:
  118. /// This is different from the in-app purchase event, which is reported automatically for App
  119. /// Store-based apps. Note: If you supply the @c kFIRParameterValue parameter, you must also
  120. /// supply the @c kFIRParameterCurrency parameter so that revenue metrics can be computed
  121. /// accurately. Params:
  122. ///
  123. /// <ul>
  124. /// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
  125. /// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
  126. /// <li>@c kFIRParameterTransactionID (NSString) (optional)</li>
  127. /// <li>@c kFIRParameterTax (double as NSNumber) (optional)</li>
  128. /// <li>@c kFIRParameterShipping (double as NSNumber) (optional)</li>
  129. /// <li>@c kFIRParameterCoupon (NSString) (optional)</li>
  130. /// <li>@c kFIRParameterLocation (NSString) (optional)</li>
  131. /// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
  132. /// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
  133. /// <li>@c kFIRParameterNumberOfNights (signed 64-bit integer as NSNumber) (optional) for
  134. /// hotel bookings</li>
  135. /// <li>@c kFIRParameterNumberOfRooms (signed 64-bit integer as NSNumber) (optional) for
  136. /// hotel bookings</li>
  137. /// <li>@c kFIRParameterNumberOfPassengers (signed 64-bit integer as NSNumber) (optional)
  138. /// for travel bookings</li>
  139. /// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
  140. /// <li>@c kFIRParameterDestination (NSString) (optional)</li>
  141. /// <li>@c kFIRParameterTravelClass (NSString) (optional) for travel bookings</li>
  142. /// </ul>
  143. static NSString *const kFIREventEcommercePurchase NS_SWIFT_NAME(AnalyticsEventEcommercePurchase) =
  144. @"ecommerce_purchase";
  145. /// Generate Lead event. Log this event when a lead has been generated in the app to understand the
  146. /// efficacy of your install and re-engagement campaigns. Note: If you supply the
  147. /// @c kFIRParameterValue parameter, you must also supply the @c kFIRParameterCurrency
  148. /// parameter so that revenue metrics can be computed accurately. Params:
  149. ///
  150. /// <ul>
  151. /// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
  152. /// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
  153. /// </ul>
  154. static NSString *const kFIREventGenerateLead NS_SWIFT_NAME(AnalyticsEventGenerateLead) =
  155. @"generate_lead";
  156. /// Join Group event. Log this event when a user joins a group such as a guild, team or family. Use
  157. /// this event to analyze how popular certain groups or social features are in your app. Params:
  158. ///
  159. /// <ul>
  160. /// <li>@c kFIRParameterGroupID (NSString)</li>
  161. /// </ul>
  162. static NSString *const kFIREventJoinGroup NS_SWIFT_NAME(AnalyticsEventJoinGroup) = @"join_group";
  163. /// Level Up event. This event signifies that a player has leveled up in your gaming app. It can
  164. /// help you gauge the level distribution of your userbase and help you identify certain levels that
  165. /// are difficult to pass. Params:
  166. ///
  167. /// <ul>
  168. /// <li>@c kFIRParameterLevel (signed 64-bit integer as NSNumber)</li>
  169. /// <li>@c kFIRParameterCharacter (NSString) (optional)</li>
  170. /// </ul>
  171. static NSString *const kFIREventLevelUp NS_SWIFT_NAME(AnalyticsEventLevelUp) = @"level_up";
  172. /// Login event. Apps with a login feature can report this event to signify that a user has logged
  173. /// in.
  174. static NSString *const kFIREventLogin NS_SWIFT_NAME(AnalyticsEventLogin) = @"login";
  175. /// Post Score event. Log this event when the user posts a score in your gaming app. This event can
  176. /// help you understand how users are actually performing in your game and it can help you correlate
  177. /// high scores with certain audiences or behaviors. Params:
  178. ///
  179. /// <ul>
  180. /// <li>@c kFIRParameterScore (signed 64-bit integer as NSNumber)</li>
  181. /// <li>@c kFIRParameterLevel (signed 64-bit integer as NSNumber) (optional)</li>
  182. /// <li>@c kFIRParameterCharacter (NSString) (optional)</li>
  183. /// </ul>
  184. static NSString *const kFIREventPostScore NS_SWIFT_NAME(AnalyticsEventPostScore) = @"post_score";
  185. /// Present Offer event. This event signifies that the app has presented a purchase offer to a user.
  186. /// Add this event to a funnel with the kFIREventAddToCart and kFIREventEcommercePurchase to gauge
  187. /// your conversion process. Note: If you supply the @c kFIRParameterValue parameter, you must
  188. /// also supply the @c kFIRParameterCurrency parameter so that revenue metrics can be computed
  189. /// accurately. Params:
  190. ///
  191. /// <ul>
  192. /// <li>@c kFIRParameterQuantity (signed 64-bit integer as NSNumber)</li>
  193. /// <li>@c kFIRParameterItemID (NSString)</li>
  194. /// <li>@c kFIRParameterItemName (NSString)</li>
  195. /// <li>@c kFIRParameterItemCategory (NSString)</li>
  196. /// <li>@c kFIRParameterItemLocationID (NSString) (optional)</li>
  197. /// <li>@c kFIRParameterPrice (double as NSNumber) (optional)</li>
  198. /// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
  199. /// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
  200. /// </ul>
  201. static NSString *const kFIREventPresentOffer NS_SWIFT_NAME(AnalyticsEventPresentOffer) =
  202. @"present_offer";
  203. /// E-Commerce Purchase Refund event. This event signifies that an item purchase was refunded.
  204. /// Note: If you supply the @c kFIRParameterValue parameter, you must also supply the
  205. /// @c kFIRParameterCurrency parameter so that revenue metrics can be computed accurately.
  206. /// Params:
  207. ///
  208. /// <ul>
  209. /// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
  210. /// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
  211. /// <li>@c kFIRParameterTransactionID (NSString) (optional)</li>
  212. /// </ul>
  213. static NSString *const kFIREventPurchaseRefund NS_SWIFT_NAME(AnalyticsEventPurchaseRefund) =
  214. @"purchase_refund";
  215. /// Remove from cart event. Params:
  216. ///
  217. /// <ul>
  218. /// <li>@c kFIRParameterQuantity (signed 64-bit integer as NSNumber)</li>
  219. /// <li>@c kFIRParameterItemID (NSString)</li>
  220. /// <li>@c kFIRParameterItemName (NSString)</li>
  221. /// <li>@c kFIRParameterItemCategory (NSString)</li>
  222. /// <li>@c kFIRParameterItemLocationID (NSString) (optional)</li>
  223. /// <li>@c kFIRParameterPrice (double as NSNumber) (optional)</li>
  224. /// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
  225. /// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
  226. /// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
  227. /// <li>@c kFIRParameterDestination (NSString) (optional)</li>
  228. /// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
  229. /// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
  230. /// </ul>
  231. static NSString *const kFIREventRemoveFromCart NS_SWIFT_NAME(AnalyticsEventRemoveFromCart) =
  232. @"remove_from_cart";
  233. /// Search event. Apps that support search features can use this event to contextualize search
  234. /// operations by supplying the appropriate, corresponding parameters. This event can help you
  235. /// identify the most popular content in your app. Params:
  236. ///
  237. /// <ul>
  238. /// <li>@c kFIRParameterSearchTerm (NSString)</li>
  239. /// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
  240. /// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
  241. /// <li>@c kFIRParameterNumberOfNights (signed 64-bit integer as NSNumber) (optional) for
  242. /// hotel bookings</li>
  243. /// <li>@c kFIRParameterNumberOfRooms (signed 64-bit integer as NSNumber) (optional) for
  244. /// hotel bookings</li>
  245. /// <li>@c kFIRParameterNumberOfPassengers (signed 64-bit integer as NSNumber) (optional)
  246. /// for travel bookings</li>
  247. /// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
  248. /// <li>@c kFIRParameterDestination (NSString) (optional)</li>
  249. /// <li>@c kFIRParameterTravelClass (NSString) (optional) for travel bookings</li>
  250. /// </ul>
  251. static NSString *const kFIREventSearch NS_SWIFT_NAME(AnalyticsEventSearch) = @"search";
  252. /// Select Content event. This general purpose event signifies that a user has selected some content
  253. /// of a certain type in an app. The content can be any object in your app. This event can help you
  254. /// identify popular content and categories of content in your app. Params:
  255. ///
  256. /// <ul>
  257. /// <li>@c kFIRParameterContentType (NSString)</li>
  258. /// <li>@c kFIRParameterItemID (NSString)</li>
  259. /// </ul>
  260. static NSString *const kFIREventSelectContent NS_SWIFT_NAME(AnalyticsEventSelectContent) =
  261. @"select_content";
  262. /// Set checkout option. Params:
  263. ///
  264. /// <ul>
  265. /// <li>@c kFIRParameterCheckoutStep (unsigned 64-bit integer as NSNumber)</li>
  266. /// <li>@c kFIRParameterCheckoutOption (NSString)</li>
  267. /// </ul>
  268. static NSString *const kFIREventSetCheckoutOption NS_SWIFT_NAME(AnalyticsEventSetCheckoutOption) =
  269. @"set_checkout_option";
  270. /// Share event. Apps with social features can log the Share event to identify the most viral
  271. /// content. Params:
  272. ///
  273. /// <ul>
  274. /// <li>@c kFIRParameterContentType (NSString)</li>
  275. /// <li>@c kFIRParameterItemID (NSString)</li>
  276. /// </ul>
  277. static NSString *const kFIREventShare NS_SWIFT_NAME(AnalyticsEventShare) = @"share";
  278. /// Sign Up event. This event indicates that a user has signed up for an account in your app. The
  279. /// parameter signifies the method by which the user signed up. Use this event to understand the
  280. /// different behaviors between logged in and logged out users. Params:
  281. ///
  282. /// <ul>
  283. /// <li>@c kFIRParameterSignUpMethod (NSString)</li>
  284. /// </ul>
  285. static NSString *const kFIREventSignUp NS_SWIFT_NAME(AnalyticsEventSignUp) = @"sign_up";
  286. /// Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can
  287. /// help you identify which virtual goods are the most popular objects of purchase. Params:
  288. ///
  289. /// <ul>
  290. /// <li>@c kFIRParameterItemName (NSString)</li>
  291. /// <li>@c kFIRParameterVirtualCurrencyName (NSString)</li>
  292. /// <li>@c kFIRParameterValue (signed 64-bit integer or double as NSNumber)</li>
  293. /// </ul>
  294. static NSString *const kFIREventSpendVirtualCurrency
  295. NS_SWIFT_NAME(AnalyticsEventSpendVirtualCurrency) = @"spend_virtual_currency";
  296. /// Tutorial Begin event. This event signifies the start of the on-boarding process in your app. Use
  297. /// this in a funnel with kFIREventTutorialComplete to understand how many users complete this
  298. /// process and move on to the full app experience.
  299. static NSString *const kFIREventTutorialBegin NS_SWIFT_NAME(AnalyticsEventTutorialBegin) =
  300. @"tutorial_begin";
  301. /// Tutorial End event. Use this event to signify the user's completion of your app's on-boarding
  302. /// process. Add this to a funnel with kFIREventTutorialBegin to gauge the completion rate of your
  303. /// on-boarding process.
  304. static NSString *const kFIREventTutorialComplete NS_SWIFT_NAME(AnalyticsEventTutorialComplete) =
  305. @"tutorial_complete";
  306. /// Unlock Achievement event. Log this event when the user has unlocked an achievement in your
  307. /// game. Since achievements generally represent the breadth of a gaming experience, this event can
  308. /// help you understand how many users are experiencing all that your game has to offer. Params:
  309. ///
  310. /// <ul>
  311. /// <li>@c kFIRParameterAchievementID (NSString)</li>
  312. /// </ul>
  313. static NSString *const kFIREventUnlockAchievement NS_SWIFT_NAME(AnalyticsEventUnlockAchievement) =
  314. @"unlock_achievement";
  315. /// View Item event. This event signifies that some content was shown to the user. This content may
  316. /// be a product, a webpage or just a simple image or text. Use the appropriate parameters to
  317. /// contextualize the event. Use this event to discover the most popular items viewed in your app.
  318. /// Note: If you supply the @c kFIRParameterValue parameter, you must also supply the
  319. /// @c kFIRParameterCurrency parameter so that revenue metrics can be computed accurately.
  320. /// Params:
  321. ///
  322. /// <ul>
  323. /// <li>@c kFIRParameterItemID (NSString)</li>
  324. /// <li>@c kFIRParameterItemName (NSString)</li>
  325. /// <li>@c kFIRParameterItemCategory (NSString)</li>
  326. /// <li>@c kFIRParameterItemLocationID (NSString) (optional)</li>
  327. /// <li>@c kFIRParameterPrice (double as NSNumber) (optional)</li>
  328. /// <li>@c kFIRParameterQuantity (signed 64-bit integer as NSNumber) (optional)</li>
  329. /// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
  330. /// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
  331. /// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
  332. /// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
  333. /// <li>@c kFIRParameterFlightNumber (NSString) (optional) for travel bookings</li>
  334. /// <li>@c kFIRParameterNumberOfPassengers (signed 64-bit integer as NSNumber) (optional)
  335. /// for travel bookings</li>
  336. /// <li>@c kFIRParameterNumberOfNights (signed 64-bit integer as NSNumber) (optional) for
  337. /// travel bookings</li>
  338. /// <li>@c kFIRParameterNumberOfRooms (signed 64-bit integer as NSNumber) (optional) for
  339. /// travel bookings</li>
  340. /// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
  341. /// <li>@c kFIRParameterDestination (NSString) (optional)</li>
  342. /// <li>@c kFIRParameterSearchTerm (NSString) (optional) for travel bookings</li>
  343. /// <li>@c kFIRParameterTravelClass (NSString) (optional) for travel bookings</li>
  344. /// </ul>
  345. static NSString *const kFIREventViewItem NS_SWIFT_NAME(AnalyticsEventViewItem) = @"view_item";
  346. /// View Item List event. Log this event when the user has been presented with a list of items of a
  347. /// certain category. Params:
  348. ///
  349. /// <ul>
  350. /// <li>@c kFIRParameterItemCategory (NSString)</li>
  351. /// </ul>
  352. static NSString *const kFIREventViewItemList NS_SWIFT_NAME(AnalyticsEventViewItemList) =
  353. @"view_item_list";
  354. /// View Search Results event. Log this event when the user has been presented with the results of a
  355. /// search. Params:
  356. ///
  357. /// <ul>
  358. /// <li>@c kFIRParameterSearchTerm (NSString)</li>
  359. /// </ul>
  360. static NSString *const kFIREventViewSearchResults NS_SWIFT_NAME(AnalyticsEventViewSearchResults) =
  361. @"view_search_results";
  362. /// Level Start event. Log this event when the user starts a new level. Params:
  363. ///
  364. /// <ul>
  365. /// <li>@c kFIRParameterLevelName (NSString)</li>
  366. /// </ul>
  367. static NSString *const kFIREventLevelStart NS_SWIFT_NAME(AnalyticsEventLevelStart) =
  368. @"level_start";
  369. /// Level End event. Log this event when the user finishes a level. Params:
  370. ///
  371. /// <ul>
  372. /// <li>@c kFIRParameterLevelName (NSString)</li>
  373. /// <li>@c kFIRParameterSuccess (NSString)</li>
  374. /// </ul>
  375. static NSString *const kFIREventLevelEnd NS_SWIFT_NAME(AnalyticsEventLevelEnd) = @"level_end";