Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

New GA4 Events - Google Analytics

Home Page

select_item

Event NameParametersExample ValuesNote
select_itemitem_list_id“recommended-for-you”Use slug from section API or hardcoded if not available
item_list_name“Recommended For You”Use title/name from section API (en/th) or hardcoded if not available
items[{
item_id: “997”,
item_name: “Cafe Claire”,
item_list_id: “recommended-for-you”,
item_list_name: “recommended-for-you”
}
]
For restaurant use restaurant_id/branch_id for item_id & restaurant_name for item_name

Here's a list of all the select_item events that currently exist on the Home Page.

Item list IDItem list nameUpdate
package-typePackage Type (hardcode)hardcode
top-categoriesTop Categories (section_7)section_7
promotionsPromotions (banner)hardcode
best-dining-offerBest dining offer!section_1
whats-your-budgetWhat's Your Budget (removed)removed
new-on-hungry-hub-179New on Hungry Hubsection_9
top-dragon-meals-183Top Dragon Mealssection_3
trending-restaurantsกำลังมาแรงsection_8
recommended-for-youRecommended For You (hardcode)hardcode
popular-brandsPopular Brands (section_5)section_5
all-restaurantsร้านอาหารทั้งหมดsection_13
book-againBook Again (hardcode)hardcode
top-locationTop Locationhardcode/section_4

pick_location

Event NameParametersValuesNote
pick_locationlocation_type“near-me”Fixed (hardcoded) when select location and apply. In android and iOS no need.

Restaurant Page

Event nameParametersExample ValueNote
view_image--Triggered when User views restaurant images
view_3d_image--Triggered when User views restaurant 3D images
video_start video_progress video_completevideo_current_time video_duration video_percent video_provider video_title video_url-I don’t know how to implement this in Android & IOS but here’s the ref: https://support.google.com/analytics/answer/9216061?hl=en
view_menuTriggered when User expands the menu button
view_reviewTriggered when User view review (customer/blogger review) or no need (mobile)
view_aboutTriggered when User views restaurant about
view_how_to_use-Triggered when the User views how to use in restaurant page
view_more_reviewTriggered when user clicks more review button
initiate_bookingbook_button_id“package-book-button”, ”sidebar-book-button”, ”bottom-book-button” (mobile)Use package-book-button if User clicks the book button in the package list, and sidebar-book-button if User clicks the book button in the sidebar
book_button_name“Make a Booking”, ”Book Now”, etc.The title follows the button title (en/th)

Search Page

Event nameParametersExample ValueNoteTrigger
searchsearch_term“cafe”Keyword{"search_param":{"keyword":"cafe","page_number":1,"page_size":10},"no_result_found":false,"search_total":10}Listen onSearchFinish
search_total20Total result