Skip to main content
Using Website Embeds

Embed your Gymflow website pages into your own site for a seamless sign up and booking experience.

Isaac Buchanan avatar
Written by Isaac Buchanan
Updated this week

For the most seamless purchase or booking experience you can embed Gymflow into your existing website pages to show your potential customers live versions of your current memberships, packages, scheduled and more.

What Are Embeds?

Embeds are snippets of code that allow you to show information from other sites like Gymflow within a section your existing website pages.

How To Embed Your Website Pages

To embed Gymflow into your website:

  1. Navigate to Settings and to the Website Tab

  2. From the Links & Embeds section copy the relevant code you want to embed

  3. In your website builder, create an embed or custom code element and place it where you want to see it.

  4. Paste the code into the embed element

  5. Save and publish your site

Note: On most website builders embedded code will only show on the published site.

Automatically Re-Size Embedded Sections

Your embedded sections will vary drastically in heigh depending on how many memberships or classes are display, which element is being interacted with and what size the users screen is.

To have the embed dynamically adjust its size to suit the content and screen size follow these steps.

  1. From your Website builder find where you can add custom code

  2. Before the closing </body> tag of the site or page you have an embed on add the below script

<script>
window.addEventListener("message", (event) => {
const iframe = document.querySelector("iframe");
iframe.style.height = (event.data.height + 20) + 'px';
});
</script>

Did this answer your question?