Stay22

Connect Stay22's accommodation booking map to Webflow sites with iframe embeds or custom API integration.

Install app
View website
View lesson
A record settings
CNAME record settings
Stay22

How to integrate Stay22 with Webflow

Stay22 integrates with Webflow through iframe embeds and custom code. This works for travel publishers monetizing content, event organizers providing accommodation options, and hospitality businesses showcasing properties. If you need to sync data between the two platforms, you can build using Webflow’s and Stay22’s APIs.

Embed the Stay22 MAP widget

Webflow's Code Embed element adds Stay22's MAP widget to any page. The widget displays an interactive map with accommodation pins that readers can click to view details and book stays. It works for travel content sites, event pages, and destination marketing.

Add an Embed element to your site, either globally in site settings or per-page in individual page settings.

  • For global implementation across your site, add the embed code through Site SettingsCustom CodeHead or Footer sections.
  • For page-specific placement, use Page SettingsCustom Code or drag a Code Embed element directly onto your canvas in the Webflow.

Then paste the iframe code into the element. Here’s what that code looks like in 2025:

<iframe src="https://www.stay22.com/embed/gm?aid=YOUR_AID&lat=40.742612&lng=-73.987777&date=2024-01-15,2024-01-17"
width="100%"
height="460"
frameborder="0">
</iframe>

Customization options:

  • Location targeting with lat/lng parameters for coordinate-based placement
  • Date configuration through the date parameter for pre-filled check-in and check-out dates
  • Brand customization using maincolor and markerimage parameters to match your site design
  • Display modes with the viewmode parameter to switch between map, list, or hybrid views
  • UI controls through hidefilters, hideguestpicker, and hideratings parameters to simplify the interface
  • Localization with ljs and currency parameters for international audiences

The widget loads asynchronously to avoid impacting page load times. Webflow's Code Embed element supports reusable components, so you can create one configured embed and reuse it across multiple pages with consistent settings.

Build with Webflow and Stay22 APIs

Stay22 uses a token-based data access system rather than traditional REST endpoints. According to Stay22's integration guide, you generate API tokens through the Stay22 Hub dashboard in the Data Reporting API section. The Hub dashboard URL is provided after account registration.

Note: This approach requires middleware to bridge Stay22's data access with the Webflow CMS. Webflow provides REST API endpoints for managing sites, CMS collections, and forms. It also requires server infrastructure to handle token management and API requests.

Authentication requirements:

  • Stay22 tokens generate through the Hub dashboard and display only once upon creation
  • Webflow uses OAuth 2.0 authentication with Bearer tokens
  • Both platforms require secure token storage and management

Sync booking data to Webflow CMS

Use the Webflow CMS API to store accommodation data or booking information in your site's content collections. This works for displaying availability, managing property listings, or tracking affiliate performance.

Key Webflow API endpoints:

  • GET /collections retrieves available CMS collections
  • POST /collections/{collection_id}/items creates new CMS items for accommodations or bookings
  • PUT /collections/{collection_id}/items/{item_id} updates existing collection items
  • GET /collections/{collection_id}/items retrieves collection items with filtering capabilities

Build a middleware service that authenticates with Stay22 using dashboard-generated tokens, retrieves data, then uses Webflow's CMS endpoints to create or update content. This enables automated content updates without manual CMS management.

Consider rate limits and implement proper error handling for both platforms' APIs. Test the integration in a development environment before production deployment.

What you can build

Integrating Stay22 with Webflow adds accommodation booking functionality directly within your content pages, event listings, and destination guides while generating affiliate revenue streams.

  • Travel content monetization: Embed location-specific accommodation maps within CMS-driven destination guides, letting readers book stays without leaving your site while you earn commissions on completed bookings.
  • Event accommodation pages: Add interactive maps showing available lodging near event venues on conference or festival websites, helping attendees find and book accommodations through your registration flow.
  • Multi-property showcase: Display real-time availability across multiple properties or destinations within a single interface, ideal for vacation rental operators or destination marketing organizations managing multiple listings.
  • Automated affiliate content: Use Webflow CMS collections to manage destination pages that automatically display relevant accommodation options based on location data, creating scalable affiliate revenue without manual updates.

Frequently asked questions

  • Yes, Stay22 provides URL parameters for brand customization. The maincolor parameter accepts hex color codes to match your site's color scheme, while markerimage allows custom map pin icons. You can also control the display mode with viewmode (map, listview, or hybrid), hide UI elements with hidefilters or hideguestpicker parameters, and set currency and language preferences.

    All customization happens through the iframe URL without requiring additional CSS or JavaScript. Refer to Stay22's MAP documentation for complete parameter details.

  • The Stay22 iframe loads asynchronously and implements lazy loading to minimize page load impact. According to Webflow's custom code documentation, iframe embeds run in isolated browser contexts with built-in sandboxing for security.

    For optimal performance, place the Code Embed element where you want the map to appear rather than loading it globally on all pages. Webflow's hosting infrastructure handles the embed delivery through its global CDN.

  • Stay22 provides conversion tracking through the Hub dashboard's Data Reporting section. According to Stay22's integration guide, you can generate API tokens to access booking data and revenue reports.

    The platform tracks clicks, booking completions, and affiliate commissions automatically when users interact with your embedded widgets. For advanced tracking, integrate the data with Webflow form submissions or CMS collections using custom middleware.

Stay22
Stay22
Joined in

Category

Maps

Description

Stay22 is a travel technology affiliate platform that provides embeddable accommodation maps with 35+ million listings across 220+ countries. The platform aggregates inventory from multiple booking sites including Booking.com, Expedia, and Agoda, and operates on a commission-based revenue model starting at approximately 30%. Publishers and event organizers use Stay22 to add booking capabilities to their sites through iframe embeds or JavaScript snippets.

Install app

This integration page is provided for informational and convenience purposes only.


Other Maps integrations

Other Maps integrations

OpenStreetMap

OpenStreetMap

Connect OpenStreetMap's collaborative mapping platform to your Webflow site for cost-effective, customizable maps. Display store locations, visualize service areas, and create interactive location-based experiences without Google Maps fees or restrictions.

Maps
Learn more
Google Maps

Google Maps

Connect Google Maps to Webflow to display interactive maps, store locations, and location-based content on your website. Add everything from simple embedded maps to complex multi-location directories with custom markers and real-time data.

Maps
Learn more
Elfsight Google Maps widget

Elfsight Google Maps widget

Add Google Maps \ Store Locator to Webflow.

Maps
Learn more

Related integrations

No items found.

Get started for free

Get started for free

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.

Get started — it’s free