> ## Documentation Index
> Fetch the complete documentation index at: https://docs.book2befit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add to website

> Show your schedule and your prices on your own website, and send visitors straight to booking.

Already have a website? Put your Book2befit schedule and prices on it, so visitors see what's on and can book without looking for your booking page.

Everything is on one page: **Add to website** in the sidebar. It's included on every plan. Owners and admins can use it; coaches don't see it.

## The widgets

| Widget | What visitors see | When they click |
| - | - | - |
| **Schedule** | Your upcoming sessions, with a calendar and filters for activity, coach and level | **Book** opens checkout for that session on your booking page, in a new tab |
| **Prices and passes** | Your memberships and passes with their prices | **Get started** opens the plans page of your booking page in a new tab, where clients sign in and buy |

Booking, paying and signing in always happen on your Book2befit booking page, never inside your website. That keeps logins and payments safe, and it works the same on every website builder.

## Add a widget

1. Go to **Add to website** in the sidebar.
2. Choose **Schedule** or **Prices and passes**.
3. Pick the options: the location, the language, and for the schedule an activity or a coach.
4. Check the live preview on the right.
5. Copy the code and paste it into your website where the widget should appear.

The options are part of the code, so you can add the same widget more than once, for example one schedule per location.

### Script or iframe

* **Script (recommended):** the widget sizes itself to its content, so visitors never get a scrollbar inside it.
* **Iframe:** a fixed height. Use it when your website builder doesn't run scripts in pasted code.

### Where to paste it

| Website builder | Where the code goes |
| - | - |
| WordPress | Add a **Custom HTML** block and paste the script code. If WordPress removes the code when you save, your account isn't allowed to add scripts; use the iframe code instead. |
| Wix | Add **Embed code → Embed HTML**, choose **Code** and paste the iframe code. Wix shows pasted code in its own frame, so the iframe version works best. |
| Squarespace | Add a **Code** block and paste the script code. |
| Webflow | Add an **Embed** element and paste the script code. |
| Other websites | Paste the script code into the page's HTML where the widget should appear. If scripts aren't allowed, use the iframe code. |

## Booking link

Already have a **Book now** button on your website? Point it at your booking link instead of adding a widget:

```
https://[your-slug].book2befit.com/?ref=website
```

Copy it from **Add to website**. Bookings that come in through this link are counted as **Booking link**.

## See where bookings come from

Every booking made online records where it started: **Website widget**, **Booking link** or **Booking page**.

* In **Bookings**, the booking detail shows **Booked via**.
* [Reporting](https://docs.book2befit.com/core-features/reporting.md) shows **Bookings by source** on the Sessions tab and **Purchases by source** on the Products tab. Bookings and purchases added by your team, and those from before sources were tracked, count as **Other**.

## "Powered by Book2befit"

Each widget ends with a small "Powered by Book2befit" line. On Enterprise you can hide it with the **Hide "Powered by Book2befit"** switch on the same page. If your plan changes from Enterprise to another plan, the line comes back automatically.

## Switch widgets on or off

On the **Add to website** page, the card **Widgets on your website** has the switch **Show my schedule and prices in widgets**. It turns on automatically the first time you open the page. While it is on, your schedule and prices show in widgets and clients can book through them, also when your Book2befit booking page is switched off.

When the switch is off, or your plan has no widgets, the widgets show "This widget isn't available right now."

## Before you go live

The page warns you when a widget would look empty to visitors, with a link to fix it:

* your widgets are switched off and none of your locations is public (**Locations**)
* the chosen location isn't public (**Locations**)
* there are no public sessions in the next 30 days (**Sessions**)
* there are no plans or passes on sale (**Products**)

Widgets don't depend on a public booking page. They have their own switch (see above), so the warning about no public location only appears when that switch is off and none of your locations is public.

## Privacy

* The widgets show only what your public booking page already shows.
* They don't load analytics or advertising trackers, and they don't add a cookie banner to your website.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.