/// @file FIRParameterNames.h /// /// Predefined event parameter names. /// /// Params supply information that contextualize Events. You can associate up to 25 unique Params /// with each Event type. Some Params are suggested below for certain common Events, but you are /// not limited to these. You may supply extra Params for suggested Events or custom Params for /// Custom events. Param names can be up to 24 characters long, may only contain alphanumeric /// characters and underscores ("_"), and must start with an alphabetic character. Param values can /// be up to 36 characters long. The "firebase_" prefix is reserved and should not be used. /// Game achievement ID (NSString). ///
/// NSDictionary *params = @{
/// kFIRParameterAchievementID : @"10_matches_won",
/// // ...
/// };
///
static NSString *const kFIRParameterAchievementID = @"achievement_id";
/// Character used in game (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterCharacter : @"beat_boss",
/// // ...
/// };
///
static NSString *const kFIRParameterCharacter = @"character";
/// Type of content selected (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterContentType : @"news article",
/// // ...
/// };
///
static NSString *const kFIRParameterContentType = @"content_type";
/// Coupon code for a purchasable item (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterCoupon : @"zz123",
/// // ...
/// };
///
static NSString *const kFIRParameterCoupon = @"coupon";
/// Purchase currency in 3-letter
/// ISO_4217 format (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterCurrency : @"USD",
/// // ...
/// };
///
static NSString *const kFIRParameterCurrency = @"currency";
/// Flight or Travel destination (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterDestination : @"Mountain View, CA",
/// // ...
/// };
///
static NSString *const kFIRParameterDestination = @"destination";
/// The arrival date, check-out date or rental end date for the item. This should be in
/// YYYY-MM-DD format (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterEndDate : @"2015-09-14",
/// // ...
/// };
///
static NSString *const kFIRParameterEndDate = @"end_date";
/// Flight number for travel events (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterFlightNumber : @"ZZ800",
/// // ...
/// };
///
static NSString *const kFIRParameterFlightNumber = @"flight_number";
/// Group/clan/guild ID (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterGroupID : @"g1",
/// // ...
/// };
///
static NSString *const kFIRParameterGroupID = @"group_id";
/// Item category (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterItemCategory : @"t-shirts",
/// // ...
/// };
///
static NSString *const kFIRParameterItemCategory = @"item_category";
/// Item ID (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterItemID : @"p7654",
/// // ...
/// };
///
static NSString *const kFIRParameterItemID = @"item_id";
/// The Google Place ID (NSString) that
/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID.
///
/// NSDictionary *params = @{
/// kFIRParameterItemLocationID : @"ChIJiyj437sx3YAR9kUWC8QkLzQ",
/// // ...
/// };
///
static NSString *const kFIRParameterItemLocationID = @"item_location_id";
/// Item name (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterItemName : @"abc",
/// // ...
/// };
///
static NSString *const kFIRParameterItemName = @"item_name";
/// Level in game (signed 64-bit integer as NSNumber).
///
/// NSDictionary *params = @{
/// kFIRParameterLevel : @(42),
/// // ...
/// };
///
static NSString *const kFIRParameterLevel = @"level";
/// Location (NSString). The Google Place ID
/// that corresponds to the associated event. Alternatively, you can supply your own custom
/// Location ID.
///
/// NSDictionary *params = @{
/// kFIRParameterLocation : @"ChIJiyj437sx3YAR9kUWC8QkLzQ",
/// // ...
/// };
///
static NSString *const kFIRParameterLocation = @"location";
/// Number of nights staying at hotel (signed 64-bit integer as NSNumber).
///
/// NSDictionary *params = @{
/// kFIRParameterNumberOfNights : @(3),
/// // ...
/// };
///
static NSString *const kFIRParameterNumberOfNights = @"number_of_nights";
/// Number of passengers traveling (signed 64-bit integer as NSNumber).
///
/// NSDictionary *params = @{
/// kFIRParameterNumberOfPassengers : @(11),
/// // ...
/// };
///
static NSString *const kFIRParameterNumberOfPassengers = @"number_of_passengers";
/// Number of rooms for travel events (signed 64-bit integer as NSNumber).
///
/// NSDictionary *params = @{
/// kFIRParameterNumberOfRooms : @(2),
/// // ...
/// };
///
static NSString *const kFIRParameterNumberOfRooms = @"number_of_rooms";
/// Flight or Travel origin (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterOrigin : @"Mountain View, CA",
/// // ...
/// };
///
static NSString *const kFIRParameterOrigin = @"origin";
/// Purchase price (double as NSNumber).
///
/// NSDictionary *params = @{
/// kFIRParameterPrice : @(1.0),
/// kFIRParameterCurrency : @"USD", // e.g. $1.00 USD
/// // ...
/// };
///
static NSString *const kFIRParameterPrice = @"price";
/// Purchase quantity (signed 64-bit integer as NSNumber).
///
/// NSDictionary *params = @{
/// kFIRParameterQuantity : @(1),
/// // ...
/// };
///
static NSString *const kFIRParameterQuantity = @"quantity";
/// Score in game (signed 64-bit integer as NSNumber).
///
/// NSDictionary *params = @{
/// kFIRParameterScore : @(4200),
/// // ...
/// };
///
static NSString *const kFIRParameterScore = @"score";
/// The search string/keywords used (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterSearchTerm : @"periodic table",
/// // ...
/// };
///
static NSString *const kFIRParameterSearchTerm = @"search_term";
/// Shipping cost (double as NSNumber).
///
/// NSDictionary *params = @{
/// kFIRParameterShipping : @(9.50),
/// kFIRParameterCurrency : @"USD", // e.g. $9.50 USD
/// // ...
/// };
///
static NSString *const kFIRParameterShipping = @"shipping";
/// Sign up method (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterSignUpMethod : @"google",
/// // ...
/// };
///
static NSString *const kFIRParameterSignUpMethod = @"sign_up_method";
/// The departure date, check-in date or rental start date for the item. This should be in
/// YYYY-MM-DD format (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterStartDate : @"2015-09-14",
/// // ...
/// };
///
static NSString *const kFIRParameterStartDate = @"start_date";
/// Tax amount (double as NSNumber).
///
/// NSDictionary *params = @{
/// kFIRParameterTax : @(1.0),
/// kFIRParameterCurrency : @"USD", // e.g. $1.00 USD
/// // ...
/// };
///
static NSString *const kFIRParameterTax = @"tax";
/// A single ID for a ecommerce group transaction (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterTransactionID : @"ab7236dd9823",
/// // ...
/// };
///
static NSString *const kFIRParameterTransactionID = @"transaction_id";
/// Travel class (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterTravelClass : @"business",
/// // ...
/// };
///
static NSString *const kFIRParameterTravelClass = @"travel_class";
/// A context-specific numeric value which is accumulated automatically for each event type. This is
/// a general purpose parameter that is useful for accumulating a key metric that pertains to an
/// event. Examples include revenue, distance, time and points. Value should be specified as signed
/// 64-bit integer or double as NSNumber. Notes: Currency-related values should be supplied using
/// double as NSNumber and must be accompanied by a {@link kFIRParameterCurrency} parameter. The
/// valid range of accumulated values is [-9,223,372,036,854.77, 9,223,372,036,854.77].
///
/// NSDictionary *params = @{
/// kFIRParameterValue : @(3.99),
/// kFIRParameterCurrency : @"USD", // e.g. $3.99 USD
/// // ...
/// };
///
static NSString *const kFIRParameterValue = @"value";
/// Name of virtual currency type (NSString).
///
/// NSDictionary *params = @{
/// kFIRParameterVirtualCurrencyName : @"virtual_currency_name",
/// // ...
/// };
///
static NSString *const kFIRParameterVirtualCurrencyName = @"virtual_currency_name";