RECOMMENDEDRecommended events

search

Google docs

Log this event when a user performs a search. search_term is the core parameter. Travel and hospitality implementations can also send destination, origin, dates, passenger/room/night counts, and travel_class to add context.

Parameters · 9

ParameterDescriptionTypeRequiredExample
search_term

The term that was searched for.

string

Yes

t-shirts

destination

Travel destination.

string

No

Madrid

origin

Travel origin.

string

No

A Coruña

start_date

Departure, check-in, or rental start date in YYYY-MM-DD format.

string

No

2026-08-20

end_date

Arrival, check-out, or rental end date in YYYY-MM-DD format.

string

No

2026-08-24

number_of_passengers

Number of passengers for a travel booking.

number

No

2

number_of_nights

Number of nights for a hotel booking.

number

No

4

number_of_rooms

Number of rooms for a hotel booking.

number

No

1

travel_class

Travel class.

string

No

business