<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=128060241156018&amp;ev=PageView&amp;noscript=1">
Skip to content
  • There are no suggestions because the search field is empty.

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:

  1. User enters a trip search
  2. Recommended: user selects an “Accommodation” toggle
  3. Your search CTA submits as usual
  4. A background tab opens with hotel options
  5. User completes their core flow
  6. 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. Always include the tab‑under parameters at the end.

https://www.stay22.com/allez/roam?aid={aid}&campaign={optional_label}&address={location}&checkin=YYYY-MM-DD&checkout=YYYY-MM-DD&source=pop&medium=undertab

 

Alternative with GPS coordinates:

https://www.stay22.com/allez/roam?aid={aid}&campaign={optional_label}&lat={latitude}&lng={longitude}&checkin=YYYY-MM-DD&checkout=YYYY-MM-DD&source=pop&medium=undertab

 


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

source=pop Required for tab‑under. Identifies passive tab behavior.

medium=undertab Required for tab‑under. Identifies this format in our analytics.

Do not add source and medium to emails, buttons, or any direct clicked links. They are only for tab‑under triggered integrations.


Example links

Address example

https://www.stay22.com/allez/roam?aid=your_aid&campaign=undertab&address=new%20york%20city%20usa&checkin=2026-03-12&checkout=2026-03-14&source=pop&medium=undertab

 

GPS example

https://www.stay22.com/allez/roam?aid=your_aid&campaign=summer_push&lat=50.717541&lng=-1.875141&source=pop&medium=undertab

 

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
  • Append source=pop&medium=undertab on all tab‑under links
  • 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

Always append both source=pop and medium=undertab so our systems can attribute and optimize correctly for this integration.


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

  1. Contact your PSA
  2. Or use the chat bubble on the Stay22 site