Search

When a user completes a search in your app, you will want to collect the keywords they used. We recommend passing in the top 5 search results as event items as well as the options to set the check in, check out and guest count, for travel / entertainment apps.

  • User ID (recommended)
  • Facebook User ID (recommended if authentication with Facebook)
  • Twitter User ID (recommended if authentication with Twitter)
  • Google User ID (recommended if authentication with Google)
  • Latitude (optional)
  • Longitude (optional)
  • Altitude (optional)
  • Currency Code (optional)
  • Search term, search keywords, query set with SearchString (optional; formatted as a string)
  • Time of Check In set with Date1 (recommended; recommend date time format of yyyy-mm-dd hh:mm:ss)
  • Time of Check Out set with Date2 (recommended; recommend date time format of yyyy-mm-dd hh:mm:ss)
  • Count of Guests set with Quantity (recommended)
  • Top 5 Search Results (recommended; create an array of event items, one for each search result in the top 5 and pass into measureEvent)
    • If this search is for a product, event item should also include:
      • Name – name of the item
      • Product ID – SKU
      • Unit Price – individual price of one unit
      • Quantity – number of items purchased
      • Revenue – total value of the purchase
Search
Select a preferred platform.

Note: In-App Marketing does not support events or event item data for Search. Please see Event Measurement and the Event Tags documentation for more information.

No Comments

Leave a reply