Open Source Hotels从170万家酒店中赚取5%佣金

30秒内获取你的嵌入代码

选择你的收款方式。立即获得密钥和可粘贴的代码片段。

在你社群所在的任何地方嵌入 — 36种现成集成

无论你的受众在哪里:网页、即时通讯、社交、工作、销售点、语音、AI助手。任选其一或全部。

实时查看每个渠道并下载代码片段 → swarm.impt.io/tools

HomeSelf-hosted hotel widget — zero third-party JS on your domain

Self-hosted hotel widget — zero third-party JS on your domain

Bundle the widget into your build pipeline. Zero third-party script tag on your domain. Full control of CSP, perf budget, design tokens. The API call still hits us — the front-end stays on your CDN.

这是什么

Open Source Hotels 是首个开源酒店联盟计划:5% 佣金、90天 Cookie、MIT 协议小部件,每次预订抵消1吨二氧化碳。

Why self-host?

How to install

# npm
npm install @impt/oss-hotels-widget

# yarn
yarn add @impt/oss-hotels-widget

# Then in your bundle:
import { mountHotelsWidget } from '@impt/oss-hotels-widget';
mountHotelsWidget(document.getElementById('hotels'), { partnerKey: '...' });

What still calls home

The bundled widget still makes API calls to swarm.impt.io/api/widget/* for inventory and attribution. That endpoint accepts CORS from any origin so your domain is fine — but it is the only network dependency.

SRI & CSP

For organisations that audit JS supply chain: every npm release is signed with a Sigstore-style attestation. SHA-256 hashes published on the GitHub release page so you can pin SRI in CI.

常见问题

Can I run the widget fully offline?

No — you need the API for live inventory and attribution. But you control the front-end JS completely.

Does this affect my commission rate?

No — same 5%. Self-hosting is a deployment choice, not a tier.

费用是多少?

0元设置费,0元月费。每笔确认的预订我们付你5%。

Cookie有效期多长?

90天。今天点击,89天后预订——你仍然获得佣金。

佣金如何支付?

每月一次。Stripe、Wise、银行转账、PayPal、IMPT卡或IMPT代币。最低50欧元。

我的关注者会多付钱吗?

不会——价格与Booking.com相同。每次预订还会抵消1吨联合国认证的二氧化碳。

库存有多大?

通过IMPT.io酒店API,在195个国家提供170万家酒店。

小部件真的是开源的吗?

是的——GitHub上的MIT协议。可以分叉、自托管、调用我们的API。

我能看到实时统计吗?

可以——合作伙伴仪表板在swarm.impt.io/partners/dashboard。

有什么陷阱吗?

没有陷阱。我们与你分享5个百分点的酒店佣金,并销毁1吨二氧化碳。

工作原理 — 3步

1

1

swarm.impt.io · sign up · 2 min

2

2

paste embed

3

3

5% · 90 days · monthly payout