Skip to Content

Plain HTML

Two lines on any page. No build step, no framework, no key.

Paste this where the RSVP form should appear:

<script async src="https://cdn.whocoming.com/embed.js"></script>
<whocoming-rsvp event="evt_demo0000000000000001"></whocoming-rsvp>

Replace evt_demo0000000000000001 with your event's ID, from the dashboard or from GET /v1/events.

Where to paste it

  • The script tag goes once per page. Put it in <head> or anywhere before the closing </body>. async means it never blocks your page from rendering.
  • The element goes where the card should appear. It fills the width of its container, between 280 and 480 pixels wide, so put it in a column or a card.

Several events on one page? Load the script once and add one element per event:

<script async src="https://cdn.whocoming.com/embed.js"></script>

<whocoming-rsvp event="evt_demo0000000000000001"></whocoming-rsvp>
<whocoming-rsvp event="evt_gottagachacomm000001" compact></whocoming-rsvp>

Match your site

<whocoming-rsvp
  event="evt_demo0000000000000001"
  theme="dark"
  accent="#ffc83d"
></whocoming-rsvp>

<style>
  whocoming-rsvp {
    --wc-radius: 4px;
    --wc-font: inherit;
  }
</style>

See attributes and theming for the full list.

Know when someone RSVPs

The element fires DOM events you can listen to, for analytics or a thank-you message:

<script>
  document.addEventListener("whocoming:rsvp", (event) => {
    console.log("New RSVP", event.detail.rsvp_id, event.detail.status);
  });
</script>

See DOM events.

If scripts are blocked

Some site builders do not allow script tags. Use the iframe instead.

On this page