Several embeds, one script

Lokl: https://lokl-web.basharatusman-a.workers.dev · organization lokl-test-account

Each box above shows what Settings › Embed copies for that embed. This page includes the loader once at the bottom, as an operator with several embeds would: <script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>.

Expected on this host (an allowed website)

Every embed on the page mounts independently: two cards, the Vancouver list, an outline button (opens in a new tab, frame titled "Book a Test Kitchen dinner"), a round dark-theme gift button (only while gift sales are on; empty on dev when tested), and one floating pill at the bottom right, 80 px up.

If you see the plain "Book now" link instead, embed-lab.allegco.com is not on the organization's allowed websites yet: that is the blocked result, and a mismatch for this host.

Expected on this host (not an allowed website)

Lokl refuses to show its booking embeds on this website, so there is no booking panel, no empty box and no error frame. Where each embed would be, you see:

The outline button's link opens in a new tab; the others in the same tab.

Lokl also makes a blocked-website record: the owner sees "A browser reported that embed-blocked.allegco.com tried to show your embed…" in Settings › Embed, with an Add it button. It is saved at most once an hour per website, so reloading does not add entries.

1. Up next (limit 2)

<div data-lokl-book="lokl-test-account" data-view="upcoming" data-target="_top" data-limit="2"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed:

2. List at Vancouver

<div data-lokl-book="lokl-test-account" data-view="list" data-target="_top" data-location="vancouver"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed:

3. Outline button, new tab, with a title

<div data-lokl-book="lokl-test-account" data-view="button" data-target="_blank" data-product="dinner-shared" data-location="toronto" data-style="outline" data-title="Book a Test Kitchen dinner"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed:

4. Dark round gift button

<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-style="gift" data-theme="dark" data-corners="round"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed:

5. Floating button (offset 80)

<div data-lokl-book="lokl-test-account" data-view="button" data-target="_top" data-position="floating" data-offset="80"></div>
<script src="https://lokl-web.basharatusman-a.workers.dev/widget.js" async></script>

Live embed:

Scroll area: the floating button should stay in the window corner while this page scrolls.