Search Bar Monetization (Tab-Under) Integration
A quick integration guide for partners that want to monetize search traffic using Stay22 Allez links triggered from a search bar.
What is the tab‑under search flow
In a tab‑under setup, a Stay22 link opens in a background tab when a user performs a search on your site. The URL itself is standard. Your code handles opening it in a background tab.
Typical flow:
- User enters a trip search
- Recommended: user selects an “Accommodation” toggle
- Your search CTA submits as usual
- A background tab opens with hotel options
- User completes their core flow
- Later, they view the accommodation tab and can book a stay
Example: Traveling.com
Link format for Search Bar monetization
Use this Search Results Page (SRP) format.
https://www.stay22.com/allez/searchbar?aid={aid}&campaign={optional_label}&address={location}&checkin=YYYY-MM-DD&checkout=YYYY-MM-DD
Alternative with GPS coordinates:
https://www.stay22.com/allez/searchbar?aid={aid}&campaign={optional_label}&lat={latitude}&lng={longitude}&checkin=YYYY-MM-DD&checkout=YYYY-MM-DD
Parameters and rules
aid Your affiliate ID. It must be present on every link.
campaign Use to segment and track performance. Add one or more values. Multiple campaigns are added by repeating the parameter:
&campaign=label_1&campaign=label_2&campaign=label_3
address Destination text such as venue, city, and country. Provide as much detail as possible if lat/lng is not used.
lat and lng Preferred for precise location searches. Use instead of address when available.
checkin and checkout Not required but recommended. Use ISO format:
checkin=YYYY-MM-DD&checkout=YYYY-MM-DD
The URL referenced in this document is only for tab-under triggered integrations. Do not use this URL format in emails, buttons, or any direct clickable links.
Example links
Address example
https://www.stay22.com/allez/searchbar?aid=your_aid&campaign=undertab&address=new%20york%20city%20usa&checkin=2026-03-12&checkout=2026-03-14
GPS example
https://www.stay22.com/allez/searchbar?aid=your_aid&campaign=summer_push&lat=50.717541&lng=-1.875141
Implementation checklist for partners
- Decide if you want a visible toggle to let users enable accommodation suggestions
- Pass location and dates from your search UI to the Allez URL
- Trigger the Allez URL on search in a background tab
- Always include at least one campaign value
Nice to have
- Use lat/lng when available
- Use meaningful campaign names that help you analyze results later
Tracking
Campaign IDs are critical for performance visibility. Use this parameter to track each of your links’ performance (clicks, bookings origin), we strongly recommend adding at least one campaign ID. Add multiple campaigns like so: &campaign=label_1&campaign=label_2&campaign=label_3
Notes and best practices
- The Allez URL does not create the tab‑under behavior by itself. Your code must open it in a background tab
- This integration does not interfere with the user’s main booking flow
- If the user has an OTA app installed, the app may open instead of a browser tab
Support
Have questions or need help testing your implementation
- Contact your PSA
- Or use the chat bubble on the Stay22 site