App Events

App Events Best Practices for Hotel Travel App

Updated: Jun 30, 2026
This guide is intended to be used as a starting point for your app and should be customized. The example app provides a screen by screen breakdown of the different events and parameters that can be collected. At the end of it, there is a table that lists the recommended events and parameters for your app.

Hotel App Objectives

  • Understand conversion flow through app
  • Retarget users that have abandoned their cart
  • Find new users through lookalikes of high value users

Example Hotel App

ActivatedApp Event

Hotel Finder app home screen with destination search box, mapping to the App Launch event
ActivatedApp Event Code Example:
/**
 * For more details, please take a look at:
 * developers.facebook.com/docs/reference/ios/current/class/FBSDKAppEvents
 */
- (void)applicationDidBecomeActive:(UIApplication *)application {
    [FBSDKAppEvents activateApp];
}

Searched Event

Hotel search results screen with callouts for Search String, check-in and check-out dates, and number of rooms parameters
Searched Event Code Example:
/**
 * For more details, please take a look at:
 * developers.facebook.com/docs/reference/ios/current/class/FBSDKAppEvents
 */
 - (void)logSearchedEvent :(NSString*)contentType
    searchString :(NSString*)searchString
    success :(BOOL)success {

NSDictionary *params =
    [[NSDictionary alloc] initWithObjectsAndKeys:
        contentType, FBSDKAppEventParameterNameContentType,
        searchString, FBSDKAppEventParameterNameSearchString,
        [NSNumber numberWithInt:success ? 1 : 0], FBSDKAppEventParameterNameSuccess,
        nil];

    [FBSDKAppEvents logEvent: FBSDKAppEventNameSearched
        parameters: params];
}

ViewedContent Event

Hotel detail screen with callouts for Content ID, location, dates, currency, and value parameters of the ViewedContent event
ViewedContent Event Code Example:
/**
 * For more details, please take a look at:
 * developers.facebook.com/docs/reference/ios/current/class/FBSDKAppEvents
 */
 - (void)logViewedContentEvent :(NSString*)contentType
    contentId :(NSString*)contentId
    currency :(NSString*)currency
    valToSum :(double)price {

NSDictionary *params =
    [[NSDictionary alloc] initWithObjectsAndKeys:
        contentType, FBSDKAppEventParameterNameContentType,
        contentId, FBSDKAppEventParameterNameContentID,
        currency, FBSDKAppEventParameterNameCurrency,
        nil];

    [FBSDKAppEvents logEvent: FBSDKAppEventNameViewedContent
        valueToSum: price
        parameters: params];
}

InitiatedCheckout Event

Book and Review checkout screen with numbered callouts for the InitiatedCheckout event parameters such as currency, value, and dates
InitiatedCheckout Event Code Example:
/**
 * For more details, please take a look at:
 * developers.facebook.com/docs/reference/ios/current/class/FBSDKAppEvents
 */
 - (void)logInitiatedCheckoutEvent :(NSString*)contentId
    contentType :(NSString*)contentType
    numItems :(int)numItems
    paymentInfoAvailable :(BOOL)paymentInfoAvailable
    currency :(NSString*)currency
    valToSum :(double)totalPrice {

NSDictionary *params =
    [[NSDictionary alloc] initWithObjectsAndKeys:
        contentId, FBSDKAppEventParameterNameContentID,
        contentType, FBSDKAppEventParameterNameContentType,
        [NSNumber numberWithInt:numItems], FBSDKAppEventParameterNameNumItems,
        [NSNumber numberWithInt:paymentInfoAvailable ? 1 : 0], FBSDKAppEventParameterNamePaymentInfoAvailable,
        currency, FBSDKAppEventParameterNameCurrency,
        nil];

    [FBSDKAppEvents logEvent: FBSDKAppEventNameInitiatedCheckout
        valueToSum: totalPrice
        parameters: params];
}

AddedPaymentInfo Event

Add New Card payment form with card details and billing address fields, mapping to the AddedPaymentInfo event
AddedPaymentInfo Event Code Example:
/**
 * For more details, please take a look at:
 * developers.facebook.com/docs/reference/ios/current/class/FBSDKAppEvents
 */
 - (void)logAddedPaymentInfoEvent :(BOOL)success {

NSDictionary *params =
    [[NSDictionary alloc] initWithObjectsAndKeys:
        [NSNumber numberWithInt:success ? 1 : 0], FBSDKAppEventParameterNameSuccess,
        nil];

    [FBSDKAppEvents logEvent: FBSDKAppEventNameAddedPaymentInfo
        parameters: params];
}

Purchased Event

Reservation confirmation screen with numbered callouts for the Purchased event parameters such as currency, value, and dates
Purchased Event Code Example:
/**
 * For more details, please take a look at:
 * developers.facebook.com/docs/reference/ios/current/class/FBSDKAppEvents
 */
 - (void)logPurchasedEvent :(int)numItems
    contentType :(NSString*)contentType
    contentId :(NSString*)contentId
    currency :(NSString*)currency
    valToSum :(double)price {

NSDictionary *params =
    [[NSDictionary alloc] initWithObjectsAndKeys:
        [NSNumber numberWithInt:numItems], FBSDKAppEventParameterNameNumItems,
        contentType, FBSDKAppEventParameterNameContentType,
        contentId, FBSDKAppEventParameterNameContentID,
        currency, FBSDKAppEventParameterNameCurrency,
        nil];

    [FBSDKAppEvents logPurchase:price
          currency: currency
        parameters: params];
}
Event Name Predefined Suggested Parameters
App Install
Yes
Launched App
Yes
Searched
Yes
SearchString, Check in Date, Check out Date, Number of Rooms, Advanced Booking Window, Number of Nights
Viewed Content
Yes
SearchString, Content ID, Location, Check in Date, Check out Date, Currency, valueToSum,Number of Rooms, Advanced Booking Window, Number of Nights
Initiated Checkout
Yes
Content ID, Currency, valueToSum, Location, Check in Date, Check out Date, ,Number of Rooms, Advanced Booking Window, Number of Nights
Added Payment Info
Yes
Purchased
Yes
Content ID, Currency, valueToSum, Location, Check in Date, Check out Date, ,Number of Rooms, Advanced Booking Window, Number of Nights