Parameters

Complete parameter reference for Allez links.

All parameters are passed as URL query strings to https://www.stay22.com/allez/{provider}.

Required

ParameterTypeRequiredDefaultDescription
aidstringYesYour Stay22 affiliate ID. Signup for free here.

Without an AID, there is no way for us to attribute a booking to you.

Location

Allez needs to know where you're linking to — anywhere on Earth. Provide a street address, coordinates, a hotel name, or a combination of these.

ParameterTypeRequiredDefaultDescription
addressstringNoDestination address or place name. City + country is fine, but more specific is better (e.g., Bell Centre Montreal Canada).
latnumberNoLatitude of the destination. Use with lng. Preferred over address for accuracy.
lngnumberNoLongitude of the destination. Use with lat.
linkstringNoURL-encoded direct OTA link. If you provide this, you can skip the other location params. Must be URL-encoded via encodeURIComponent().
hotelnamestringNoHotel name for fuzzy matching. See if you can combine with address for best results. Less reliable for chain hotels like Four Seasons — prefer address or coordinates.

Tip

If you have both address and lat/lng, coordinates take priority. The address is used as a fallback and for display context.

Dates & Guests

ParameterTypeRequiredDefaultDescription
checkinstringNoCheck-in date in YYYY-MM-DD format.
checkoutstringNoCheck-out date in YYYY-MM-DD format.
adultsnumberNoNumber of adult guests.
childrennumberNoNumber of children.

Tracking

ParameterTypeRequiredDefaultDescription
campaignstringNoCampaign ID for tracking. Strongly recommended. Use it to distinguish clicks by source, page, or promotion. Can be repeated for multiple labels like so: &campaign=blog&campaign=summer_2026.

Important

If you're using separators, please use _ instead of -

For example: campaign=foo_bar results in one string as "foo_bar"

If you use campaign=foo-bar, your reporting will have campaign strings "foo" and "bar"

Localization

ParameterTypeRequiredDefaultDescription
langstringNoLanguage/locale hint for the landing page (e.g. en, fr).
currencystringNoPreferred display currency (ISO 4217, e.g. USD).

Provider & Routing

ParameterTypeRequiredDefaultDescription
roambooleanNoExplicitly force or disable wildcard (AI) routing. Normally determined by the endpoint - /allez/roam enables it by default.
providerstringNoOverride the AI-selected provider in roam mode. Useful for testing. Only applies when using /allez/roam.

See Roam for how roam selects a provider.

See also

On this page