Skip to content

Install on a website ​

Install widgets from Settings > Website integration. That page gives you the managed production script, brand ID, and copyable snippets for each widget. The script connects your site to Elara and loads the studio name and primary color from the brand ID. Set widget appearance under Settings > Design.

Production support

Use the managed script exactly as provided. Self-hosted production widget bundles are not supported. The api-url, brand-name, and primary-color attributes are developer-only overrides and should not be added to a production embed.

Add the shared script ​

Add this once to your site's shared layout, inside <head>, so every page that uses Elara widgets has it. Settings → Website integration shows the same snippet ready to copy.

html
<style>
  :is(sauna-schedule, sauna-membership-plans, sauna-gift-card-purchase, sauna-account, sauna-location-map):not(:defined) { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; font-size: 12px; }
  sauna-schedule:not(:defined) { min-height: 240px; }
  sauna-membership-plans:not(:defined) { min-height: 240px; }
  sauna-gift-card-purchase:not(:defined) { min-height: 240px; }
  sauna-account:not(:defined) { min-height: 544px; }
  sauna-location-map:not(:defined) { min-height: 240px; }
</style>
<script async src="https://widgets.goelara.app/widgets/sauna-widgets.iife.js"></script>

Keep the async attribute. It lets your pages draw while the script downloads, so the script does not slow down any page, including pages without a widget. The style holds each widget's space until the script arrives, so the page does not jump when a widget appears. It stops applying once the widget loads, and the widget then sizes itself.

Add a widget tag ​

Place the widget where it should render:

html
<sauna-schedule
  brand-id="your-brand-id"
>
  <a href="https://goelara.app/?utm_source=widget&amp;utm_medium=powered_by" rel="nofollow">Powered by Elara</a>
</sauna-schedule>

All widget tags require brand-id. The widget loads your studio name and brand color from it, so there is nothing else to configure for a standard embed.

The link inside the tag is the "Powered by Elara" link that shows under each widget. The widget draws everything else with JavaScript, so this link is the only part of it in your page's own HTML. Visitors see it until the widget loads, and search engines that do not run JavaScript always see it. When the widget loads, its own link replaces this one, so it never shows twice.

If you turn off Show "Powered by Elara" under Settings > Design, the widget stops showing its link straight away. Remove the link from inside your widget tags too, or search engines that do not run JavaScript keep seeing it. Website integration leaves it out of the snippets while the setting is off.

Configure domains ​

Add every website domain that hosts widgets, plus the Customer account URL, in Website integration. One list covers all of it: magic-link sign-in, checkout returns, invite links, and account redirects.

Common page layout ​

  • /schedule: <sauna-schedule>
  • /memberships: <sauna-membership-plans>
  • /gift-cards: <sauna-gift-card-purchase>
  • /account: <sauna-account>
  • /locations: <sauna-location-map>

Use normal website navigation to link these pages together.